Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
Current valgrind is by default compiled with --enable-pie. On amd64 if I run it, it enters an endless loop hogging the cpu (I can see the cpu is 100% in kernel mode). My kernel allow me to continue to use my computer but the only way to kill valgrind is to reboot. Reproducible: Always Steps to Reproduce: 1.emerge valgrind 2.valgrind Actual Results: endless loop hogging the cpu in kernel mode Expected Results: It should at least output: valgrind: no program specified valgrind: Use --help for more information. If I recompile it by hand without --enable-pie all works weel (excepts I cannot address more than 2Gb as they stated on valgrind website) Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-rc6-sk2 x86_64) ================================================================= System uname: 2.6.13-rc6-sk2 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.12.0_pre6 ccache version 2.4 [disabled] dev-lang/python: 2.3.5, 2.4.1-r1 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe" CHOST="x86_64-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/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/service" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.unina.it/pub/linux/distributions/gentoo ftp://ftp.unina.it/pub/linux/distributions/gentoo http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ http://ibiblio.org/pub/Linux/MIRRORS.html " LANG="it_IT@euro" LC_ALL="it_IT" LINGUAS="it" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="amd64 3dnow 3dnowext X a52 aac aalib acpi alsa arts audiofile avi bash-completion bash-completition bcmath berkdb bindist bitmap-fonts bluetooth bonobo browserplugin bzlib caps cdparanoia cdr cpudetection crypt css ctype cups curl dbm dbus dbx dga doc dts dv dvb dvd dvdr dvdread eds encode esd exif expat fame fbcon ffmpeg fftw flac flash foomaticdb fortran freetype ftp gb gd gdbm gif gimpprint glut gmp gphoto2 gpm gtk gtk2 gtkhtml guile hal howl iconv ieee1394 imagemagick imap imlib innodb ipv6 java javascript jpeg jpeg2k junit kde kdeenablefinal kernel_linux lcms ldap lesstif libcaca libedit libgda libwww lirc live lm_sensors logitech logitech-mouse lzo lzw lzw-tiff mad mhash mikmod mime mmap mmx mmx2 mmxext mng motif mozilla mp3 mpeg msn musepack mysql mysqli ncurses nls nptl ogg oggvorbis openal openexr opengl pam pcmcia pcre pdflib perl plotutils plugin png posix postgres ppds python qt quicktime readline real rtc samba scanner sdl session sharedext sharedmem simplexml slang sndfile snmp soap sockets sox speex spell spl sqlite sse sse2 ssl sumlink svg sysvipc szip tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd videos visualization vorbis wifi win32codecs wmf wxwindows xanim xface xine xinerama xml xml2 xmlrpc xmms xosd xpm xsl xv xvid xvmc zeroconf zlib linguas_it userland_GNU elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Is this the same thing as https://bugs.gentoo.org/show_bug.cgi?id=103898 and its corresponding upstream bug report http://bugs.kde.org/show_bug.cgi?id=109861 ? Does the problem disappear when built without PIE?
(In reply to comment #1) > Is this the same thing as https://bugs.gentoo.org/show_bug.cgi?id=103898 and its Well, this is bug 103898 :-D > corresponding upstream bug report http://bugs.kde.org/show_bug.cgi?id=109861 ? Yes I think. > > Does the problem disappear when built without PIE? Yes it disappear and all works well
Alright. The next valgrind version is supposed to be released in a few days. I will address this problem then.
Oh man! I only just realised that the link I pasted was to this bug. =] What I meant was... is it the same as this one: http://bugs.gentoo.org/show_bug.cgi?id=102157
Should be fixed in 3.0.1, because it doesn't build with PIE anymore. *** This bug has been marked as a duplicate of 102157 ***
Yes, you are right. This is a duplicate bug. Sorry for that :-)