Hey guys. I'm trying to build libunwind on my system with clang 4.0.1 and I get make check failures. GCC 7.1.0 works fine. I pulled from the git repository and HEAD is 55eb47d6e57d. From a clean client I execute (for the GCC build):
./autogen.sh ./configure make make check This passes 100%. For the clang build I execute: CC=clang CXX=clang++ ./autogen.sh CC=clang CXX=clang++ ./configure make make check yields the following failures (tests/test-suite.log): ========================================= libunwind 1.2: tests/test-suite.log ========================================= # TOTAL: 34 # PASS: 29 # SKIP: 0 # XFAIL: 0 # FAIL: 5 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: Gtest-exc =============== FAILURE: test failed: result=4197184 got_here=0 nerrors=0 FAIL: Ltest-exc =============== FAILURE: test failed: result=4197168 got_here=0 nerrors=0 FAIL: Ltest-varargs =================== FAILURE: expected deeper backtrace. FAIL: run-coredump-unwind ========================= Segmentation fault (core dumped) FAILURE: start IPs incorrect FAIL: run-coredump-unwind-mdi ============================= Segmentation fault (core dumped) FAILURE: start IPs incorrect *CPU info* $ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 16 Model: 4 Stepping: 3 CPU MHz: 800.000 BogoMIPS: 6030.25 Virtualization: AMD-V L1d cache: 64K L1i cache: 64K L2 cache: 512K L3 cache: 6144K NUMA node0 CPU(s): 0-3 Thanks for the help!
_______________________________________________ Libunwind-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/libunwind-devel
