| View previous topic :: View next topic |
| Author |
Message |
NoEffex
Joined: 27 Nov 2008 Posts: 108
|
Posted: Thu Nov 27, 2008 6:52 am Post subject: Segmentation fault? |
|
|
Well, when compiling the toolchain and it gets to the second script, the make -j 2 part of it, it hits a lovely segmentation fault.
| Code: | xgcc: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: *** Waiting for unfinished jobs....
xgcc: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [libgcc/./_negdi2.o] Error 1
make[2]: Leaving directory `/home/aaron/Dev/ps2/ps2toolchain/build/gcc-3.2.2/build-ee-stage1/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/aaron/Dev/ps2/ps2toolchain/build/gcc-3.2.2/build-ee-stage1/gcc'
make: *** [all-gcc] Error 2
../scripts/002-gcc-3.2.2-stage1.sh: Failed.
|
The main difference between this OS and the last one is that this one is 64-bit fedora, while the last one is 32-bit. Wondering if anyone might have had this problem before and found a solution. |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Thu Nov 27, 2008 10:37 am Post subject: |
|
|
64 bit is not an issue for building the PS2 toolchain. The version of gcc used is. Set gcc to be an older version before building the PS2 toolchain. Like this...
| Code: | | CC=gcc-3.4 toolchain.sh |
|
|
| Back to top |
|
 |
NoEffex
Joined: 27 Nov 2008 Posts: 108
|
Posted: Thu Nov 27, 2008 11:17 am Post subject: |
|
|
| Ah, I figured as much(as the PSP Toolchain compiles without flaw on 64-bit), and I also figured about the GCC being too high on my end. Thanks, I shall try that. |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Thu Nov 27, 2008 11:28 am Post subject: |
|
|
| Well, I use 64 bit linux full-time, and where you run into 64 bit issues is with certain tools made for use with certain libs... like libito. I posted a fix for 64 bit issues in another thread here somewhere. I've been using 64 bit exclusively since Fedora Core 3. :) |
|
| Back to top |
|
 |
|