Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
trouble installing gentoo on ultra 5/10
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
lianlian
n00b
n00b


Joined: 09 Apr 2005
Posts: 30

PostPosted: Sat Apr 09, 2005 9:59 pm    Post subject: trouble installing gentoo on ultra 5/10 Reply with quote

first time installing gentoo, i am also a newbie, heres where i got to and error appear:(, please someone help me. I'll search for posts after I post my post.

>>> Regenerating /etc/ld.so.cache...
* Caching service dependencies...
>>> dev-lang/python-2.3.4-r1 merged.

>>> clean: No packages selected for removal.

>>> emerge (28 of 89) sys-apps/portage-2.0.51.19 to /
>>> md5 src_uri portage-2.0.51.19.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.51.19.tar.bz2 to /var/tmp/portage/portage-2.0.51.19/work
>>> Source unpacked.
./create-localdecls
Checkingtruncate argument type... off_t
Checkinglibc version... libc.so.6
Checking glibc subversion... 2.3

sparc-unknown-linux-gnu-gcc -march=i386 -01 -pipe -D-GDU_SOURCE -DPIC -fPIC -D_REENTRANT -Walll -c libsandvox.c
cc1: error: invalid option 'arch=i386'
make: *** [libsandvox.o] Error 1

!!! ERROR: ss-aps/portage-2.0.51.19 failed.
!!! Function src_compile, Line 81, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
leonarp
n00b
n00b


Joined: 22 Mar 2004
Posts: 34
Location: Kansas

PostPosted: Mon Apr 11, 2005 2:41 pm    Post subject: Re: trouble installing gentoo on ultra 5/10 Reply with quote

lianlian wrote:

sparc-unknown-linux-gnu-gcc -march=i386 -01 -pipe -D-GDU_SOURCE -DPIC -fPIC -D_REENTRANT -Walll -c libsandvox.c
cc1: error: invalid option 'arch=i386'
make: *** [libsandvox.o] Error 1


Looks like your make.conf file is wrong. Change the -march=i386 to -mpcu=ultrasparc.

Here is the CFLAGS line from my Ultra5:

Code:
CFLAGS="-O2 -mcpu=ultrasparc -fomit-frame-pointer"
Back to top
View user's profile Send private message
lianlian
n00b
n00b


Joined: 09 Apr 2005
Posts: 30

PostPosted: Mon Apr 11, 2005 6:36 pm    Post subject: Reply with quote

probably, i am new to linux and gentoo, so like after every time i restarted my sparc, the make.conf or the silo.conf is not in the /etc/ directory, i guess i have to work around mount... well i am learning a lot.
Back to top
View user's profile Send private message
leonarp
n00b
n00b


Joined: 22 Mar 2004
Posts: 34
Location: Kansas

PostPosted: Mon Apr 11, 2005 6:45 pm    Post subject: Reply with quote

Hm, well make.conf should always be in /etc. As for silo.conf the manual says (or used to say) that the working copy is in /boot and that you should keep a copy of it in /etc in case /boot gets blown away.
Back to top
View user's profile Send private message
i-right-i
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2004
Posts: 118
Location: Chandler, AZ USA

PostPosted: Thu Apr 14, 2005 10:04 pm    Post subject: Ultra 5/10 Reply with quote

Until you get a working kernel and get it to boot and mount. I am assuming that you have to boot from the CD everytime to get back into the box.

That would mean you have to mount everything manually and then chroot into it.

Then you will see that your silo.conf and everythng should be in the right place.

If you didn't change the I386 flag in the make.conf, it will definetly error out. I made that mistake myself long time ago.

i-right-i
_________________
Gentoo on x86
Gentoo on SPARC
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