This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/20019] Program received signal SIGSEGV, Segmentation fault


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]