[llvm-bugs] [Bug 33983] New: Unnecessary dependency on glibc 2.18 added by __cxa_thread_atexit_impl
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jul 28 14:38:17 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=33983
Bug ID: 33983
Summary: Unnecessary dependency on glibc 2.18 added by
__cxa_thread_atexit_impl
Product: libc++abi
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
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...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170728/6d297fad/attachment-0001.html>
More information about the llvm-bugs
mailing list