Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414227 - sys-libs/glibc-2.14.1-r3 with sys-devel/gcc-4.6.3 - libc_pic.a(dl-addr.os): In function `_dl_addr_inside_object': dl-addr.c:(.text+0x0): multiple definition of `_dl_addr_inside_object' (gcc-4.6.3)
Summary: sys-libs/glibc-2.14.1-r3 with sys-devel/gcc-4.6.3 - libc_pic.a(dl-addr.os): I...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-01 12:33 UTC by Lucas Treffenstädt
Modified: 2012-08-11 17:03 UTC (History)
0 users

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


Attachments
build.log (build.log.bz2,93.52 KB, application/x-bzip)
2012-05-01 12:36 UTC, Lucas Treffenstädt
Details
/var/tmp/portage/sys-libs/glibc-2.14.1-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.mapT (librtld.mapT,512.67 KB, text/plain)
2012-05-03 05:16 UTC, Lucas Treffenstädt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Treffenstädt 2012-05-01 12:33:26 UTC
Emerging glibc-2.14.1-r3 with gcc-4.6.3 does not finish but aborts giving above line.
I am not sure if this is related to gcc-4.6, but it might be important

Reproducible: Always

Steps to Reproduce:
1. emerge =sys-libs/glibc-2.14.1-r3 using gcc-4.6.3
Actual Results:  
emerge fails

Expected Results:  
build and install packet
Comment 1 Lucas Treffenstädt 2012-05-01 12:36:27 UTC
Created attachment 310563 [details]
build.log
Comment 2 Lucas Treffenstädt 2012-05-01 12:37:20 UTC
Portage 2.1.10.49 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.13-r4, 3.3.0-gentoo x86_64)
=================================================================
System uname: Linux-3.3.0-gentoo-x86_64-AMD_Turion-tm-_II_Neo_K685_Dual-Core_Processor-with-gentoo-2.0.3
Timestamp of tree: Mon, 30 Apr 2012 20:15:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo calculate scarabeus_local_overlay rion java-overlay x11 regen2-overlay x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=amdfam10"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -march=amdfam10"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.mneisen.org/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/calculate /var/lib/layman/scarabeus /var/lib/layman/rion /var/lib/layman/java-overlay /var/lib/layman/x11 /var/lib/layman/regen2-overlay /usr/local/portage"
SYNC="rsync://rsync10.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl alsa amd64 berkdb bluetooth bzip2 cli cracklib crypt cups cxx dbus dnotify dri ffmpeg flac fortran gdbm gif gtk iconv icu inotify jpeg mmx mmxext modules mp3 mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre png pppd pyhton3 qt4 readline session sse sse2 sse4a ssl sysfs tcpd tiff udev unicode utf-8 v4l2 vorbis x264 xorg 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 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="radeon fglrx r600" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 SpanKY gentoo-dev 2012-05-03 02:12:59 UTC
attach the file /var/tmp/portage/sys-libs/glibc-2.14.1-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.map
Comment 4 Lucas Treffenstädt 2012-05-03 05:16:29 UTC
Created attachment 310657 [details]
/var/tmp/portage/sys-libs/glibc-2.14.1-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.mapT

I could only find librtld.mapT. Is this the correct file?
Comment 5 SpanKY gentoo-dev 2012-05-03 05:38:26 UTC
that log and map indicate that some hardening steps are enabled when they shouldn't be.  how exactly did you build your gcc ?  post the output of:
  emerge -pv gcc
as well as:
  gcc-config -l
Comment 6 Lucas Treffenstädt 2012-05-03 08:01:41 UTC
[mithodin@olimpia] ~ % emerge -pv sys-devel/gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   #] sys-devel/gcc-4.6.3  USE="cxx fortran gtk mudflap (multilib) nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -go -graphite (-hardened) (-libssp) -multislot -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla" 0 kB

[mithodin@olimpia] ~ % gcc-config -l
 [1] avr-4.5.3 *

 [2] x86_64-pc-linux-gnu-4.6.3 *
Comment 7 SpanKY gentoo-dev 2012-08-11 17:03:22 UTC
glibc-2.15 is stable now for x86/amd64