Open Quuxplusone opened 9 years ago
Bugzilla Link | PR23755 |
Status | NEW |
Importance | P normal |
Reported by | goochmi@gmail.com |
Reported on | 2015-06-04 01:02:00 -0700 |
Last modified on | 2015-06-04 02:56:04 -0700 |
Version | 3.6 |
Hardware | PC Linux |
CC | llvm-bugs@lists.llvm.org |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
-bash-4.1$ nm -Ca /UCHC/HPC/Gooch/biotoolmodules/llvm_suite/3.6.1/lib/libc++.so
| grep pure
U __cxa_pure_virtual
-bash-4.1$ nm -Ca
/UCHC/HPC/Gooch/biotoolmodules/llvm_suite/3.6.1/lib/libc++abi.so | grep pure
00000000000633d7 T __cxa_pure_virtual
-bash-4.1$ nm -Ca
/UCHC/HPC/Gooch/biotoolmodules/llvm_suite/3.6.1/lib/libc++abi.so | grep
cxa_guard
0000000000060f83 T __cxa_guard_abort
0000000000060e05 T __cxa_guard_acquire
0000000000000000 a cxa_guard.cpp
0000000000060eeb T __cxa_guard_release
-bash-4.1$ nm -Ca /UCHC/HPC/Gooch/biotoolmodules/llvm_suite/3.6.1/lib/libc++.so
| grep cxa_guard
U __cxa_guard_abort
U __cxa_guard_acquire
U __cxa_guard_release
it appears that the linker isn't including the abi library in its link commands.
during build attempt i noticed the following lines:
Linking CXX shared library ../../../lib/libc++.so
clang-3.6: warning: argument unused during compilation: '-stdlib=libc++'
shouldn't it be linking against libc++abi?
i noticed a few of the .so files and executables showing the following in their
ldd output:
libstdc++.so.6 =>
/UCHC/HPC/Gooch/biotoolmodules/gcc/5.1.0/lib64/libstdc++.so.6
(0x00007ffa30c40000)
libgcc_s.so.1 => /UCHC/HPC/Gooch/biotoolmodules/gcc/5.1.0/lib64/libgcc_s.so.1
(0x00007ffa30a28000)
is it realistic to expect to build a functional llvm with no dependencies on
gcc or gnu's libstdc++?