--- Comment #3 from guenter at roeck-us dot net 2007-02-06 19:41 ---
Does that mean this is really a glibc problem ?
In glibc, the problem occurs with an atomic_increment() on an element of a
packet structure.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30717
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-02-06 19:30 ---
You cannot really take the address of an elemenent of a packed struct on non
strict alignment targets as if you deference them, it will try to do an aligned
load which then fail as the alignment is wrong.
--
pins
--- Comment #1 from guenter at roeck-us dot net 2007-02-06 19:28 ---
Turns out that compilation is fine if I compile with -mno-strict-align.
Maybe this is not a bug after all but simply changed semantics ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30717