like in bug 290000 several packages fail here e.g. app-arch/xz-utils sparc.c:(.text+0x130): multiple definition of `wcstombs' .libs/liblzma_la-common.o:common.c:(.text+0x534): first defined here .libs/liblzma_la-sparc.o: In function `mbstowcs': sparc.c:(.text+0x135): multiple definition of `mbstowcs' .libs/liblzma_la-common.o:common.c:(.text+0x539): first defined here .libs/liblzma_la-sparc.o: In function `wctomb': sparc.c:(.text+0x13a): multiple definition of `wctomb' .libs/liblzma_la-common.o:common.c:(.text+0x53e): first defined here .libs/liblzma_la-sparc.o: In function `ptsname_r': sparc.c:(.text+0x13f): multiple definition of `ptsname_r' .libs/liblzma_la-common.o:common.c:(.text+0x543): first defined here .libs/liblzma_la-sparc.o: In function `realpath': sparc.c:(.text+0x144): multiple definition of `realpath' .libs/liblzma_la-common.o:common.c:(.text+0x548): first defined here collect2: ld returned 1 exit status make[4]: *** [liblzma.la] Error 1 make[4]: Leaving directory `/tmp/justin/portage/app-arch/xz-utils-4.999.9_beta/work/xz-4.999.9beta/src/liblzma' It only happens with >=gcc-4.3. If you need more ifno or request test, tell me which or what.
$ emerge --info Portage 2.2.00.14701-prefix (prefix/linux/amd64, gcc-4.2.4, unavailable, 2.6.18.8-0.10-default x86_64) ================================================================= System uname: Linux-2.6.18.8-0.10-default-x86_64-Intel-R-_Xeon-R-_CPU_5160_@_3.00GHz-with-SuSE-10.2-X86-64 Timestamp of tree: Fri, 23 Oct 2009 08:25:15 +0000 app-shells/bash: 4.0_p33-r00.1 dev-lang/python: 2.6.2-r2 sys-devel/autoconf: 2.63-r01.1 sys-devel/automake: 1.10.2-r00.1, 1.11 sys-devel/binutils: 2.19.51.0.14 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.2.6a-r00.2 virtual/os-headers: 2.6.30-r1 ABI="amd64" ACCEPT_KEYWORDS="~amd64-linux" ACCEPT_LICENSE="* -@EULA" ACCEPT_PROPERTIES="*" ACLOCAL_FLAGS="-I /opt/gnome/share/aclocal" 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 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" ARCH="amd64" ASFLAGS_x86="--32" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CDEFINE_amd64="__x86_64__" CDEFINE_x86="__i386__" CFLAGS="-O2 -march=nocona -pipe" CFLAGS_x86="-m32" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x86="i686-pc-linux-gnu" CLEAN_DELAY="5" COLLISION_IGNORE="/lib/modules" COLORTERM="1" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo" CPU="x86_64" CSHEDIT="emacs" CSHRCREAD="true" CVS_RSH="ssh" CXXFLAGS="-O2 -march=nocona -pipe" DEFAULT_ABI="default" DEFAULT_PATH="/home/anubis/justin/prefix/usr/bin:/home/anubis/justin/prefix/usr/sbin:/home/anubis/justin/prefix/bin:/home/anubis/justin/prefix/sbin:/home/anubis/justin/prefix/bin:/usr/bin:/bin" DISTDIR="/tmp/justin" EDITOR="/home/anubis/justin/prefix/bin/nano" ELIBC="glibc" EMERGE_DEFAULT_OPTS="-t --verbose --jobs=9 --load-average=8 --keep-going" EMERGE_WARNING_DELAY="10" ENV="/etc/bash.bashrc" EPREFIX="/home/anubis/justin/prefix" EROOT="/home/anubis/justin/prefix/" F77="gfortran" FCFLAGS="-O2 -march=nocona -pipe" FEATURES="assume-digests collision-protect distlocks fixpackages news noinfo parallel-fetch preserve-libs protect-owned sfperms split-debug strict unmerge-logs unmerge-orphans userfetch" FETCHCOMMAND="/home/anubis/justin/prefix/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" FFLAGS="-O2 -march=nocona -pipe" FORTRANC="gfortran" FROM_HEADER="" GCC_SPECS="" GENTOO_MIRRORS="http://gentoo.j-schmitz.net/mirror/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/" GNOME2_PATH="/usr/local:/opt/gnome:/usr" GROFF_NO_SGR="yes" GROUP="ibi" GTK_PATH="/usr/local/lib/gtk-2.0:/opt/gnome/lib/gtk-2.0:/usr/lib/gtk-2.0" GTK_PATH64="/usr/local/lib64/gtk-2.0:/opt/gnome/lib64/gtk-2.0:/usr/lib64/gtk-2.0" G_BROKEN_FILENAMES="1" G_FILENAME_ENCODING="@locale,UTF-8,ISO-8859-1,CP1252" HISTCONTROL="ignoredups" HOME="/home/anubis/justin" HOST="sarastro" HOSTNAME="sarastro.ibi.kfa-juelich.de" HOSTTYPE="x86_64" INFODIR="/usr/local/info:/usr/share/info:/usr/info" INFOPATH="/home/anubis/justin/prefix/usr/share/info:/home/anubis/justin/prefix/usr/share/gcc-data/x86_64-pc-linux-gnu/4.2.4/info" INPUTRC="/etc/inputrc" INPUT_DEVICES="keyboard mouse" JAVA_BINDIR="/usr/lib64/jvm/jre/bin" JAVA_HOME="/usr/lib64/jvm/jre" JAVA_ROOT="/usr/lib64/jvm/jre" JRE_HOME="/usr/lib64/jvm/jre" KERNEL="linux" LANG="de_DE.UTF-8" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common" LDFLAGS_x86="-m elf_i386" LESS="-R -M --shift 5" LESSCLOSE="lessclose.sh %s %s" LESSKEY="/etc/lesskey.bin" LESSOPEN="|lesspipe.sh %s" LESS_ADVANCED_PREPROCESSOR="no" LIBDIR_amd64="lib" LIBDIR_amd64_fbsd="lib64" LIBDIR_ppc="lib32" LIBDIR_ppc64="lib64" LIBDIR_sparc32="lib32" LIBDIR_sparc64="lib64" LIBDIR_x86="lib32" LIBDIR_x86_fbsd="lib32" LINGUAS="en" LOGNAME="justin" LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:" LS_OPTIONS="-N --color=none -T 0" MACHTYPE="x86_64-suse-linux" MAIL="/var/mail/justin" MAKEOPTS="-j24 -l8" MANPATH="/home/anubis/justin/prefix/usr/share/man:/home/anubis/justin/prefix/usr/share/binutils-data/x86_64-pc-linux-gnu/2.19.51.0.14/man:/home/anubis/justin/prefix/usr/share/gcc-data/x86_64-pc-linux-gnu/4.2.4/man:/usr/share/man" MINICOM="-c on" MORE="-sl" MULTILIB_ABIS="amd64" MULTILIB_STRICT_DENY="64-bit.*shared object" MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib" MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)" NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" NNTPSERVER="news" OSTYPE="linux" PAGER="/home/anubis/justin/prefix/usr/bin/less" PATH="/home/anubis/justin/prefix/usr/bin:/home/anubis/justin/prefix/bin:/home/anubis/justin/prefix/opt/bin:/home/anubis/justin/prefix/usr/sbin:/home/anubis/justin/prefix/sbin:/home/anubis/justin/prefix/usr/x86_64-pc-linux-gnu/binutils-bin/2.19.51.0.14:/home/anubis/justin/prefix/usr/x86_64-pc-linux-gnu/gcc-bin/4.2.4:/usr/bin:/bin" PKGDIR="/home/anubis/justin/prefix/usr/portage/packages" PKG_CONFIG_PATH="/home/anubis/justin/prefix/usr/lib/pkgconfig:/home/anubis/justin/prefix/usr/share/pkgconfig" PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 x86-macos x64-openbsd ia64-hpux hppa x86-netbsd amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_BIN_PATH="/home/anubis/justin/prefix/usr/lib/portage/bin" PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png" PORTAGE_CONFIGROOT="/home/anubis/justin/prefix/" PORTAGE_DEBUG="0" PORTAGE_DEPCACHEDIR="/home/anubis/justin/prefix/var/cache/edb/dep" PORTAGE_ECLASS_WARNING_ENABLE="0" PORTAGE_ELOG_CLASSES="info warn error log" PORTAGE_ELOG_MAILFROM="justin@localhost" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" PORTAGE_ELOG_MAILURI="justin" PORTAGE_ELOG_SYSTEM="save echo" PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5" PORTAGE_FETCH_RESUME_MIN_SIZE="350K" PORTAGE_GID="152" PORTAGE_GROUP="ibi" PORTAGE_INST_GID="152" PORTAGE_INST_UID="2069" PORTAGE_PYM_PATH="/home/anubis/justin/prefix/usr/lib/portage/pym" PORTAGE_ROOT_USER="justin" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_RSYNC_RETRIES="3" PORTAGE_TMPDIR="/tmp/justin" PORTAGE_USER="justin" PORTAGE_VERBOSE="1" PORTAGE_WORKDIR_MODE="0700" PORTDIR="/home/anubis/justin/prefix/usr/portage" PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND" PWD="/home/anubis/justin" PYTHONSTARTUP="/etc/pythonstart" QT_SYSTEM_DIR="/usr/share/desktop-data" RESUMECOMMAND="/home/anubis/justin/prefix/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" ROOT="/" ROOTPATH="/home/anubis/justin/prefix/opt/bin:/home/anubis/justin/prefix/usr/x86_64-pc-linux-gnu/binutils-bin/2.19.51.0.14:/home/anubis/justin/prefix/usr/x86_64-pc-linux-gnu/gcc-bin/4.2.4" RPMDIR="/home/anubis/justin/prefix/usr/portage/rpm" SHELL="/home/anubis/justin/prefix/bin/bash" SHLVL="3" SSH_AUTH_SOCK="/tmp/ssh-UnMRo20101/agent.20101" SSH_CLIENT="134.94.112.254 54066 22" SSH_CONNECTION="134.94.112.254 54066 134.94.85.97 22" SSH_TTY="/dev/pts/0" STAGE1_USE="nptl nptlonly unicode" SYMLINK_LIB="" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" TERM="rxvt-unicode" TEXINPUTS=":/home/anubis/justin/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX" USE="X amd64 bash-completion berkdb bzip2 c++ cli cracklib crypt cxx dri gdbm gmp iconv isdnlog lzma mmx modules mudflap nano-syntax ncurses nptl nptlonly openmp pcre perl png pppd prefix python readline reflection session spl sse sse2 ssl sysfs tcpd threads tk truetype unicode 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 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" USERLAND="GNU" VIDEO_CARDS="fglrx" USER="justin" USERLAND="GNU" USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS" USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND" USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d" VENDOR="suse" VIDEO_CARDS="fglrx" WINDOWMANAGER="/usr/bin/kde" XCURSOR_THEME="crystalwhite" XDG_CONFIG_DIRS="/usr/local/etc/xdg/:/etc/xdg/:/etc/opt/gnome/xdg/" XDG_DATA_DIRS="/usr/local/share/:/usr/share/:/etc/opt/kde3/share/:/opt/kde3/share/:/opt/gnome/share/" XKEYSYMDB="/usr/share/X11/XKeysymDB" XNLSPATH="/usr/share/X11/nls" _="/home/anubis/justin/prefix/usr/bin/emerge"
(specific to SUSE/SLES)
This bug does not seem to be specific to SUSE, I'm also able to reproduce it on x86_64 RHEL5. Emerging sys-devel/gcc-4.2* at first and then using USE=vanilla for sys-devel/gcc-4.4*, I'm able to do a successful bootstrap run. The reason for the multiple definitions must be somewhere within the Gentoo patches.
(In reply to comment #3) > This bug does not seem to be specific to SUSE, I'm also able to reproduce it on > x86_64 RHEL5. Let me clarify, Comment #2 was made because there are no such errors on x86_64 RHEL4... > > Emerging sys-devel/gcc-4.2* at first and then using USE=vanilla for > sys-devel/gcc-4.4*, I'm able to do a successful bootstrap run. The reason for > the multiple definitions must be somewhere within the Gentoo patches. >
*** Bug 306941 has been marked as a duplicate of this bug. ***
Which version of glibc does the host os provide? Could this be related to _FORTIFY_SOURCE, much like bug#263938 ?
*** This bug has been marked as a duplicate of bug 289757 ***