Portage 2.0.48-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.6.0-test1 i686 Pentium III (Coppermine) GENTOO_MIRRORS="ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="3dnow apm cups encode foomaticdb libg++ mad mikmod nls quicktime spell xv gtkhtml gdbm berkdb slang tetex bonobo svga guile tcpd pam imlib gtk motif X kde -gnome -gnome2 aalib arts avi cdr crypt dvd esd gif gpm icc java jpeg ldap libwww memlimit mmx mozilla mpeg mpi ncurses oav oggvorbis opengl oss pdflib perl png python qt readline samba sdl sse ssl truetype usb xml xml2 xmms zlib x86 ~x86 alsa tcltk" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" Reproducible: Always Steps to Reproduce: 1. Install and boot 2.6.0-test1 linux kernel (presumably anything 2.5.x or later) 2. emerge valgrind Actual Results: checking for the kernel version... unsupported (2.6.0-test1) configure: error: Valgrind works on kernels 2.2 and 2.4 !!! ERROR: dev-util/valgrind-2.0_pre20030725 failed. !!! Function econf, Line 320, Exitcode 1 !!! econf failed Simply adding 2.6.* cases to configure and configure.in (and config.in.h) seems to work for me, but I am just using it casually.
Joseph, Ok I have created a small patch that will allow valgrind-2.0_pre20030725 to compile on 2.6 (Not sure about run) I would appreciate it if you or somebody else could please test its functionality on 2.6 and report back results here. emerge sync ACCEPT_KEYWORDS="~x86" emerge valgrind
I will say that this works. The only issue I have is that when compiling with only -W*, -pedantic, and -g flags, I get the following from valgrind: Syscall param write(buf) contains uninitialised or unadressable byte(s) IN SUMMARY: 1 errors from 1 contexts (supressed 0 from 0) at 0x4033B4B8 __GI___libc_write (in /lib/libc-2.3.2.so) by 0x402D995D: new_do_write (in /lib/libc-2.3.2.so) by 0x402D98F5: _IO_do_write@@GLIBC_2.1 (in /lib/libc-2.3.2.so) by 0x402D9237: _IO_file_close_it@@GLIBC_2.1 (in /lib/libc-2.3.2.so) Address 0x412490C5 is not stack'd, malloc'd, or free'd I also get this when I compile with -O3 and -pg. It may just be something that needs to be added to the default suppression, until it gets fixed for real?
valgrind is in need of a gentoo maintainer.
We don't really need this. It's not really something that we have the capacity for more packages at the moment. --kernel team
As I told solar on irc yesterday, give it a shot with 20031012 (which I suggested he update to, as it is as usual a vast improvement over the previous release). Should work vanilla. Lemme know if it doesn't.
what's the story joseph?
No response - closing and assuming fixed in lastest valgrind.
Sorry for falling off the face of the earth for so long. It looks like the 2.0 final ebuild does not require the patch, so you can remove it. To be more specific, the patch can no longer be applied and will cause emerge to fail.