Re: [U-Boot] [PATCH] disk: add -mno-unaligned-access to CFLAGS

2013-03-29 Thread Marc Dietrich
Albert, On Friday 29 March 2013 08:00:54 Albert ARIBAUD wrote: > On Thu, 28 Mar 2013 23:35 +0100, Marc Dietrich wrote: > > [ ... ] > > On Thursday 28 March 2013 21:42:13 Albert ARIBAUD wrote: > > > Which fields, which structures, which files are affected by the > > > unalignment issue? > > > > i

Re: [U-Boot] [PATCH] disk: add -mno-unaligned-access to CFLAGS

2013-03-29 Thread Albert ARIBAUD
Hi Marc, On Thu, 28 Mar 2013 23:35 +0100, Marc Dietrich wrote: > Hi Albert, > > On Thursday 28 March 2013 21:42:13 Albert ARIBAUD wrote: > > On Thu, 28 Mar 2013 19:57:31 +0100, Marc Dietrich > > wrote: > > > Many on-disk structures used in the directory are accessed in a > > > non aligned mann

Re: [U-Boot] [PATCH] disk: add -mno-unaligned-access to CFLAGS

2013-03-28 Thread Marc Dietrich
Hi Albert, On Thursday 28 March 2013 21:42:13 Albert ARIBAUD wrote: > On Thu, 28 Mar 2013 19:57:31 +0100, Marc Dietrich > wrote: > > Many on-disk structures used in the directory are accessed in a > > non aligned manner. gcc => 4.7 (and gcc-4.6 from Linaro) switched > > to -munaligned-access on d

Re: [U-Boot] [PATCH] disk: add -mno-unaligned-access to CFLAGS

2013-03-28 Thread Albert ARIBAUD
Hi Marc, On Thu, 28 Mar 2013 19:57:31 +0100, Marc Dietrich wrote: > Many on-disk structures used in the directory are accessed in a > non aligned manner. gcc => 4.7 (and gcc-4.6 from Linaro) switched > to -munaligned-access on default causing exceptions on ARM. The > easiest way to fix this is t

[U-Boot] [PATCH] disk: add -mno-unaligned-access to CFLAGS

2013-03-28 Thread Marc Dietrich
Many on-disk structures used in the directory are accessed in a non aligned manner. gcc => 4.7 (and gcc-4.6 from Linaro) switched to -munaligned-access on default causing exceptions on ARM. The easiest way to fix this is to force no-unaligned-access in this (non speed critical) directory. Signed-o