On Mon, Feb 15, 2016 at 08:51:34PM +0000, Christian Weisgerber wrote: > On 2016-02-15, Tobias Ulmer <tobi...@tmux.org> wrote: > > > +padding for 32bit strict alignment archs > > + > > +--- tools/build/src/engine/hash.c.orig Mon Feb 15 20:11:07 2016 > > ++++ tools/build/src/engine/hash.c Mon Feb 15 20:22:03 2016 > > +@@ -33,6 +33,7 @@ typedef struct item ITEM; > > + struct item > > + { > > + ITEM * next; > > ++ char padding[sizeof(long long)-sizeof(ITEM *)]; > > + }; > > Urgh. sparc, as a 32-bit arch, enforces 64-bit alignment for 64-bit > data types?
Yes, LDD and STD 'trap if the address is not doubleword-aligned' to quote the SPARCv8 manual. > > -- > Christian "naddy" Weisgerber na...@mips.inka.de >