[Bug ld/16936] $ORIGIN in shared library's rpath not used to find library dependencies at link time

2014-05-12 Thread sdvormwa at mtu dot edu
https://sourceware.org/bugzilla/show_bug.cgi?id=16936 --- Comment #2 from Steven Vormwald --- (In reply to Steven Vormwald from comment #0) > GNU ld (GNU Binutils) 2.23.1 This problem also occurs in 2.24. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/16936] $ORIGIN in shared library's rpath not used to find library dependencies at link time

2014-05-12 Thread sdvormwa at mtu dot edu
https://sourceware.org/bugzilla/show_bug.cgi?id=16936 --- Comment #1 from Steven Vormwald --- (In reply to Steven Vormwald from comment #0) > ${CUSTOM_LD_PATH}/x86_64-unknown-linux-gnu/bin/ld: warning: libbar.so, > needed by lib//libfoo.so, not found (try using -rpath or -rpath-link) > lib//libfo

[Bug ld/16936] New: $ORIGIN in shared library's rpath not used to find library dependencies at link time

2014-05-12 Thread sdvormwa at mtu dot edu
: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: sdvormwa at mtu dot edu On Linux x86_64, it looks like ld does not respect $ORIGIN when used in a library's DT_RPATH entry, unlike the runtime loader. Thi