This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [patch] Fix BZ #16634 -- assert in ld.so when dlopen("a.out"...) is called repeatedly.
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Siddhesh Poyarekar <siddhesh dot poyarekar at gmail dot com>
- Cc: Paul Pluzhnikov <ppluzhnikov at google dot com>, Siddhesh Poyarekar <siddhesh at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Sun, 23 Mar 2014 18:23:57 +0100
- Subject: Re: [patch] Fix BZ #16634 -- assert in ld.so when dlopen("a.out"...) is called repeatedly.
- Authentication-results: sourceware.org; auth=none
- References: <ye6qpplo78g2 dot fsf at elbrus2 dot mtv dot corp dot google dot com> <20140316105130 dot GJ1850 at spoyarek dot pnq dot redhat dot com> <CALoOobOt4q05ht82tWw3P=+TgR5sp3HW=DFpJC57O9knXzO6iQ at mail dot gmail dot com> <CAAHN_R3ix78oNgh=eQNcG51jbC3g5fjZ89=_qKivhdBGzO5aGw at mail dot gmail dot com> <CALoOobPyPnXtRQOpu-eWVBi_3sPoOU_fuX4x_gewQVtSWdRHWw at mail dot gmail dot com> <CAAHN_R00uk9CpkjC-Z0ORZrrVFO-hsvPSpXuAt0YS07xYjKpgQ at mail dot gmail dot com>
Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> writes:
> On 23 March 2014 22:25, Paul Pluzhnikov <ppluzhnikov@google.com> wrote:
>>
>> gcc -pthread -ldl -Wl,-rpath=.:nptl/l:dlfcn,--dynamic-linker=elf/ld.so
>
> IIRC we do -rpath-link=... --dynamic-linker=elf/ld.so ...
The tests are linked like any other binary unless you use
--enable-hardcoded-path-in-tests.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."