| Summary: | valgrind-3.0.1 PIC problems on x86 | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | solar <solar> |
| Component: | general | Assignee: | Tom Hughes <tom> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | pageexec |
| Priority: | NOR | ||
| Version First Reported In: | 3.0.1 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | valgrind-3.0.1-pic-fix.patch | ||
|
Description
solar
2005-11-02 17:45:22 UTC
Created attachment 13253 [details]
valgrind-3.0.1-pic-fix.patch
cd valgrind-3.0.1
cat valgrind-3.0.1-pic-fix.patch | patch -p1
aclocal
automake
I believe that my biarch patch (which hasn't gone in yet) fixes this as a side effect of the build process reworking that I did. Certainly objdump and readelf suggest that there are very few relocations but I haven't found anything that produces a report in the format you gave? It's probably worth mentioning that in the repository code the vgtool_*.so files are no longer built (due to static linking of the core with each tool) but the vgpreload_*.so files are still built. re: #2, the output in solar's report comes from a tool available under Gentoo as pax-utils, in particular, 'scanelf -t' produced it. readelf -d|grep TEXTREL achieves the same goal, so does eu-findtextrel from elfutils. My biarch patch does fix this then - eu-findtextrel reports no text relocations for any of the shared objects when it is applied. Care to post a link to your biarch patch to gain a little pre testing? The reason the patch isn't in yet is that you have to futz around with things to build when it is applied as we need to sort out how to build multiple copies of VEX before it will all work smoorthly. The biarch patch has gone in now so as of SVN revision 5031 this should be fixed. |