http://llvm.org/bugs/show_bug.cgi?id=22731
Bug ID: 22731
Summary: bootstrap failure using libc++abi on Linux -- libc++
does not re-export its symbols
Product: Build scripts
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: cmake
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
See:
http://lab.llvm.org:8011/builders/clang-x86_64-linux-selfhost-modules/builds/2/steps/compile/logs/stdio
This build is produced by doing the following on a Debian Linux 7.7 system:
- checking out llvm + clang + libc++ + libc++abi
- configuring with cmake
- building and installing them
- reconfiguring with cmake, using the just-built components
- rebuilding
Apparently we failed to link libc++abi into libLTO.so. Our build system is
passing "-z defs" to the linker when linking this library, which results in the
error. Clang passes '-lc++' but not '-lc++abi' to this link, which is
appropriate because the clang driver has no idea which C++ ABI library is in
use.
On Apple systems, libc++ explicitly re-exports the symbols from libc++abi. We
don't seem to have anything comparable set up for Linux; we presumably should.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs