http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60590
Bug ID: 60590
Summary: Can't recreate the same executable in testsuite
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: hjl.tools at gmail dot com
On Linux, one can't run the command found in testsuite/gcc/gcc.log
to recreate the same executable since lib/target-libpath.exp sets
LD_RUN_PATH, which makes ld to set DT_RPATH. But LD_RUN_PATH is
recorded in testsuite/gcc/gcc.log. We may not set LD_RUN_PATH
when run the command to recreate the same executable. As the result,
the executable generated by hand doesn't have DT_RPATH.