Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
glibc error installing from stage 1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mikeg
n00b
n00b


Joined: 05 Apr 2003
Posts: 39

PostPosted: Tue May 20, 2003 1:26 am    Post subject: glibc error installing from stage 1 Reply with quote

I'm getting the following error:
make[2]: *** [/home/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/sunrpc/xbootparam_prot.stmp] Illegal instruction
...

!!! ERROR: sys_libs/glibc-2.3.1-r4 failed.
!!! Function src_compile, Line 222, Exitcode 2
!!! (no error message)

The offending file (xbootparam_prot.stmp) doesn't exist in the above directory.
I've tried `emerge sync' without success

This is a 500MHz K6-2 system in getting past this error.

Thanks for any help.
Mike
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Tue May 20, 2003 3:34 am    Post subject: Reply with quote

In your /etc/make.conf , make sure you change CHOST="i686-pc-linux-gnu" to CHOST="i586-pc-linux-gnu" in addition to setting your CFLAGS correctly.
Back to top
View user's profile Send private message
pinnockio
Apprentice
Apprentice


Joined: 08 Jun 2002
Posts: 162

PostPosted: Tue May 20, 2003 10:31 am    Post subject: Reply with quote

Hello,

I shed some light on the confusing i586 and i686 naming use. i686-compatible cpu's are those which have a full pentiumpro compatible instruction set. Although K6's can be seen as i686, they miss some cpu-registers by which they don't qualify as a full i686 and won't run code compiled with i686-pc-linux-gnu. You should use i586-pc-linux-gnu options or the k6 specific compiler settings

https://forums.gentoo.org/viewtopic.php?p=330109#330109

Kind regards,

A belgian Gentoo user
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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