Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SUN Netra 240 - gcc-3.4.6-r1 - Build error [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
GdMeaulnes
n00b
n00b


Joined: 13 Oct 2003
Posts: 8
Location: France

PostPosted: Fri Sep 29, 2006 9:55 pm    Post subject: SUN Netra 240 - gcc-3.4.6-r1 - Build error [solved] Reply with quote

Hi,

I'm having a bit of a problem during the upgrade from gcc-3.3.5 to gcc-3.4.6.

I use the "Gentoo GCC Upgrade Guide" and when I issue "emerge -uav gcc" I've got :

stage1/xgcc -Bstage1/ -B/usr/sparc-unknown-linux-gnu/bin/ -c -m32 -O2 -mcpu=ultrasparc -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I/var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc -I/var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/. -I/var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/../include /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/gcc/genconstants.c -o genconstants.o
make[2]: *** [unprotoize.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.6-r1/work/build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.6-r1/work/build/gcc'
make: *** [bootstrap-lean] Error 2


Any clue ?

Thanking you by advance

Best regards


Last edited by GdMeaulnes on Sat Sep 30, 2006 8:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
blu3bird
Retired Dev
Retired Dev


Joined: 04 Oct 2003
Posts: 605
Location: Munich, Germany

PostPosted: Fri Sep 29, 2006 10:22 pm    Post subject: Reply with quote

Can you post a few more lines above?
_________________
Black Holes are created when God divides by zero!
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Sat Sep 30, 2006 7:36 pm    Post subject: Reply with quote

A recent change broke gcc emerging when MAKEOPTS is greater than -j1. To work around this for now, try the following:
Code:
MAKEOPTS="-j1" emerge -1v gcc
Back to top
View user's profile Send private message
GdMeaulnes
n00b
n00b


Joined: 13 Oct 2003
Posts: 8
Location: France

PostPosted: Sat Sep 30, 2006 8:52 pm    Post subject: Reply with quote

Great !

It's work. Many thanks !
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum