Bug 5110 - rpath in binaries set the @RPATH@
Summary: rpath in binaries set the @RPATH@
Status: ASSIGNED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: 2235
  Show dependency treegraph
 
Reported: 2007-10-04 20:43 UTC by Mark Wielaard
Modified: 2007-10-05 19:24 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Wielaard 2007-10-04 20:43:31 UTC
There seems to be some configure/build issue that sets the rpath of the frysk
binaries to the literal string "@RPATH@".

$ eu-readelf -d /usr/bin/ftrace | grep -i rpath
  RPATH             Library rpath: [@RPATH@]

$ eu-readelf -d /usr/local/frysk/bin/fstep | grep -i rpath
  RPATH             Library rpath: [@RPATH@]

Since everything seems to work just fine with this broken RPATH setting the
binaries most likely don't need it set at all.
Comment 1 Andrew Cagney 2007-10-05 19:24:45 UTC
Index: frysk-gui/ChangeLog
2007-10-05  Andrew Cagney  <cagney@redhat.com>

	* configure.ac (RPATH): Delete.

Index: frysk-gui/common/ChangeLog
2007-10-05  Andrew Cagney  <cagney@redhat.com>

	* Makefile.rules: (GEN_GCJ_BUILDTREE_RPATH): Rename GEN_GCJ_RPATH.
	(GEN_GCJ_BUILDTREE_RPATH_FLAGS): Rename GEN_GCJ_RPATH_FLAGS.
	(GEN_GCC_BUILDTREE_RPATHS): Rename GEN_GCC_RPATHS.
	(GEN_${GEN_UBASENAME}_RPATH_FLAGS): Define.
	* Makefile.gen.sh: Update.
	(GEN_${GEN_UBASENAME}_RPATH_FLAGS): Delete.