# emerge -uv valgrind Calculating dependencies ...done! >>> emerge (1 of 1) dev-util/valgrind-2.4.0 to / >>> md5 src_uri ;-) valgrind-2.4.0.tar.bz2 >>> Unpacking source... >>> Unpacking valgrind-2.4.0.tar.bz2 to /home/portage/tmp/portage/valgrind-2.4.0/work * Changing configure to respect CFLAGS >>> Source unpacked. * econf: updating valgrind-2.4.0/config.guess with /usr/share/gnuconfig/config.guess * econf: updating valgrind-2.4.0/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-x [...] i686-pc-linux-gnu-gcc -I../../coregrind -I../../coregrind -I../.. -I../../coregrind/x86 -I../../coregrind/x86 -I../../coregrind/linux -I../../coregrind/x86-linux -I../../include -I../../include -I../../include/x86 -I../../include/linux -I../../include/x86-linux -Wa,-gstabs -Wno-long-long -c syscall.S if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../coregrind -I../../coregrind -I../.. -I../../coregrind/x86 -I../../coregrind/x86 -I../../coregrind/linux -I../../coregrind/x86-linux -I../../include -I../../include -I../../include/x86 -I../../include/linux -I../../include/x86-linux -Winline -Wall -Wshadow -O -g -Wno-long-long -MT syscalls.o -MD -MP -MF ".deps/syscalls.Tpo" -c -o syscalls.o syscalls.c; \ then mv -f ".deps/syscalls.Tpo" ".deps/syscalls.Po"; else rm -f ".deps/syscalls.Tpo"; exit 1; fi syscalls.c: In function `start_thread': syscalls.c:261: erreur: ne peut rep
# emerge -uv valgrind Calculating dependencies ...done! >>> emerge (1 of 1) dev-util/valgrind-2.4.0 to / >>> md5 src_uri ;-) valgrind-2.4.0.tar.bz2 >>> Unpacking source... >>> Unpacking valgrind-2.4.0.tar.bz2 to /home/portage/tmp/portage/valgrind-2.4.0/work * Changing configure to respect CFLAGS >>> Source unpacked. * econf: updating valgrind-2.4.0/config.guess with /usr/share/gnuconfig/config.guess * econf: updating valgrind-2.4.0/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-x [...] i686-pc-linux-gnu-gcc -I../../coregrind -I../../coregrind -I../.. -I../../coregrind/x86 -I../../coregrind/x86 -I../../coregrind/linux -I../../coregrind/x86-linux -I../../include -I../../include -I../../include/x86 -I../../include/linux -I../../include/x86-linux -Wa,-gstabs -Wno-long-long -c syscall.S if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../coregrind -I../../coregrind -I../.. -I../../coregrind/x86 -I../../coregrind/x86 -I../../coregrind/linux -I../../coregrind/x86-linux -I../../include -I../../include -I../../include/x86 -I../../include/linux -I../../include/x86-linux -Winline -Wall -Wshadow -O -g -Wno-long-long -MT syscalls.o -MD -MP -MF ".deps/syscalls.Tpo" -c -o syscalls.o syscalls.c; \ then mv -f ".deps/syscalls.Tpo" ".deps/syscalls.Po"; else rm -f ".deps/syscalls.Tpo"; exit 1; fi syscalls.c: In function `start_thread': syscalls.c:261: erreur: ne peut repérer un registre dans la classe « BREG » durant le rechargement «asm » make[4]: *** [syscalls.o] Erreur 1 make[4]: Leaving directory `/home/portage/tmp/portage/valgrind-2.4.0/work/valgrind-2.4.0/coregrind/x86-linux' make[3]: *** [all-recursive] Erreur 1 make[3]: Leaving directory `/home/portage/tmp/portage/valgrind-2.4.0/work/valgrind-2.4.0/coregrind' make[2]: *** [all] Erreur 2 make[2]: Leaving directory `/home/portage/tmp/portage/valgrind-2.4.0/work/valgrind-2.4.0/coregrind' make[1]: *** [all-recursive] Erreur 1 make[1]: Leaving directory `/home/portage/tmp/portage/valgrind-2.4.0/work/valgrind-2.4.0' make: *** [all] Erreur 2 !!! ERROR: dev-util/valgrind-2.4.0 failed. !!! Function src_compile, Line 41, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. But my CFLAGS are "-march=athlon-xp -O3 -pipe" Looks like my CFLAGS are not respected despite what the ebuild wrote... I think configure.in and so configure changed since version 2.2 and I've changed : sed -i -e 's:CFLAGS="":#CFLAGS="":' configure to sed -i -e 's:CFLAGS="-Wno-long-long":#CFLAGS="-Wno-long-long":' configure and the build was successful Reproducible: Always Steps to Reproduce: Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 AMD Duron(tm) Gentoo Base System version 1.6.10 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1, Feb 17 2005, 21:04:17)] dev-lang/python: 2.2.3-r5, 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.9.5, 1.8.5-r3, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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 -O3 -pipe" DISTDIR="/home/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.mirror.sdv.fr" LANG="en_US" LC_ALL="C" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/portage/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X X509 a52 aac aalib acl acpi acpi4linux alsa apm avi bash-completion berkdb bitmap-fonts bonobo cdr chroot codecs crypt cups curl dga dillo directfb dnd dts dv dvd dvdread emboss encode erandom esd ethereal exif faac faad fam fame fbcon ffmpeg flac font-server foomaticdb fortran gd gdbm ggi gif gimp gimpprint gnome gnomedb gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml hal hardened imagemagick imlib java jikes jp2 jpeg jpeg2k junit libcaca libg++ libwww live lzo mad mailwrapper matroska md5sum mikmod mime mjpeg mmx mmx2 mng motif mozilla moznoirc moznomail mozsvg mp3 mpeg mpeg4 mplayer ncurses network nls nptl ntlm nvidia offensive ogg oggvorbis opengl oss pam pcap pdflib perl physfs pic pie png ppds python qt quicktime readline real rtc scanner sdl slang smime speex spell sse ssl stencil-buffer stream svg svga tcltk tcpd tetex tga theora tiff transcode truetype truetype-fonts type1-fonts unicode usb userlocales vidix vim-with-x vlm vorbis wmf xanim xface xine xml xml2 xmms xosd xprint xv xvid xvmc yv12 zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
Seems I've been tricked by the same bug twice. Thanks for the report. The fix is in portage.