emerge dev-util/valgrind-3.1.0 fails to compile m_libcassert.c: ... if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../coregrind -I.. -I../coregrind/x86 -I../coregrind/linux -I../coregrind/x86-linux -I../include -I../VEX/pub -DVG_PLATFORM="\"x86-linux\"" -DVGA_x86=1 -DVGO_linux=1 -DVGP_x86_linux=1 -DVG_LIBDIR="\"/usr/lib/valgrind"\" -m32 -mpreferred-stack-boundary=2 -O -g -Wmissing-prototypes -Winline -Wall -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -O3 -march=i686 -pipe -fno-pie -Wno-long-long -MT libcoregrind_x86_linux_a-m_libcassert.o -MD -MP -MF ".deps/libcoregrind_x86_linux_a-m_libcassert.Tpo" -c -o libcoregrind_x86_linux_a-m_libcassert.o `test -f 'm_libcassert.c' || echo './'`m_libcassert.c; \ then mv -f ".deps/libcoregrind_x86_linux_a-m_libcassert.Tpo" ".deps/libcoregrind_x86_linux_a-m_libcassert.Po"; else rm -f ".deps/libcoregrind_x86_linux_a-m_libcassert.Tpo"; exit 1; fi {standard input}: Assembler messages: {standard input}:977: Error: symbol `m_libcassert_get_ip' is already defined make[3]: *** [libcoregrind_x86_linux_a-m_libcassert.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/valgrind-3.1.0/work/valgrind-3.1.0/coregrind' Reproducible: Always Steps to Reproduce: 1. emerge valgrind 2. build will bail on m_libcassert.c Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r3, 2.6.14-gentoo i686) ================================================================= System uname: 2.6.14-gentoo i686 Pentium III (Coppermine) Gentoo Base System version 1.12.0_pre11 dev-lang/python: 2.3.4-r1, 2.4.2 sys-apps/sandbox: 1.2.16 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-r1 sys-devel/libtool: 1.5.20-r1 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts artswrappersuid audiofile avi berkdb bitmap-fonts bzip2 cdparanoia cdr crypt cups curl directfb dvd dvdr eds emacs emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 guile idn imagemagick imlib ipv6 jack java jpeg junit kde lcms lesstif libg++ libwww lirc lm_sensors lua mad maildir mikmod mikmodmotif mime mmap mng motif mp3 mpeg mysql mysqli nas ncurses new-login nis nls offensive ogg oggvorbis openal opengl oss pam pcre pdflib perl pic png postgres ppds python qt quicktime readline recode samba sdl sharedmem slang sndfile sockets spell sqlite sse ssl svga tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs x86 xine xinerama xls xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
*** This bug has been marked as a duplicate of 114431 ***
yes, i686-pc-linux-gnu-3.3.6 was the issue. switching to i686-pc-linux-gnu-3.4.4 (gcc-config i686-pc-linux-gnu-3.4.4) fixed the problem. thanks for the help! :)
Thanks for reporting back, closing.