LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   GLibC 2.5 emerge: seg. fault? (http://www.linuxquestions.org/questions/linux-general-1/glibc-2-5-emerge-seg-fault-526416/)

tulcod 02-07-2007 10:54 AM

GLibC 2.5 emerge: seg. fault?
 
Hey all, geeks of LQ. i'm having a bit of a problem with updating from glibc 2.3.6-r5 to 2.5

I'm using linux 2.6.19-r5
Code:

# uname -a
Linux tulcod-desky 2.6.19-gentoo-r5 #5 Wed Feb 7 13:43:17 CET 2007 i686 AMD Athlon(tm) XP 1500+ AuthenticAMD GNU/Linux

basically, the errror given is a segmentation error on xbootparam_prot.stmp
i'll see if i can get a tail of the error report as soon as possible.

btw: i'm using gentoo linux, mainly stable.

tulcod 02-07-2007 02:31 PM

so, here are a last few lines of the emerge action:
Code:

.././scripts/mkinstalldirs /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/rpcsvc
make[2]: *** [/var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/xbootparam_prot.stmp] Segmentation fault
make[2]: *** Waiting for unfinished jobs....
mkdir /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/rpcsvc
CPP='i386-pc-linux-gnu-gcc -E -x c-header'  /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/elf/ld-linux.so.2 --library-path /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads:/var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/math:/var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/elf:/var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/dlfcn:/var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/nss:/var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/nis:/var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/rt:/var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/resolv:/var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/crypt:/var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/linuxthreads /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/rpcgen -Y ../scripts -h rpcsvc/bootparam_prot.x -o /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/rpcsvc/bootparam_prot.T
make[2]: *** [/var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/rpcsvc/bootparam_prot.stmp] Segmentation fault
make[2]: Leaving directory `/var/tmp/portage/glibc-2.5/work/glibc-2.5/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.5/work/glibc-2.5'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.5 failed.
Call stack:
  ebuild.sh, line 1546:  Called dyn_compile
  ebuild.sh, line 937:  Called src_compile
  glibc-2.5.ebuild, line 1119:  Called toolchain-glibc_src_compile
  glibc-2.5.ebuild, line 235:  Called die

!!! make for default failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


introuble 02-07-2007 02:56 PM

I was just about to say I upgraded to 2.5 fine when I realized you were upgrading from 2.3. This is going to require some special attention [can't give you exact details, I've only recently (3 days) switched to gentoo]. The Gentoo forums or freenode channel might have details. You might also find some glibc upgrading docs on gentoo.org

Emerson 02-07-2007 07:09 PM

Also looks like you have downloaded wrong stage tarball, I hardly believe you are running it on an i386.

tulcod 02-08-2007 09:19 AM

Quote:

Originally Posted by introuble
I was just about to say I upgraded to 2.5 fine when I realized you were upgrading from 2.3. This is going to require some special attention [can't give you exact details, I've only recently (3 days) switched to gentoo]. The Gentoo forums or freenode channel might have details. You might also find some glibc upgrading docs on gentoo.org

I got this far indeed, but i couldn't post that yesterday evening. Indeed, i'm currently using 2.3.something
so, i tried to switch to 2.4. didn't work out, because (as said below) i'm using i386 for compiling. and 2.4 requires nptl, which requires i386
Quote:

Originally Posted by Emerson
Also looks like you have downloaded wrong stage tarball, I hardly believe you are running it on an i386.

this could be true, $(CHOST) is set to i386. uname -a, as posted, says that my system is athlon XP and i686. on gentoo, that means i'll have to rebuild my whole system. Not that much of a problem, but i'll have to find some free days.


THX for all help!


All times are GMT -5. The time now is 05:02 PM.