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: Siddhesh Poyarekar <siddhesh dot poyarekar at gmail dot com>
- To: Paul Pluzhnikov <ppluzhnikov at google dot com>
- Cc: Siddhesh Poyarekar <siddhesh at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Sun, 23 Mar 2014 22:33:03 +0530
- 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>
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 ...
which unfortunately is useless during execution and the binary still
needs to be invoked through the linker. I wonder why we don't just
use -rpath.
> That is unfortunately impossible with GMail :-(
Maybe use another email service? ;)
Siddhesh
--
http://siddhesh.in