[llvm-bugs] [Bug 52332] New: use pragma comment(lib, "c++abi") to link to ABI library
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Oct 27 17:45:43 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=52332
Bug ID: 52332
Summary: use pragma comment(lib, "c++abi") to link to ABI
library
Product: libc++
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: richard-llvm at metafoo.co.uk
CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
When building a libc++ static library, if the experimental flag
LIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY is not enabled, the resulting
isn't usable in static links when using Clang in its default configuration on
at least some targets, due to unresolved references to symbols in the ABI
library.
For other libraries on which libc++ has a dependency, `#pragma comment(lib,
"foo")` is used by default these days. Could the same thing be done with the
ABI library?
--
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/20211028/ff39fb8b/attachment.html>
More information about the llvm-bugs
mailing list