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] |
The decision to use dynamic loading vs DT_NEEDED was made well before I began participating in glibc development; I do not know the reasons one approach was chosen over the other. Nor do I feel qualified to argue for either the status quo or for a re-evaluation of that decision.The cleanest and most correct way to fix this is to add libgcc_s.so to the DT_NEEDED for libpthread.so and remove the silly dynamic loading code. Then no global state exists and everything just works. This would also eliminate the unfortunate, really nasty situation whereby pthread_cancel can abort the whole application due to failure to load libgcc_s.so.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |