[Bug 778662] New: $ORIGIN expansion does not work as expected
https://bugzilla.novell.com/show_bug.cgi?id=778662 https://bugzilla.novell.com/show_bug.cgi?id=778662#c0 Summary: $ORIGIN expansion does not work as expected Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Development AssignedTo: matz@suse.com ReportedBy: meissner@suse.com QAContact: qa-bugs@suse.de CC: rguenther@suse.com Found By: --- Blocker: --- echo "int yy() { return 42; }" >>yy.c echo "int main(int argc, char **argv) { return yy(); }" >> xx.c gcc -shared -o libyy.so yy.c -fPIC -O2 gcc -o xx xx.c -L. -Wl,-rpath,/tmp/foo/bar LD_DEBUG=all ./xx 2>&1|grep foo/bar 29805: search path=/tmp/foo/bar/tls/ppc970/altivec:/tmp/foo/bar/tls/ppc970:/tmp/foo/bar/tls/altivec:/tmp/foo/bar/tls:/tmp/foo/bar/ppc970/altivec:/tmp/foo/bar/ppc970:/tmp/foo/bar/altivec:/tmp/foo/bar (RUNPATH from file /xx) BUT: gcc -o xx xx.c -L. -Wl,-rpath,$ORIGIN/../tmp/foo/bar LD_DEBUG=all ./xx 2>&1|grep RUNPATH <empty> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=778662
https://bugzilla.novell.com/show_bug.cgi?id=778662#c1
--- Comment #1 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=778662
https://bugzilla.novell.com/show_bug.cgi?id=778662#c2
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=778662
https://bugzilla.novell.com/show_bug.cgi?id=778662#c3
Michael Matz
https://bugzilla.novell.com/show_bug.cgi?id=778662
https://bugzilla.novell.com/show_bug.cgi?id=778662#c4
--- Comment #4 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=778662
https://bugzilla.novell.com/show_bug.cgi?id=778662#c5
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=778662
https://bugzilla.novell.com/show_bug.cgi?id=778662#c6
--- Comment #6 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=778662
https://bugzilla.novell.com/show_bug.cgi?id=778662#c7
--- Comment #7 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=778662
https://bugzilla.novell.com/show_bug.cgi?id=778662#c8
--- Comment #8 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=778662
https://bugzilla.novell.com/show_bug.cgi?id=778662#c9
Marcus Meissner
participants (1)
-
bugzilla_noreply@novell.com