[Buildroot] [PATCH] package/binutils: Disable -Os for Thumb-2 only platforms

Nicholas Walton nicholas.walton at gmail.com
Tue Sep 6 18:53:28 UTC 2016


Please disregard my previous message:

On Sun, Sep 4, 2016 at 10:52 AM Nicholas Walton <nicholas.walton at gmail.com>
wrote:

> I found a bug report about a similar error in a different package, and I
> saw it on a non-Thumb-2 platform (ARM9).
>

The error I was remembering was bad code generation causing a segfault
(which I saw in libfb.so). Restricting xserver_xorg-server to -O2
(5500211e201f84b6e2ce0dd5ff3013fb92628860)
fixed it. I suspect the root cause was related to *Bug 63346*
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63346> -
"xserver_xorg-server-1.15.1
crash on RaspberryPi . . . gcc-4.9", and/or* Bug 69614*
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69614> - "[4.9/5 Regression]
wrong code with -Os -fno-expensive . . . @ armv7a". Bug 69614 is fixed in
6.0 and the patch was backported to 5, but not to 4.9.

Apologies,
Nicholas Walton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160906/cbfe59a1/attachment.html>


More information about the buildroot mailing list