[Bug 261412] [exp-run] With llvm-unwind headers placed in /usr/include
Date: Wed, 02 Feb 2022 19:36:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261412 --- Comment #2 from Ed Maste <emaste@freebsd.org> --- google-perftools: ld: error: ./.libs/libtcmalloc_debug.so: undefined reference to unw_getcontext [--no-allow-shlib-undefined] ld: error: ./.libs/libtcmalloc_debug.so: undefined reference to unw_init_local [--no-allow-shlib-undefined] ld: error: ./.libs/libtcmalloc_debug.so: undefined reference to unw_step [--no-allow-shlib-undefined] ld: error: ./.libs/libtcmalloc_debug.so: undefined reference to unw_get_reg [--no-allow-shlib-undefined] c++: error: linker command failed with exit code 1 (use -v to see invocation) presumably just exposed by HAVE_LIBUNWIND_H being true now ltrace: execute_program.c:4:10: fatal error: 'libunwind-ptrace.h' file not found #include <libunwind-ptrace.h> ^~~~~~~~~~~~~~~~~~~~ 1 error generated. which comes from: #if defined(HAVE_LIBUNWIND) #include <libunwind-ptrace.h> #endif /* defined(HAVE_LIBUNWIND) */ Interestingly they have a check for libunwind-ptrace.h specifically: /* Define to 1 if you have the <libunwind-ptrace.h> header file. */ #undef HAVE_LIBUNWIND_PTRACE_H -- You are receiving this mail because: You are on the CC list for the bug.