Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 154046

Summary: sys-libs/glibc-2.5 failed with seg fault
Product: Gentoo Linux Reporter: otg <otg>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /var/tmp/portage/sys-libs/glibc-2.5/temp/build.log (packed)

Description otg 2006-11-04 09:26:36 UTC
reads/sunrpc/rpcinfo.o.dt -MT /var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/rpcinfo.o
i386-pc-linux-gnu-gcc -nostdlib -nostartfiles -o /var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/rpcinfo  -Wl,-dynamic-linker=/lib/ld-linux.so.2   -Wl,-z,combreloc -Wl,-z,relro  /var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/csu/crt1.o /var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/csu/crti.o `i386-pc-linux-gnu-gcc --print-file-name=crtbegin.o` /var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/rpcinfo.o  -Wl,-rpath-link=/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads:/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/math:/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/elf:/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/dlfcn:/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/nss:/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/nis:/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/rt:/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/resolv:/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/crypt:/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/linuxthreads /var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/libc.so.6 /var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/libc_nonshared.a -lgcc -Wl,--as-needed -lgcc_s  -Wl,--no-as-needed `i386-pc-linux-gnu-gcc --print-file-name=crtend.o` /var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/csu/crtn.o
CPP='i386-pc-linux-gnu-gcc -E -x c-header'  /var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/elf/ld-linux.so.2 --library-path /var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads:/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/math:/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/elf:/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/dlfcn:/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/nss:/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/nis:/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/rt:/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/resolv:/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/crypt:/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/linuxthreads /var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/xbootparam_prot.T
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/xbootparam_prot.stmp] Segmentation fault
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5/work/glibc-2.5/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5/work/glibc-2.5'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.5 failed.
Call stack:
  ebuild.sh, line 1568:   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.

gentoo ~ # emerge --info
Portage 2.1.2_rc1-r3 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r5, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 AMD Athlon(TM) XP 2100+
Gentoo Base System version 1.12.6
Last Sync: Fri, 03 Nov 2006 08:00:01 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de en ru"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X admin alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli cracklib crypt ctype cups dba dlloader dri eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux lcms libg++ libwww linguas_de linguas_en linguas_ru mad memlimit mikmod mmx mng motif mozilla mp3 mpeg mysql ncurses nls nsplugin ntpl ntplonly ogg opengl oss pam pcre pdf pdflib perl png posix postgres pppd python qt qt3 qt4 quicktime readline reflection samba sdl session simplexml slang soap sockets spell spl ssl symlink tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa vorbis x86 xml xml2 xorg xsl xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-04 09:36:46 UTC
Unless you can reproduce, your hardware sucks...

*** This bug has been marked as a duplicate of 20600 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-11-04 10:49:58 UTC
*** Bug 154054 has been marked as a duplicate of this bug. ***
Comment 3 otg 2007-02-05 17:01:47 UTC
I'm able to reproduce this bug - glibc-2.5 fails to build at exactly the same time. I verified this approx. 20 times .... and attached the log.

<snip>
6-pc-linux-gnu-linuxthreads/crypt:/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/linuxthreads /var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/xbootparam_prot.T
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/xbootparam_prot.stmp] Segmentation fault
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5/work/glibc-2.5/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5/work/glibc-2.5'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.5 failed.
Call stack:
  ebuild.sh, line 1613:   Called dyn_compile
  ebuild.sh, line 970:   Called qa_call 'src_compile'
  environment, line 4084:   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.
!!! A complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.5/temp/build.log'.
</snip>

gentoo ~ # emerge --info
Portage 2.1.2-r7 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r5, 2.6.18-gentoo-r2 i686)
=================================================================
System uname: 2.6.18-gentoo-r2 i686 AMD Athlon(TM) XP 2100+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 05 Feb 2007 15:00:01 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de en ru"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X admin alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli cracklib crypt ctype cups dba dlloader dri eds emboss encode esd ethereal exif expat fam fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imlib ipv6 isdnlog jpeg kde lcms libg++ libwww mad memlimit midi mikmod mmx mng motif mozilla mp3 mpeg mysql ncurses nls nsplugin ntpl ntplonly ogg opengl oss pam pcre pdf pdflib perl png posix postgres pppd python qt qt3 qt4 quicktime readline reflection samba sdl session simplexml slang soap sockets spell spl ssl symlink tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode vorbis x86 xml xml2 xorg xsl xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en ru" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 otg 2007-02-05 17:03:32 UTC
Created attachment 109242 [details]
/var/tmp/portage/sys-libs/glibc-2.5/temp/build.log (packed)
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-02-05 21:28:09 UTC
> CBUILD="i386-pc-linux-gnu"
> CFLAGS="-march=athlon-xp -O2 -pipe"

Go fix your system.

*** This bug has been marked as a duplicate of bug 157733 ***