http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45819
--- Comment #3 from Atsushi Nemoto <anemo at mba dot ocn.ne.jp> 2010-09-30 02:06:18 UTC --- (In reply to comment #1) > As a matter of clean implementation I suggest to do > > struct st { > int ptr; > } __attribute__ ((packed,aligned(__alignof__(int)))); I confirmed this fixes the problem. But fixing all packed structure in linux kernel like this would be so hard, I think.