On Mon, Jun 7, 2010 at 23:33, Andreas Schwab <sch...@linux-m68k.org> wrote: > Richard Zidlicky <r...@linux-m68k.org> writes: > >> why does not a simple "__attribute__ ((aligned (4)))" work? > > It does, more or less. I still get unexplained deadlocks and failures > in some test cases.
Probably you know this, but it may also depend on your version of gcc. At work, we had issues with this on Cell (which needs 16-byte alignment for vectors on SPU) as well. Some versions of spu-gcc don't honor the alignment attribute for automatic variables. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To UNSUBSCRIBE, email to debian-68k-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktikkpzglpzyuatrobmfwvjhzl63rj0f05ggqy...@mail.gmail.com