[Bug 613856] New: valgrind: unusable without debuginfo on x86_64
http://bugzilla.novell.com/show_bug.cgi?id=613856 http://bugzilla.novell.com/show_bug.cgi?id=613856#c0 Summary: valgrind: unusable without debuginfo on x86_64 Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: Linux Status: NEW Severity: Major Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: jengelh@medozas.de QAContact: qa@suse.de Found By: Beta-Customer Blocker: --- 20:58 borg:/dev/shm > cat test.c int main(void) { } 20:58 borg:/dev/shm > gcc test.c -o test -m32 20:58 borg:/dev/shm > valgrind ./test ==10255== Memcheck, a memory error detector ==10255== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==10255== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==10255== Command: ./test ==10255== ==10255== ==10255== HEAP SUMMARY: ==10255== in use at exit: 0 bytes in 0 blocks ==10255== total heap usage: 0 allocs, 0 frees, 0 bytes allocated ==10255== ==10255== All heap blocks were freed -- no leaks are possible ==10255== ==10255== For counts of detected and suppressed errors, rerun with: -v ==10255== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 3 from 3) 20:58 borg:/dev/shm > gcc test.c -o test -m64 20:58 borg:/dev/shm > valgrind ./test ==10265== Memcheck, a memory error detector ==10265== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==10265== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==10265== Command: ./test ==10265== valgrind: Fatal error at startup: a function redirection valgrind: which is mandatory for this platform-tool combination valgrind: cannot be set up. Details of the redirection are: valgrind: valgrind: A must-be-redirected function valgrind: whose name matches the pattern: strlen valgrind: in an object with soname matching: ld-linux-x86-64.so.2 valgrind: was not found whilst processing valgrind: symbols from the object with soname: ld-linux-x86-64.so.2 valgrind: valgrind: Possible fixes: (1, short term): install glibc's debuginfo valgrind: package on this machine. (2, longer term): ask the packagers valgrind: for your Linux distribution to please in future ship a non- valgrind: stripped ld.so (or whatever the dynamic linker .so is called) valgrind: that exports the above-named function using the standard valgrind: calling conventions for this platform. valgrind: valgrind: Cannot continue -- exiting now. Sorry. Installing -debuginfo makes it work, but I wonder why this is only required for 64-bit. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=613856
http://bugzilla.novell.com/show_bug.cgi?id=613856#c
Philipp Thomas
http://bugzilla.novell.com/show_bug.cgi?id=613856
http://bugzilla.novell.com/show_bug.cgi?id=613856#c1
Dirk Mueller
http://bugzilla.novell.com/show_bug.cgi?id=613856
http://bugzilla.novell.com/show_bug.cgi?id=613856#c2
Jan Engelhardt
http://bugzilla.novell.com/show_bug.cgi?id=613856
http://bugzilla.novell.com/show_bug.cgi?id=613856#c3
Dirk Mueller
http://bugzilla.novell.com/show_bug.cgi?id=613856
http://bugzilla.novell.com/show_bug.cgi?id=613856#c4
Jan Engelhardt
http://bugzilla.novell.com/show_bug.cgi?id=613856
http://bugzilla.novell.com/show_bug.cgi?id=613856#c5
--- Comment #5 from Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=613856
https://bugzilla.novell.com/show_bug.cgi?id=613856#c6
Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=613856
https://bugzilla.novell.com/show_bug.cgi?id=613856#c
Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=613856
https://bugzilla.novell.com/show_bug.cgi?id=613856#c7
Thomas König
https://bugzilla.novell.com/show_bug.cgi?id=613856
https://bugzilla.novell.com/show_bug.cgi?id=613856#c8
Christoph Bartoschek
https://bugzilla.novell.com/show_bug.cgi?id=613856
https://bugzilla.novell.com/show_bug.cgi?id=613856#c9
Thomas König
https://bugzilla.novell.com/show_bug.cgi?id=613856
https://bugzilla.novell.com/show_bug.cgi?id=613856#c10
--- Comment #10 from Jan Engelhardt
rpm -q valgrind glibc valgrind-3.5.0-9.1.x86_64 glibc-2.11.2-3.3.1.x86_64 (shipped was 2.11.2-2.4)
15:39 borg:/dev/shm > gcc test.c -o test -m32 15:39 borg:/dev/shm > valgrind ./test ==22685== Memcheck, a memory error detector ==22685== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==22685== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==22685== Command: ./test ==22685== ==22685== ==22685== HEAP SUMMARY: ==22685== in use at exit: 0 bytes in 0 blocks ==22685== total heap usage: 0 allocs, 0 frees, 0 bytes allocated ==22685== ==22685== All heap blocks were freed -- no leaks are possible ==22685== ==22685== For counts of detected and suppressed errors, rerun with: -v ==22685== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 3 from 3) 15:39 borg:/dev/shm > rpm -qa "*debug*" 15:40 borg:/dev/shm > gcc test.c -o test -m64 15:40 borg:/dev/shm > valgrind ./test ==22807== Memcheck, a memory error detector ==22807== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==22807== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==22807== Command: ./test ==22807== ==22807== ==22807== HEAP SUMMARY: ==22807== in use at exit: 0 bytes in 0 blocks ==22807== total heap usage: 0 allocs, 0 frees, 0 bytes allocated ==22807== ==22807== All heap blocks were freed -- no leaks are possible ==22807== ==22807== For counts of detected and suppressed errors, rerun with: -v ==22807== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=613856
https://bugzilla.novell.com/show_bug.cgi?id=613856#c11
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=613856
https://bugzilla.novell.com/show_bug.cgi?id=613856#c
Jan Engelhardt
participants (1)
-
bugzilla_noreply@novell.com