Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44719 - glibc has multiple definitions of _LIB_VERSION in libieee
Summary: glibc has multiple definitions of _LIB_VERSION in libieee
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-14 20:10 UTC by Seemant Kulleen (RETIRED)
Modified: 2004-11-23 21:46 UTC (History)
1 user (show)

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 Seemant Kulleen (RETIRED) gentoo-dev 2004-03-14 20:10:31 UTC
g++ -o ical cal_tcl.o dateeditor.o dispatch.o ical.o ical_tcl.o item_tcl.o object.o time_tcl.o  main.o calendar/libcalendar.a time/libtime.a types/libtypes.a -L/usr/lib -ltk8.4 -L/usr/lib -ltcl8.4  -L/usr/X11R6/lib -lX11 -ldl  -lpthread -lieee -lm -ldl  -lieee -lm
/usr/lib/libieee.a(.data+0x0): multiple definition of `_LIB_VERSION'
/usr/lib/libieee.a(.data+0x0): first defined here
collect2: ld returned 1 exit status
make: *** [ical] Error 1


---- I get that above error with `emerge ical`

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.4.25-pre7-gss-evms2)
=================================================================
System uname: 2.4.25-pre7-gss-evms2 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.4.3.13p1
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ftracer -fstack-protector"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ftracer -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs digest fixpackages noinfo sandbox"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="cvs://seemant@cvs.gentoo.org:/home/cvsroot"
USE="3dnow X aalib alsa apm avi bonobo crypt cscope dvd encode esd faad foomaticdb gdbm ggi gif gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jpeg lcd ldap libg++ libwww mad md5sum mikmod mmx mng motif moznocompose moznoirc moznomail mpeg music mysql nas ncurses nptl offensive ofx oggvorbis openal opengl oss pam pdflib perl png postgres python qt quicktime readline sasl sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype video_cards_radeon videos wmf x86 xface xml xml2 xmms xosd xv xvid zlib"
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2004-08-23 16:05:07 UTC
And from libvorbis...

/usr/lib/libieee.a(.data+0x0): multiple definition of `_LIB_VERSION'
/usr/lib/libm.a(s_lib_version.o)(.data+0x0): first defined here
collect2: ld returned 1 exit status


Portage 20040626 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.7-ck6 i686 mobile AMD Athlon(tm) XP 1800+)
=================================================================
System uname: 2.6.7-ck6 i686 mobile AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.7-r4
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -fforce-addr  -finline-limit=256 -fno-branch-count-reg -fmove-all-movables    -freduce-all-givs -fno-align-labels -fno-align-loops    -frename-registers -fweb -ffloat-store -fsingle-precision-constant      -ftracer -funit-at-a-time -funswitch-loops -fprefetch-loop-arrays       -fbranch-target-load-optimize2 -mieee-fp -mpreferred-stack-boundary=2   -mmmx -msse -m3dnow -mfpmath=sse -maccumulate-outgoing-args     -minline-all-stringops"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -fforce-addr        -finline-limit=256 -fno-branch-count-reg -fmove-all-movables   -freduce-all-givs -fno-align-labels -fno-align-loops     -frename-registers -fweb -ffloat-store -fsingle-precision-constant      -ftracer -funit-at-a-time -funswitch-loops -fprefetch-loop-arrays       -fbranch-target-load-optimize2 -mieee-fp -mpreferred-stack-boundary=2  -mmmx -msse -m3dnow -mfpmath=sse -maccumulate-outgoing-args      -minline-all-stringops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache livecvsportage sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/home/jason/gentoo-x86"
PORTDIR_OVERLAY="/home/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa arts avi berkdb cjk crypt dvd gif java jpeg mad mmx ncurses nls nptl oggvorbis opengl pam png python quicktime readline sdl sse ssl tiff truetype xinerama xv zlib"

jason@localhost /var/db/pkg/sys-libs/glibc-2.3.4.20040808 $ cat CFLAGS
-O2 -march=athlon-xp -fprefetch-loop-arrays -freorder-blocks -O2

CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" emerge libvorbis
No problems

Removing -ftracer (the commonality) from my crazy CFLAGS doesn't fix it. Will try to isolate further later, but looks like a gcc issue.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-08-23 18:17:24 UTC
dammit, this error doesn't happen for me any more.
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2004-08-24 04:53:37 UTC
...and my error is my own problem to deal with. Feel free to handle as you wish.
Comment 4 SpanKY gentoo-dev 2004-11-23 21:46:42 UTC
the problem occurs if you do '-lieee -lieee'

libieee is only provided in static form thus that link line pulls in to copies of the libieee.a archive

i'd say fix whatever package is doubling up the '-lieee'