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: unassignedclangb...@nondot.org
          Reporter: richard-l...@metafoo.co.uk
                CC: llvm-bugs@lists.llvm.org, mclow.li...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to