Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 130122

Summary: coreutils-5.94-r1 and USE="static" fails to link
Product: Gentoo Linux Reporter: Janvie <janvie>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Janvie 2006-04-15 20:55:00 UTC
emerge info

Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -mmmx -m3dnow -msse -fforce-addr -funroll-loops -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -fexpensive-optimizations"
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="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -mmmx -m3dnow -msse -fforce-addr -funroll-loops -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -fexpensive-optimizations -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache digest distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en en_US es es_AR en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aalib acl acpi alsa apm audiofile avi bitmap-fonts bzip2 bzlib cdr crypt cups curl dbus dga dio dri emboss exif expat fam foomaticdb gd gif glut gmp gpm gstreamer gtk gtk2 hal idn imlib isdnlog java jikes jpeg junit kde kdeenablefinal kdexdeltas lcms libcaca libg++ libwww mad mmx mng motif mp3 mpeg ncurses nls nptl nptlonly offensive ogg oggvorbis opengl pam pcre perl pic pie png posix pppd pthreads python qt quicktime readline samba sdl shared sharedmem slang sockets spell sse ssl svg tcltk tcpd threads tiff truetype truetype-fonts type1-fonts udev usb vorbis wmf xine xml2 xprint xv xvid zlib linguas_en linguas_en_US linguas_es linguas_es_AR linguas_en_GB userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS

error message:


i686-pc-linux-gnu-gcc  -march=athlon-xp -mtune=athlon-xp -O2 -pipe -mmmx -m3dnow -msse -fforce-addr -funroll-loops -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -fexpensive-optimizations  -static -o dircolors  dircolors.o ../lib/libcoreutils.a  ../lib/libcoreutils.a
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libc.a(regex.o):(.rodata+0x0): multiple definition of `__re_error_msgid_idx'
../lib/libcoreutils.a(regex.o):(.rodata+0x0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libc.a(regex.o):(.rodata+0x60): multiple definition of `__re_error_msgid'
../lib/libcoreutils.a(regex.o):(.rodata+0x60): first defined here
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-16 02:29:14 UTC
Sorry, we don't have time to debug "Holy cow, my box is glowin'!" bugs. Try with sane C[XX]FLAGS.
Comment 2 Janvie 2006-04-16 08:36:22 UTC
do I have to re-emerge glibc with the new cflags or it suffice to emerge coreutils?
TIA
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-04-16 08:48:26 UTC
(In reply to comment #2)
> do I have to re-emerge glibc with the new cflags or it suffice to emerge
> coreutils?

Uh, preferably -e system at least ;) File a new bug if you get problems then.