This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/20500] dlopen of libpthread in static executable crashes
- From: "ma.jiang at zte dot com.cn" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 01 Jun 2017 06:57:29 +0000
- Subject: [Bug nptl/20500] dlopen of libpthread in static executable crashes
- Auto-submitted: auto-generated
- References: <bug-20500-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20500
--- Comment #8 from ma.jiang at zte dot com.cn ---
(In reply to Florian Weimer from comment #7)
Hi,
Thanks for your quick reply.
> Patches should be sent to the mailing list. Current master no longer has
> dl_error_catch_tsd, as part of the fix for bug 16628.
> Do you have a test case? Maybe this bug has been fixed as well?
Yes, you are right, After the fix in
"https://sourceware.org/git/?p=glibc.git;a=commit;h=9e78f6f6e7134a5f299cc8de77370218f8019237"
applied. This bug should be gone. Currently, I'm using glibc-2.24 and I just
checked the dl-static.c in the trunk... Sorry for this miss.
But, I think the main part of this patch(a unified dl-static.c) still should
be applied. Anyway,We should initialize variables in ld.so when the main
executable is static linked(and dlopen some shared libraries).
Currently, I cannot post mail to the mailing list as there were some problems
in our email system... I'll post the patch later after our email system get
fixed.
--
You are receiving this mail because:
You are on the CC list for the bug.