View previous topic :: View next topic |
Author |
Message |
mikeg n00b
Joined: 05 Apr 2003 Posts: 39
|
Posted: Tue May 20, 2003 1:26 am Post subject: glibc error installing from stage 1 |
|
|
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 |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Tue May 20, 2003 3:34 am Post subject: |
|
|
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 |
|
|
pinnockio Apprentice
Joined: 08 Jun 2002 Posts: 162
|
Posted: Tue May 20, 2003 10:31 am Post subject: |
|
|
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 |
|
|
|