Displaying 3 results from an estimated 3 matches for "xray_unit_test_main".
2017 Feb 16
3
Linker error with XRay & GCC/libstdc++ 6.1
...you've seen anything like this:
/usr/local/google/home/blaikie/dev/llvm/build/clang/debug/split/notypes/nostandalone/projects/compiler-rt/lib/xray/tests/unit
&&
/usr/local/google/home/blaikie/dev/llvm/build/clang/debug/split/notypes/nostandalone/./bin/clang
fdr_logging_test.cc.x86_64.o xray_unit_test_main.cc.x86_64.o
gtest-all.cc.x86_64.o -o
/usr/local/google/home/blaikie/dev/llvm/build/clang/debug/split/notypes/nostandalone/projects/compiler-rt/lib/xray/tests/unit/XRayFDRLoggingTest-x86_64
-Wl,-allow-shlib-undefined -m64 -lstdc++ -lm -lpthread -lpthread
-L/usr/local/google/home/blaikie/dev/llvm/bui...
2017 Jun 04
2
building llvm_Rel400 on Scientific Linux (RHEL) 7.3 x86_64
On Sat, 3 Jun 2017 16:04:57 -0700
Tim Northover <t.p.northover at gmail.com> wrote:
[snip]
> I think you should be able to fix it by changing the
> compiler-rt/lib/xray/test/CMakeLists.txt. If you find the
> "add_compiler_rt_test" call and move "-lstdc++" to the end, just after
> "-lrt" it should work.
Thanks, Tim. I don't see "-lrt":
2017 Jun 03
2
building llvm_Rel400 on Scientific Linux (RHEL) 7.3 x86_64
...lvm_Rel400
ninja-build
ninja-build check-all 2>&1 | tee check.log
-----
The last few lines of the log file look like this:
[112/475] cd /home/hanzer/build/build_llvm/projects/compiler-rt/lib/xray/tests/unit && /home/hanzer/build/build_llvm/./bin/clang buffer_queue_test.cc.x86_64.o xray_unit_test_main.cc.x86_64.o gtest-all.cc.x86_64.o -o /home/hanzer/build/build_llvm/projects/compiler-rt/lib/xray/tests/unit/XRayBufferQueueTest -Wl,-allow-shlib-undefined -m64 -lstdc++ -lm -lpthread -lpthread -L/home/hanzer/build/build_llvm/./lib/clang/4.0.0/lib/linux -lclang_rt.xray-fdr-x86_64
FAILED: projects/co...