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 nptl/14266] tile: -fexceptions breaks pthread_cancel()


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.

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