View previous topic :: View next topic |
Author |
Message |
HOT n00b
Joined: 03 Nov 2003 Posts: 21
|
Posted: Wed Jun 29, 2005 4:08 pm Post subject: Error bootstrap |
|
|
hi !
Im installing Gentoo PPC64 in a dual g5 (2ghz) and i've found this error compiling texinfo-4.8 in bootstrap ->
"checking for C compiler default output file name... configure: error: C compiler cannot create executables"
My CHOST -> powerpc64-unknown-linux-gnu
CFLAGS -> -O2 -pipe -fomit-frame-pointer -mcpu=970 -mtarget=970 -maltivec -mabi=altivec
MAKEOPTS -> -j3
What should i do ?
THANKS _________________ -_- |
|
Back to top |
|
|
SinoTech Advocate
Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Wed Jun 29, 2005 8:39 pm Post subject: |
|
|
HOT wrote: |
[...]
"checking for C compiler default output file name... configure: error: C compiler cannot create executables"
|
Those message is mostly a result of misspelled or invalid CFLAGS. Take a look here and try again.
Mfg
Sino |
|
Back to top |
|
|
corsair Retired Dev
Joined: 06 Oct 2003 Posts: 451 Location: Aachen, Germany
|
Posted: Wed Jun 29, 2005 9:59 pm Post subject: Re: Error bootstrap |
|
|
HOT wrote: |
CFLAGS -> -O2 -pipe -fomit-frame-pointer -mcpu=970 -mtarget=970 -maltivec -mabi=altivec
|
-mtarget?? never heard of that one... please delete it from the list.
if you want, you can add "-mtune=970" to your CFLAGS. (normaly it shouldn't be needed, because -mcpu=970 sets all flags which are set by -mtune=970, but sometimes -mcpu=970 is filtered out...) |
|
Back to top |
|
|
guero61 l33t
Joined: 14 Oct 2002 Posts: 811 Location: Behind you
|
Posted: Thu Nov 03, 2005 4:22 pm Post subject: |
|
|
I ran into this same problem installing on a JS20; evidently the documentation in /etc/make.conf.example is incorrect, or at least incorrect for the 970 chips.
Some packages fail on this, and some don't - I don't know whether it's due to stricter or more lax checking, but, for example, ncurses fails whereas patch & gcc both succeed. Very odd.
I'm very much glad I had good depth of Gentoo experience before I started working on the JS20; if I wasn't already dedicated to Gentoo, I would have found the experience extraordinarily frustrating and hugely complex and would have stopped long ago. If anyone is trying with one of these beasts and is having trouble, PM me & I'll try to help! |
|
Back to top |
|
|
thepustule Apprentice
Joined: 22 Feb 2004 Posts: 212 Location: Toronto, Canada
|
Posted: Sat May 13, 2006 2:42 am Post subject: |
|
|
Once they go, though, they're nice and fast!
I'm having problems getting vncserver to work - it seems to have an endianness problem when it tries to run. Have you seen this? |
|
Back to top |
|
|
guero61 l33t
Joined: 14 Oct 2002 Posts: 811 Location: Behind you
|
Posted: Tue May 16, 2006 2:05 pm Post subject: |
|
|
Never used a GUI on it, so I couldn't say. Right now the system is hosed & waiting for me to have time to fix it. What VNC are you using? |
|
Back to top |
|
|
corsair Retired Dev
Joined: 06 Oct 2003 Posts: 451 Location: Aachen, Germany
|
|
Back to top |
|
|
guero61 l33t
Joined: 14 Oct 2002 Posts: 811 Location: Behind you
|
Posted: Tue May 16, 2006 7:58 pm Post subject: |
|
|
I've had good luck with the following on the JS20 blades; just added the '-fforce-addr' in moving to the hardened profile.
Code: |
CFLAGS="-O2 -pipe -mcpu=970 -maltivec -mabi=altivec -fomit-frame-pointer -fforce-addr"
|
|
|
Back to top |
|
|
rangerpb Retired Dev
Joined: 19 Jan 2005 Posts: 147
|
Posted: Tue May 16, 2006 8:03 pm Post subject: why not use the 970 profile |
|
|
There is a 970 profile which is very suitable for js20s:
/usr/portage/profiles/default-linux/ppc/ppc64/2006.0/64bit-userland/970/
As for vnc, I have not been able to make it work either; least not vncserver. If anyone figures it out, lets get a bug written and a fix in portage. _________________ -->
rangerpb
<-- |
|
Back to top |
|
|
|