Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 333137 - sys-libs/glibc-2.12.1 fails during install with "unexpected reloc type in static -> [install-symbolic-link] Segmentation fault"
Summary: sys-libs/glibc-2.12.1 fails during install with "unexpected reloc type in sta...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 333053 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-17 10:54 UTC by playmiac
Modified: 2010-08-19 19:59 UTC (History)
1 user (show)

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


Attachments
build.log (build.log.gz,539.05 KB, application/octet-stream)
2010-08-17 10:59 UTC, playmiac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description playmiac 2010-08-17 10:54:41 UTC
sys-libs/glibc-2.12.1 fails during install with "[install-symbolic-link] Segmentation fault"

Reproducible: Always

Steps to Reproduce:
1. emerge glibc
2.
3.

Actual Results:  
Fails during install with "[install-symbolic-link] Segmentation fault"


Installation fails both with paludis and portage. glibc-2.11.2 emerges (still) fine
Comment 1 playmiac 2010-08-17 10:55:10 UTC
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.35-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.35-gentoo-r1-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-2.0.1
Timestamp of tree: Tue, 17 Aug 2010 10:15:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.5.4-r2, 2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.3
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe -mno-push-args -mcx16 -msahf -funroll-loops -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -O2 -pipe -mno-push-args -mcx16 -msahf -funroll-loops -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.df.lth.se/pub/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ "
LANG="C"
LDFLAGS="-s -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,now -Wl,--hash-style=gnu"
LINGUAS="en fr de it es fi sv"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm graphite iconv ipv6 lm_sensors mmx modules mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl pppd python qt4 readline reflection session spl sse sse2 ssl sysfs tcpd truetype unicode xorg zlib" ALSA_CARDS="emu10k1 via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr de it es fi sv" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY
Comment 2 playmiac 2010-08-17 10:59:50 UTC
Created attachment 243319 [details]
build.log
Comment 3 Simon Alman 2010-08-17 14:04:47 UTC
Same issue:

unexpected reloc type in static binary/var/tmp/portage/sys-libs/glibc-2.12.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/sln /var/tmp/portage/sys-libs/glibc-2.12.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/symlink.list
make[1]: *** [install-symbolic-link] Error 139
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.12.1/work/glibc-2.12.1'
make: *** [install] Error 2
 * ERROR: sys-libs/glibc-2.12.1 failed:


Portage 2.1.8.3 (default/linux/amd64/10.0/server, gcc-4.4.4, glibc-2.11.2-r0, 2.6.35-rc6 x86_64)
=================================================================
System uname: Linux-2.6.35-rc6-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-gentoo-2.0.1
Timestamp of tree: Tue, 17 Aug 2010 08:30:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 1.3.7-r1, 2.1.11
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
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.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 x86 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -fbounds-check -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer -mno-tls-direct-seg-refs -mtune=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/boot /etc /usr/bin/emerge /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -fbounds-check -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer -mno-tls-direct-seg-refs -mtune=k8 -fno-enforce-eh-specs -fpermissive"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache confcache distlocks fixpackages news parallel-fetch parallel-fetching prelink protect-owned sandbox sfperms strict suidctl unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS=" http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.linux.org.mt/mirror/gentoo/"
LDFLAGS="-Wl,--as-needed,--hash-style=both,--sort-common -s"
LINGUAS="en_GB en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --delete --exclude='/distfiles' --exclude='/local' --exclude='/packages' --exclude='/etc/portage/rsync_excludes' --timeout=180 --compress --whole-file --recursive --times"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/nx /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi amd64 apache2 apm asf automount avi bash-completion berkdb bitmap-fonts bmp bonobo bzip2 bzlib cairo calendar cdr cli cracklib crypt custom-cflags cxx dba dbus dedicated directfb dri dv ethereal exim exiscan-acl fam fbcon firefox flash fortran ftp gd gdbm geoip gif glitz gnome gnutls gphoto2 gpm gtk gtk2 gtkhtml hal iconv icq imagemagick imap imlib ithreads jabber java java5 jikes jpeg junit kde kerberos lame ldap logrotate maildir mcal mime mjpeg mmx mmx2 mng modules motif mudflap multilib mysql ncurses net nforce2 nls no-seamonkey nptl nptlonly nsplugin ogg opengl openmp oss pae pam pcre pdf pear perl php png pop3d pppd python qt3support qt4 rdesktop readline reflection sasl session snmp snortsam softquota source spell spl sql sqlite sse sse2 ssl suhosin svg sysfs tcl tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb vim-syntax webkit wxGTK xen xml xml2 xorg xulrunner 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES=" evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson" USERLAND="GNU" VIDEO_CARDS=" radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 SpanKY gentoo-dev 2010-08-17 15:09:27 UTC
rebuild coreutils and make and sandbox with sane simple CFLAGS/LDFLAGS then see if glibc still fails
Comment 5 playmiac 2010-08-17 17:35:40 UTC
With CFLAGS="-march=native -O2 -pipe" glibc gest installed OK. Thanks!

Comment 6 SpanKY gentoo-dev 2010-08-19 19:59:24 UTC
*** Bug 333053 has been marked as a duplicate of this bug. ***