Date: Wed, 02 Feb 2022 19:36:07 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 261412] [exp-run] With llvm-unwind headers placed in /usr/include Message-ID: <bug-261412-7788-9u8Ta5Jxw5@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-261412-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-261412-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261412 --- Comment #2 from Ed Maste <emaste@freebsd.org> --- google-perftools: ld: error: ./.libs/libtcmalloc_debug.so: undefined reference to unw_getcont= ext [--no-allow-shlib-undefined] ld: error: ./.libs/libtcmalloc_debug.so: undefined reference to unw_init_lo= cal [--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 invocatio= n) 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 --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261412-7788-9u8Ta5Jxw5>