u_debug_stack.c:114: undefined reference to `_Ux86_64_getcontext' 5c9af800cbce71f818b5d5e8ce9bfc5b56611360 (master 17.3.0-devel) $ make check [...] CXXLD st-renumerate-test ../../../../src/gallium/auxiliary/.libs/libgallium.a(u_debug_stack.o): In function `debug_backtrace_capture': mesa/src/gallium/auxiliary/util/u_debug_stack.c:114: undefined reference to `_Ux86_64_getcontext' mesa/src/gallium/auxiliary/util/u_debug_stack.c:115: undefined reference to `_ULx86_64_init_local' mesa/src/gallium/auxiliary/util/u_debug_stack.c:117: undefined reference to `_ULx86_64_step' mesa/src/gallium/auxiliary/util/u_debug_stack.c:120: undefined reference to `_ULx86_64_step' mesa/src/gallium/auxiliary/util/u_debug_stack.c:123: undefined reference to `_ULx86_64_get_reg' mesa/src/gallium/auxiliary/util/u_debug_stack.c:124: undefined reference to `_ULx86_64_get_proc_info'
7be6d8fe1250f3b1d5fb2347839567049526c5be is the first bad commit commit 7be6d8fe1250f3b1d5fb2347839567049526c5be Author: Gert Wollny <gw.fossdev@gmail.com> Date: Fri Jun 30 08:37:36 2017 +0200 mesa/st: glsl_to_tgsi: add tests for the new temporary lifetime tracker This patch adds a set of unit tests for the new lifetime tracker. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> :100644 100644 fb6037eedc3e2c3919e77532b45b114c151b1cac d0d4c0dfd1dec4e2710448182c6576e16400ffe6 M configure.ac :040000 040000 d302f957741f1bf87f1deb49599f26c98418e17f d0219311e0b3c83109bff579fc951559d6769b97 M src bisect run success
A workaround is to compile with --disable-libunwind, a patch to correct the problem has been submitted to mesa-dev.
Patch is pushed to master, commit c4741bbb6fb98f78551f9e42ae570dcc924e0031.
(In reply to Nicolai Hähnle from comment #3) > Patch is pushed to master, commit c4741bbb6fb98f78551f9e42ae570dcc924e0031. How to see the detail changes??? i come across the same problem.
The change that triggered the problem was that I added a test program that linked against libgallium.a but not against libunwind.so and the fix was to add these link flags directly to the test program link flag (A better solution would have been to add the libunwind linker flags to the common libgallium depends).
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.