LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 02-07-2007, 11:54 AM   #1
tulcod
LQ Newbie
 
Registered: Jul 2006
Distribution: Gentoo (mainly stable)
Posts: 7

Rep: Reputation: 0
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.
 
Old 02-07-2007, 03:31 PM   #2
tulcod
LQ Newbie
 
Registered: Jul 2006
Distribution: Gentoo (mainly stable)
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
Old 02-07-2007, 03:56 PM   #3
introuble
Member
 
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Rep: Reputation: 31
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
 
Old 02-07-2007, 08:09 PM   #4
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
Also looks like you have downloaded wrong stage tarball, I hardly believe you are running it on an i386.
 
Old 02-08-2007, 10:19 AM   #5
tulcod
LQ Newbie
 
Registered: Jul 2006
Distribution: Gentoo (mainly stable)
Posts: 7

Original Poster
Rep: Reputation: 0
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!
 
  


Reply

Tags
gentoo, glibc, segmentation fault


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
seg fault vm_devadas Linux - Enterprise 1 12-05-2006 03:28 PM
what could cause this fwrite() to seg fault? hedpe Programming 11 02-12-2006 11:02 PM
C seg fault drigz Programming 5 10-01-2004 04:35 PM
seg fault on fclose (); lackluster Programming 4 06-28-2003 08:30 PM
seg fault in terminal Anjo Linux - Software 1 02-07-2003 11:16 AM


All times are GMT -5. The time now is 05:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration