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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 14 22:45:06 UTC 2019


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

--- Comment #2 from Vinson Lee <vlee at freedesktop.org> ---
This patch fixed my build issue.

Tested-by: Vinson Lee <vlee at freedesktop.org>


(In reply to Eric Engestrom from comment #1)
> 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/20190514/fcd56064/attachment.html>


More information about the mesa-dev mailing list