[llvm-bugs] [Bug 33983] New: Unnecessary dependency on glibc 2.18 added by __cxa_thread_atexit_impl
llvm-bugs at lists.llvm.org
Fri Jul 28 14:38:17 PDT 2017
Bug ID: 33983
Summary: Unnecessary dependency on glibc 2.18 added by
Component: All Bugs
Assignee: unassignedbugs at nondot.org
Reporter: thomasanderson at google.com
CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
I'm compiling libc++abi with HAVE___CXA_THREAD_ATEXIT_IMPL undefined.
__cxa_thread_atexit_impl was added to glibc in version 2.18, but I plan to
deploy on systems that only have glibc 2.17. However, when linking libc++abi
against my system glibc (2.19), __cxa_thread_atexit_impl at GLIBC_2.18 gets
included as a required symbol.
The check for __cxa_thread_atexit_impl should not be done at link time, but
should use dlopen()/dlsym() to do the check instead.
If there are better options to solve this issue without having to change
libc++abi, I'd be more than happy to hear about them
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs