View previous topic :: View next topic |
Author |
Message |
dreamyou n00b
Joined: 22 Sep 2002 Posts: 2
|
Posted: Thu Nov 07, 2002 8:12 pm Post subject: gcc 3.2 in gentoo 1.4 (useing live cd) |
|
|
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 |
|
|
nikai Apprentice
Joined: 02 Oct 2002 Posts: 270 Location: Kitzbühel, Austria
|
Posted: Fri Nov 08, 2002 10:56 pm Post subject: |
|
|
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 |
|
|
Blademan Developer
Joined: 05 Oct 2002 Posts: 116
|
Posted: Tue Nov 12, 2002 12:34 am Post subject: |
|
|
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 |
|
|
|