| View previous topic :: View next topic |
| Author |
Message |
allenray
Joined: 15 Oct 2007 Posts: 4
|
Posted: Mon Oct 15, 2007 4:12 pm Post subject: A strange problem when compile gcc 4.1.0 |
|
|
Hello!
I ran the automatic toolchain compile, toolchain.sh, right now. But when compiling gcc-stage1, the following errors occured.
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include ../../gcc/pointer-set.c -o pointer-set.o
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include ../../gcc/alloc-pool.c -o alloc-pool.o
/usr/local/pspdev/bin/psp-as: unrecognized option `-Qy'
make[2]: *** [pointer-set.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/local/pspdev/bin/psp-as: unrecognized option `-Qy'
make[2]: *** [alloc-pool.o] Error 1
make[2]: Leaving directory `/psptoolchain/build/gcc-4.1.0/build-psp/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/psptoolchain/build/gcc-4.1.0/build-psp'
make: *** [all] Error 2
../scripts/002-gcc-4.1.0-stage1.sh: Failed.
Can anyone help me to fix it? |
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Mon Oct 15, 2007 4:54 pm Post subject: |
|
|
| Update GCC on your machine. that should solve that problem |
|
| Back to top |
|
 |
allenray
Joined: 15 Oct 2007 Posts: 4
|
Posted: Mon Oct 15, 2007 5:02 pm Post subject: |
|
|
| But my gcc version is 4.1.2 which is later than gcc 4.1.0. I use ubuntu 7.01. And the prompt /usr/local/pspdev/bin/psp-as: unrecognized option `-Qy' means psp-as doesn't recognize option '-Qy'. |
|
| Back to top |
|
 |
allenray
Joined: 15 Oct 2007 Posts: 4
|
Posted: Tue Oct 16, 2007 11:26 am Post subject: |
|
|
| Is there anybody can help me with it? |
|
| Back to top |
|
 |
allenray
Joined: 15 Oct 2007 Posts: 4
|
Posted: Thu Oct 18, 2007 3:49 pm Post subject: |
|
|
| Is there anybody building toolchian in Ubuntu and met this problem. Please tell me how to fix it. Thank you very much! |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Thu Oct 18, 2007 4:31 pm Post subject: |
|
|
| I've built the toolchain in Xubuntu 7.04 without a problem. Other than making sure you have all the dependencies, there shouldn't be any problem. |
|
| Back to top |
|
 |
laichung
Joined: 06 May 2005 Posts: 123
|
Posted: Thu Oct 18, 2007 6:12 pm Post subject: |
|
|
use SVN to get the latest toolchain~~
the latest version is Rev 2320 - 2007-10-01 03:03:50 +1000 (Mon, 01 Oct 2007)
I'm using ubuntu 7.10 rc and rebuild the toolchain almost ten times these few days, no problem at all.
| allenray wrote: | | Is there anybody building toolchian in Ubuntu and met this problem. Please tell me how to fix it. Thank you very much! |
|
|
| Back to top |
|
 |
|