[oe] GCC 4.3 fails to build glibc(-intermediate)

Matthijs van de Water matthijs.van.de.water at gmail.com
Wed May 28 09:52:23 UTC 2008


On Wed, May 28, 2008 at 9:01 AM, Khem Raj <raj.khem at gmail.com> wrote:
> I could reproduce this problem as well. I also tried to reduce the
> issue. It is an ICE in GCC and I have made a small testcase which I am
> able to reproduce on gcc-4_3-branch I have reported a gcc bug(PR36350)
> for it  Meanwhile you can remove -frename-registers optimization pass
> and ICE should go away.

I've 'solved' this in my local GCC 4.3 builds by patching GCC with the
patch in the following bug-report:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35964

After that GLIBC was building fine (for me).

The only other issues I had were in the Linux kernel (needs a small
patch to be compilable with GCC 4.3) and in opkg (which chokes on
-Wall -Werror with an array bounds check). I've patched opkg by
disabling the -Wall -Werror, because I couldn't find the problem in
the code (maybe this new GCC 4.3 warning is wrong sometimes).

One of these days I'll gather my GCC 4.3 patches and put them in
Bugzilla, but the above sums up the most important things I think.

Regards, Matthijs




More information about the Openembedded-devel mailing list