Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132796 - glibc-2.4.r2 build fails, multiple definition of _itoa
Summary: glibc-2.4.r2 build fails, multiple definition of _itoa
Status: RESOLVED DUPLICATE of bug 94325
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-09 08:41 UTC by Michael Hill
Modified: 2006-05-09 08:43 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hill 2006-05-09 08:41:23 UTC
The tail end of the build:

...
a - elf/dl-iteratephdr.os
a - elf/dl-addr.os
a - elf/dl-profstub.os
a - elf/dl-libc.os
a - elf/dl-sym.os
a - elf/dl-tsd.os
a - elf/unwind-dw2-fde-glibc.os
a - elf/framestate.os
a - elf/unwind-pe.os
: /var/tmp/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/libc_pic.a
i686-pc-linux-gnu-gcc   -nostdlib -nostartfiles -r -o /var/tmp/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/librtld.map.o '-Wl,-(' /var/tmp/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/dl-allobjs.os /var/tmp/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/libc_pic.a -lgcc '-Wl,-)' -Wl,-Map,/var/tmp/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/librtld.mapT
/var/tmp/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/libc_pic.a(init-first.os):(.data+0x0): multiple definition of `__libc_multiple_libcs'
/var/tmp/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/dl-allobjs.os:(.bss+0x80): first defined here
/var/tmp/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/libc_pic.a(_itoa.os): In function `_itoa':
_itoa.c:(.text+0x130): multiple definition of `_itoa'
/var/tmp/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/dl-allobjs.os:: first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `_itoa' changed from 193 in /var/tmp/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/dl-allobjs.os to 505 in /var/tmp/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/libc_pic.a(_itoa.os)
collect2: ld returned 1 exit status
make[2]: *** [/var/tmp/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/librtld.map] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.4-r2/work/glibc-2.4/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.4-r2/work/glibc-2.4'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.4-r2 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  glibc-2.4-r2.ebuild, line 1180:   Called toolchain-glibc_src_compile
  glibc-2.4-r2.ebuild, line 264:   Called die

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

(The command preceding the 'ar' output was beyond the top of my terminal buffer.)

$ emerge --info
Portage 2.1_pre10-r2 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r6 i686)
=================================================================
System uname: 2.6.16-gentoo-r6 i686 Intel(R) Pentium(R) III Mobile CPU      1133MHz
Gentoo Base System version 1.12.0_pre19
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache digest distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/ http://www.gtlib.cc.gatech.edu/pub/gentoo/"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/usr/local/portage/gentoo-ebuilds"
SYNC="rsync://twmlinux.raleigh.ibm.com/gentoo-portage"
USE="x86 X Xaw3d acpi alsa audiofile avi bacula-clientonly bacula-console bash-completion bcmath berkdb bigger-fonts bitmap-fonts bzip2 bzlib caps cardbus cdparanoia cli client-only crypt ctype cups dba dbm dga dlloader dri dvd dvdread emerald encode exif fbcon flatfile foomaticdb gdbm gif gnutls gpm gtk gtk2 hardened hardenedphp icc-pgo imlib isdnlog jpeg libwww mad mbox mikmod mime mmap mmx moznoirc moznomail mozsvg mp3 mpeg ncurses no-old-linux nocd nomotif nptl nptlonly nsplugin ogg oggvorbis opengl pam pcmcia pcntl pcre pdflib perl png pnp posix ppds pppd python qt quicktime readline real reflection sdl session sharedmem simplexml sndfile sockets sox spell spl sse ssl sysvipc tcltk tcpd threads tidy toolbar truetype truetype-fonts type1-fonts usb vorbis win32codecs xanim xml xml2 xmms xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_savage"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

$ gcc-config -l
 [1] i686-pc-linux-gnu-3.3.5
 [2] i686-pc-linux-gnu-3.3.5-hardenednopie
 [3] i686-pc-linux-gnu-3.3.5-hardenednossp
 [4] i686-pc-linux-gnu-3.3.5-vanilla
 [5] i686-pc-linux-gnu-3.4.6 *
 [6] i686-pc-linux-gnu-3.4.6-hardenednopie
 [7] i686-pc-linux-gnu-3.4.6-hardenednopiessp
 [8] i686-pc-linux-gnu-3.4.6-hardenednossp
 [9] i686-pc-linux-gnu-3.4.6-vanilla

ISTR I had this problem on my Athlon system as well, because I have this masked there.  I haven't tried building it there in the last couple weeks....
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-09 08:43:23 UTC

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