[PATCH] Apitrace replay: Fix "apitrace replay" regression when used with fips
Carl Worth
cworth at cworth.org
Mon Dec 2 15:56:01 PST 2013
Lawrence Love <lawrencex.l.love at intel.com> writes:
> I saw this in Wikipedia
> <http://en.wikipedia.org/wiki/Rpath#The_role_of_GNU_ld>; would that
> help? (didn't look into other platforms)
Yes. That is, using RUNPATH instead of RPATH avoids the problem I
mentioned.
The problem is that that requires setting a flag at compile time.
After the fact, one can convert a pre-compiled program with an RPATH
attribute to instead have a RUNPATH attribute by using the chrpath
program.
But neither of these will help a user who wants to use something like
glaze, fips, or apitrace with a pre-compiled program where they don't
have the ability to modify the binary.
I don't know of any mechanism to change the behavior of the linker at
run-time here.
-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/apitrace/attachments/20131202/0c4fa777/attachment.pgp>
More information about the apitrace
mailing list