[Mesa-dev] [Bug 110663] threads_posix.h:96: undefined reference to `pthread_once'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat May 11 07:05:04 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110663

--- Comment #1 from Eric Engestrom <fdo-bugs at engestrom.ch> ---
This should fix your issue, but I haven't had time to dive in and see exactly
why quad-tex uses threads.

----8<----
diff --git a/src/gallium/tests/trivial/meson.build
b/src/gallium/tests/trivial/meson.build
index bbb25519e12ff466ce46..1f912d5aa46a16a06eda 100644
--- a/src/gallium/tests/trivial/meson.build
+++ b/src/gallium/tests/trivial/meson.build
@@ -24,6 +24,7 @@ foreach t : ['compute', 'tri', 'quad-tex']
     '@0 at .c'.format(t),
     include_directories : inc_common,
     link_with : [libmesa_util, libgallium, libpipe_loader_dynamic],
+    dependencies : dep_thread,
     install : false,
   )
 endforeach
---->8----

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190511/aa7ed524/attachment.html>


More information about the mesa-dev mailing list