This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/14266] tile: -fexceptions breaks pthread_cancel()
- From: "adhemerval.zanella at linaro dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 30 Oct 2018 13:43:01 +0000
- Subject: [Bug nptl/14266] tile: -fexceptions breaks pthread_cancel()
- Auto-submitted: auto-generated
- References: <bug-14266-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=14266
--- Comment #4 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
Thread cancellation on glibc requires gcc exception frame information provided
by PT_GNU_EH_FRAME and the compiler must instruct the linker to produce it by
--eh-frame-hdr. On you example you are linking the shared library using linker
command directly, using default options. If you use either gcc driver (gcc
-shared) or add --eh-frame-hdr on linker options the example does not fail.
--
You are receiving this mail because:
You are on the CC list for the bug.