forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Segmentation fault?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
NoEffex



Joined: 27 Nov 2008
Posts: 108

PostPosted: Thu Nov 27, 2008 6:52 am    Post subject: Segmentation fault? Reply with quote

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
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu Nov 27, 2008 10:37 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
NoEffex



Joined: 27 Nov 2008
Posts: 108

PostPosted: Thu Nov 27, 2008 11:17 am    Post subject: Reply with quote

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
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu Nov 27, 2008 11:28 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
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


Powered by phpBB © 2001, 2005 phpBB Group