This is the mail archive of the libc-alpha@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]

Re: Don't use INTDEF/INTUSE in unwind-dw2-fde.c (bug 14132)


On Tue, Oct 28, 2014 at 05:11:37PM +0000, Joseph S. Myers wrote:
> It might be possible to eliminate those copies by making libc on affected 
> architectures dlopen shared libgcc at startup and use the functions from 
> there in the same way as done for thread cancellation, but that might not 
> be desirable given most binaries wouldn't need it (really you'd want it to 
> be dlopened only for binaries referencing those symbols; lazy opening is 
> problematic for error reporting).

Doing that would be really backwards. What's needed is really the
opposite -- getting rid of the dlopen of libgcc entirely. Right now
pthread_cancel aborts the whole program if loading libgcc fails, and
loading can fail for all sorts of spurious reasons.

Rich


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