[OE-core] gcc compile error

Richard Purdie richard.purdie at linuxfoundation.org
Tue Apr 16 08:17:14 UTC 2013


On Tue, 2013-04-16 at 09:10 +0100, Jack Mitchell wrote:
> On 16/04/13 05:38, Yi Qingliang wrote:
> > hello, i'm using archlinux, the gcc is 4.8.0.
> >
> > when compiling gcc 4.7.2 in oe, I got the error:
> >
> > | /mnt/src/arm9plf-build/tmp/work-shared/gcc-4.7.2-
> > r19/gcc-4.7.2/libgcc/libgcc2.c: In function '__absvdi2':
> > | /mnt/src/arm9plf-build/tmp/work-shared/gcc-4.7.2-
> > r19/gcc-4.7.2/libgcc/libgcc2.c:273:1: internal compiler error: Segmentation
> > fault
> >
> >
> >
> 
> Hi,
> 
> Many people have run into this problem so far (myself included) and I 
> have been told it is the fault of the ArchLinux GCC. Now, I noticed the 
> ArchLinux devs pushed a new build of GCC out yesterday, have you tried 
> upgrading to that yet and giving it another go?
> 
> If not, my solution was to move to GCC 4.8 using the patches posted to 
> oe-core/oe-dev.

We're a bit stuck on this one since the host gcc is segfaulting. This is
very clearly something the host gcc should not do and there is little we
can do to fix it. The gcc 4.8 codebase doesn't trigger the fault, only
the earlier ones like 4.7.

There is an open bug:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=4248

Cheers,

Richard






More information about the Openembedded-core mailing list