Openembedded Core Discussions
 help / color / mirror / Atom feed
* gcc compile error
@ 2013-04-16  4:38 Yi Qingliang
  2013-04-16  8:10 ` Jack Mitchell
  0 siblings, 1 reply; 5+ messages in thread
From: Yi Qingliang @ 2013-04-16  4:38 UTC (permalink / raw)
  To: openembedded-core

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



-- 
Nanjing Jilong
Yi Qingliang
niqingliang2003@gmail.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gcc compile error
  2013-04-16  4:38 gcc compile error Yi Qingliang
@ 2013-04-16  8:10 ` Jack Mitchell
  2013-04-16  8:17   ` Richard Purdie
  2013-04-17  1:56   ` Yi Qingliang
  0 siblings, 2 replies; 5+ messages in thread
From: Jack Mitchell @ 2013-04-16  8:10 UTC (permalink / raw)
  To: openembedded-core

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.

Regards,
Jack.

-- 

   Jack Mitchell (jack@embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gcc compile error
  2013-04-16  8:10 ` Jack Mitchell
@ 2013-04-16  8:17   ` Richard Purdie
  2013-04-17  1:56   ` Yi Qingliang
  1 sibling, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2013-04-16  8:17 UTC (permalink / raw)
  To: ml; +Cc: openembedded-core

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gcc compile error
  2013-04-16  8:10 ` Jack Mitchell
  2013-04-16  8:17   ` Richard Purdie
@ 2013-04-17  1:56   ` Yi Qingliang
  2013-04-17  2:21     ` Khem Raj
  1 sibling, 1 reply; 5+ messages in thread
From: Yi Qingliang @ 2013-04-17  1:56 UTC (permalink / raw)
  To: openembedded-core, ml

On Tuesday, April 16, 2013 09:10:43 AM 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?

NO LUCK!

> 
> If not, my solution was to move to GCC 4.8 using the patches posted to
> oe-core/oe-dev.

when the oe will upgrade gcc to 4.8 or 4.7.3?

> 
> Regards,
> Jack.
-- 
Nanjing Jilong
Yi Qingliang
niqingliang2003@gmail.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gcc compile error
  2013-04-17  1:56   ` Yi Qingliang
@ 2013-04-17  2:21     ` Khem Raj
  0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2013-04-17  2:21 UTC (permalink / raw)
  To: Yi Qingliang; +Cc: openembedded-core


On Apr 16, 2013, at 6:56 PM, Yi Qingliang <niqingliang2003@gmail.com> wrote:

> when the oe will upgrade gcc to 4.8 or 4.7.3?

after 1.4 release, i.e. master which will become 1.5 in coming fall.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-04-17  2:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-16  4:38 gcc compile error Yi Qingliang
2013-04-16  8:10 ` Jack Mitchell
2013-04-16  8:17   ` Richard Purdie
2013-04-17  1:56   ` Yi Qingliang
2013-04-17  2:21     ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox