Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error bootstrap
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
HOT
n00b
n00b


Joined: 03 Nov 2003
Posts: 21

PostPosted: Wed Jun 29, 2005 4:08 pm    Post subject: Error bootstrap Reply with quote

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
View user's profile Send private message
SinoTech
Advocate
Advocate


Joined: 20 Mar 2004
Posts: 2579
Location: Neunkirchen / Saarland / Germany

PostPosted: Wed Jun 29, 2005 8:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Wed Jun 29, 2005 9:59 pm    Post subject: Re: Error bootstrap Reply with quote

HOT wrote:

CFLAGS -> -O2 -pipe -fomit-frame-pointer -mcpu=970 -mtarget=970 -maltivec -mabi=altivec


-mtarget?? never heard of that one... :roll: 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
View user's profile Send private message
guero61
l33t
l33t


Joined: 14 Oct 2002
Posts: 811
Location: Behind you

PostPosted: Thu Nov 03, 2005 4:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
thepustule
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 210
Location: Toronto, Canada

PostPosted: Sat May 13, 2006 2:42 am    Post subject: Reply with quote

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
View user's profile Send private message
guero61
l33t
l33t


Joined: 14 Oct 2002
Posts: 811
Location: Behind you

PostPosted: Tue May 16, 2006 2:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Tue May 16, 2006 7:28 pm    Post subject: Reply with quote

guero61 wrote:
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.


hrm... I'll fix that! -mtarget is definetly not a correct compiler flag... I did not found -mtarget on http://gcc.gnu.org/onlinedocs/gcc-4.1.0/gcc/Option-Summary.html#Option-Summary !

EDIT: bug #133528
Back to top
View user's profile Send private message
guero61
l33t
l33t


Joined: 14 Oct 2002
Posts: 811
Location: Behind you

PostPosted: Tue May 16, 2006 7:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
rangerpb
Developer
Developer


Joined: 19 Jan 2005
Posts: 147

PostPosted: Tue May 16, 2006 8:03 pm    Post subject: why not use the 970 profile Reply with quote

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
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