Bug#642762: xulrunner-6.0: console flooded with unaligned access messages on ia64 (IA-64/IPF/Itanium) platform

Émeric Maschino emeric.maschino at gmail.com
Tue Oct 11 22:09:58 UTC 2011


Hello Mike,

2011/10/6 Mike Hommey <mh at glandium.org>:
> That would waste a 64-bits word. The usual way to do it is to use
> unions:
> union {
>  PRUint64 dummy;
>  struct {
>    PRUint32 m0;
>    PRUint16 m1;
>    PRUint16 m2;
>  };
> };
>
> Mike

nsID 64-bit alignment issue was already tracked down:
https://bugzilla.mozilla.org/show_bug.cgi?id=660335.

>From what I understand, patch V3 performs struct alignment using GCC
or MSVC-specific keywords. Iceweasel 7.0.1-2 in current Debian
"Wheezy" Testing doesn't seem to include this patch (yet).

I'll apply it locally in order to check if other unaligned accesses
nevertheless surface.

     Émeric





More information about the pkg-mozilla-maintainers mailing list