Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135303 - valgrind 3.1.1 build error
Summary: valgrind 3.1.1 build error
Status: RESOLVED DUPLICATE of bug 129776
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-02 11:51 UTC by Mariusz Kozlowski
Modified: 2006-06-02 11:56 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 Mariusz Kozlowski 2006-06-02 11:51:50 UTC
Hello, when upgrading valgring from 2.4.0 to 3.1.1 I get the error you can see below. On other box I use with gento 2006.0 valgrind compiles fine. Ok. Here it goes:

# emerge valgrind -av

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] dev-util/valgrind-3.1.1 [2.4.0] +X 0 kB 

...

[snip]

...

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 -fno-stack-protector -O -g -Wmissing-prototypes -Winline -Wall -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -march=pentium4 -O3 -pipe -mmmx -msse -msse2 -Wno-long-long -MT libcoregrind_x86_linux_a-m_hashtable.o -MD -MP -MF ".deps/libcoregrind_x86_linux_a-m_hashtable.Tpo" -c -o libcoregrind_x86_linux_a-m_hashtable.o `test -f 'm_hashtable.c' || echo './'`m_hashtable.c; \
then mv -f ".deps/libcoregrind_x86_linux_a-m_hashtable.Tpo" ".deps/libcoregrind_x86_linux_a-m_hashtable.Po"; else rm -f ".deps/libcoregrind_x86_linux_a-m_hashtable.Tpo"; exit 1; fi
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 -fno-stack-protector -O -g -Wmissing-prototypes -Winline -Wall -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -march=pentium4 -O3 -pipe -mmmx -msse -msse2 -Wno-long-long -MT libcoregrind_x86_linux_a-m_libcbase.o -MD -MP -MF ".deps/libcoregrind_x86_linux_a-m_libcbase.Tpo" -c -o libcoregrind_x86_linux_a-m_libcbase.o `test -f 'm_libcbase.c' || echo './'`m_libcbase.c; \
then mv -f ".deps/libcoregrind_x86_linux_a-m_libcbase.Tpo" ".deps/libcoregrind_x86_linux_a-m_libcbase.Po"; else rm -f ".deps/libcoregrind_x86_linux_a-m_libcbase.Tpo"; exit 1; fi
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 -fno-stack-protector -O -g -Wmissing-prototypes -Winline -Wall -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -march=pentium4 -O3 -pipe -mmmx -msse -msse2 -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}:800: 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.1/work/valgrind-3.1.1/coregrind'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/valgrind-3.1.1/work/valgrind-3.1.1/coregrind'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/valgrind-3.1.1/work/valgrind-3.1.1'
make: *** [all] Error 2

!!! ERROR: dev-util/valgrind-3.1.1 failed.
!!! Function src_compile, Line 61, Exitcode 2
!!! Make failed!
!!! If you need support, post the topmost build error, NOT this status message.

-------------------------------------------------------------------------------

Portage 2.0.54-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.6-r3, 2.6.16-gentoo-r4 i686)
=================================================================
System uname: 2.6.16-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -mmmx -msse -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -mmmx -msse -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="pl en"
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 X acpi alsa arts audiofile avi berkdb bitmap-fonts bzip2 cli crypt cscope cups curl dri dts eds emboss encode ethereal exif expat fam foomaticdb fortran gdbm gif glut gmp gphoto2 gstreamer gtk gtk2 idn imagemagick imlib isdnlog java jpeg junit kde lcms libg++ libwww mad mikmod mmx mmxext mng motif mp3 mpeg ncurses network nls nsplugin ogg oggvorbis openal opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection samba sdl session slang spell spl sse sse2 ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis xml2 xmms xorg xv xvid zlib linguas_pl linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-02 11:56:42 UTC
Don't restrict bugs without any reason, please. Also, upgrade your gcc to latest stable before reporting any compilation bugs.


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