[U-Boot] [PATCH] ARMv7: Build cache_v7.c with -O1 to avoid gcc6 breakage

Tom Rini trini at konsulko.com
Tue Mar 22 14:27:45 CET 2016


On Mon, Mar 21, 2016 at 05:08:34PM +0100, Hans de Goede wrote:

> It seems that building cache_v7.c with gcc6 with -O2 or -Os results in
> an unreliable u-boot (only boots the kernel some of the time), at least
> on sunxi boards. For details see:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1318788
> 
> This commit adds -O1 at the end of the CFLAGS when building
> cache_v7.c working around this.
> 
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>

I've marked this as RFC in patchwork for now (since 0/1 was RFC) and
cc'd myself on the bugzilla as well.  We'll pay it by ear for v2016.05
release and probably not include this work-around in -rc1.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160322/d651a99a/attachment.sig>


More information about the U-Boot mailing list