Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc 3.2 in gentoo 1.4 (useing live cd)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
dreamyou
n00b
n00b


Joined: 22 Sep 2002
Posts: 2

PostPosted: Thu Nov 07, 2002 8:12 pm    Post subject: gcc 3.2 in gentoo 1.4 (useing live cd) Reply with quote

I am having problems compiling software with gcc 3.1

in my /etc/make.conf file I am chosen to use the optimized for G3 setting

(CFLAGS="-03 -pipe -mcpu=750 -mpowerpc-gfxopt -fsigned-char")

My computer is a 500mhz ibook, and the output from /proc/cpuinfo indicates its at 750CX processor

it should be noted that I cannot compile software with the "generic ppc" option of (CFLAGS="-03 -pipe -fsigned-char")

Any ideas?

the gcc error is kinda skechy : runscript.c:31 internal error : Bus error


thanks
Back to top
View user's profile Send private message
nikai
Apprentice
Apprentice


Joined: 02 Oct 2002
Posts: 270
Location: Kitzbühel, Austria

PostPosted: Fri Nov 08, 2002 10:56 pm    Post subject: Reply with quote

Maybe gcc optimization is to aggressive? I heard of problems with -O3:
https://forums.gentoo.org/viewtopic.php?t=18471

I've got a 750FX, at the moment I'm using
Code:
# PowerPC 750, gcc 3.2+
CHOST="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=750 -mpowerpc-gfxopt -fsigned-char"
CXXFLAGS=${CFLAGS}
Back to top
View user's profile Send private message
Blademan
Developer
Developer


Joined: 05 Oct 2002
Posts: 116

PostPosted: Tue Nov 12, 2002 12:34 am    Post subject: Reply with quote

I had some issues with the '-03' flag. Make sure it is -Omega3, not zero 3. I have an OldWorld mac, but the bug is probably still the same.

See this bug:
https://bugs.gentoo.org/show_bug.cgi?id=10463
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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