This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/20019] Program received signal SIGSEGV, Segmentation fault
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 28 Apr 2016 16:37:41 +0000
- Subject: [Bug dynamic-link/20019] Program received signal SIGSEGV, Segmentation fault
- Auto-submitted: auto-generated
- References: <bug-20019-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20019
--- Comment #3 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to H.J. Lu from comment #2)
> (In reply to Carlos O'Donell from comment #1)
> >
> > I don't see how this is the fault of the dynamic linker?
>
> I wish ld.so will refuse to run in this case :-(.
Enhance the relocation-based dependency (add_dependency) in _dl_lookup_symbol_x
to create a dependency on libc.so.6 and force it to be initialized first?
If *something* needs libc.so.6, then you should be able to use the relocation
dependency on the symbol to create the right initialization order.
If *nothing* depends on libc.so.6, then you don't have enough information to do
the appropriate action.
--
You are receiving this mail because:
You are on the CC list for the bug.