Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18464 - glibc 2.3.1-r4 emerge fails with illegal instruction in sunrpc
Summary: glibc 2.3.1-r4 emerge fails with illegal instruction in sunrpc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-30 05:33 UTC by Tony Austin
Modified: 2003-10-29 14:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (emergeinfo.txt,1.39 KB, text/plain)
2003-04-04 11:18 UTC, Bobby Carroll
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Austin 2003-03-30 05:33:49 UTC
emerging glibc-2.3.1-r3 fails with the following messages:  (flags used -pic
-nls -build)

CPP='gcc -E -x c-header' 
/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/elf/ld-linux.so.2
--library-path
/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere:/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/math:/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/elf:/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/dlfcn:/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/nss:/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/nis:/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/rt:/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/resolv:/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/crypt:/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/linuxthreads
/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/sunrpc/rpcgen -Y
../scripts -c rpcsvc/bootparam_prot.x -o
/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/sunrpc/xbootparam_prot.Tmake[2]:
***
[/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/buildhere/sunrpc/xbootparam_prot.stmp]
Illegal instruction
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.1-r4/work/glibc-2.3.1'
make: *** [all] Error 2
                                                                               
                
 !!! ERROR: sys-libs/glibc-2.3.1-r4 failed.
 !!! Function src_compile, Line 213, Exitcode 2
 !!! (no error message)
                                                                               
                


Reproducible: Didn't try
Steps to Reproduce:
1. emerge -vu glibc
2.
3.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-03-30 12:31:06 UTC
please paste
#emerge info
Comment 2 Tony Austin 2003-03-30 14:13:22 UTC
mail root # emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20 i586 AMD-K6(tm) 3D processor
GENTOO_MIRRORS="ftp://ftp.gentoo.no/pub/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 3dnow apm crypt cups encode gif jpeg libg++ mikmod mmx motif mpeg ncurses oggvorbis pdflib png sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline java X gpm tcpd pam libwww ssl python esd imlib gtk qt opengl cdr slp dga bonobo evo -gnome -kde tcltk aalib lcms tiff gdldap maildir mbox xface mozilla tetex perl -mysql postgres -odbc samba doc -ldap -oss -nls -arts -avi -quicktime"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=k6-2 -mcpu=k6-2 -O3 -pipe"
CXXFLAGS="-march=k6-2 -mcpu=k6-2 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

mail root #
Comment 3 Rafael Cordones Marcos 2003-03-31 13:15:44 UTC
I had the same error. Just a guess: you have CHOST set to "i686-pc-linux-gnu" but you 
seem to have a "i586 AMD-K6(tm) 3D" processor. So your CHOST should be 
"i586-pc-linux-gnu", just like mine.  
 
I have now tried to change the CHOST variable and re-emerge gcc glibc and see what 
happens. It will take a day I guess to finish compiling! :-( 
Comment 4 Rafael Cordones Marcos 2003-04-01 02:26:10 UTC
Yes!! Set CHOST to "i586-pc-linux-gnu" and remerge binutils, gcc and glibc. Maybe 
only reemerging glibc will do but I just wanted to be sure. 
Comment 5 Tony Austin 2003-04-01 13:43:29 UTC
I have just successfully emerged glibc-2.3.1-r3 having amended my CHOST as suggested here to:

CHOST="i586-pc-linux-gnu"

Thanks for the information.
Comment 6 Bobby Carroll 2003-04-04 11:18:18 UTC
Created attachment 10203 [details]
emerge info

I am receiving the same error.	I am on an Athlon XP system, this is my emerge
info
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-05 17:21:51 UTC
Try a vanilla kernel (non openmosix).
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-10-29 14:09:51 UTC
fixed with latest glibc