Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
install from stage 1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
sergio.bevilacqua
n00b
n00b


Joined: 01 Sep 2004
Posts: 8
Location: Brescia, Italy

PostPosted: Wed Sep 01, 2004 1:00 pm    Post subject: install from stage 1 Reply with quote

i have a sparc64 system
when i start from stage 1, my system cannot complete bootstrap.sh
it reports an error compiling binutils and says "C compiler cannot create executables"

i have tried some configuration of make.conf including the standard version, anc this is the output of `ls -l /mnt/gentoo/etc/make.profile`:

/mnt/gentoo/etc/make.profile -> ../usr/portage/profiles/default-sparc64-2004.0

it's correct, but the binutils package cannot be compiled... some ideas?
Back to top
View user's profile Send private message
SerfurJ
l33t
l33t


Joined: 10 Apr 2004
Posts: 824
Location: Texas

PostPosted: Wed Sep 01, 2004 2:22 pm    Post subject: Reply with quote

make sure your build flags are set correctly for a Sparc 64:

CHOST="sparc64-unknown-linux-gnu"
CFLAGS="-O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-O3 -pipe -fomit-frame-pointer"

from:
http://www.freehackers.org/gentoo/gccflags/flag_gcc3.html
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Thu Sep 02, 2004 7:07 am    Post subject: Reply with quote

You *do not* want CHOST="sparc64-unknown-linux-gnu" at this time as it will cause problems. This would be applicable if we had a working 64 bit userland , which we do not.

CHOST="sparc-unknown-linux-gnu" is what you want. Anything else may cause instability and is unsupported.
Back to top
View user's profile Send private message
dnix
Apprentice
Apprentice


Joined: 17 Jun 2003
Posts: 271
Location: Italy

PostPosted: Thu Sep 30, 2004 10:26 am    Post subject: Reply with quote

so ther's no way to get a sparc machine work in 64bit?
I'm trying from few days on my ultrasparcI without results...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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