I filed this as a valgrind bug:
https://bugs.kde.org/show_bug.cgi?id=193413
but figured it was worth mentioning here, too.
Any version of valgrind (e.g. the latest release, or from svn)
fails with a message like
valgrind: mmap(0x8048000, 90112) failed in UME with error 22 (Invalid
argument).
valgrind: this can be caused by executables with very large text, data or bss
segments.
if valgrind was linked using gold instead of ld.
This happens very quickly, before any other output, and happens even with
--tool=none. No other output is shown even with -v.
This was on Ubuntu Hardy on plain old intel hardware.
--
Summary: valgrind doesn't work when linked with gold instead of
ld
Product: binutils
Version: 2.19
Status: NEW
Severity: normal
Priority: P2
Component: gold
AssignedTo: ian at airs dot com
ReportedBy: dank at kegel dot com
CC: bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=10178
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils