View previous topic :: View next topic |
Author |
Message |
GdMeaulnes n00b
Joined: 13 Oct 2003 Posts: 8 Location: France
|
Posted: Fri Sep 29, 2006 9:55 pm Post subject: SUN Netra 240 - gcc-3.4.6-r1 - Build error [solved] |
|
|
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 |
|
|
blu3bird Retired Dev
Joined: 04 Oct 2003 Posts: 614 Location: Munich, Germany
|
Posted: Fri Sep 29, 2006 10:22 pm Post subject: |
|
|
Can you post a few more lines above? _________________ Black Holes are created when God divides by zero! |
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Sat Sep 30, 2006 7:36 pm Post subject: |
|
|
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 |
|
|
GdMeaulnes n00b
Joined: 13 Oct 2003 Posts: 8 Location: France
|
Posted: Sat Sep 30, 2006 8:52 pm Post subject: |
|
|
Great !
It's work. Many thanks ! |
|
Back to top |
|
|
|