[Mesa-dev] [Bug 101071] compiling glsl fails with undefined reference to `pthread_create'
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jun 2 17:14:54 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101071
--- Comment #13 from Emil Velikov <emil.l.velikov at gmail.com> ---
Created attachment 131682
--> https://bugs.freedesktop.org/attachment.cgi?id=131682&action=edit
configure.ac: add -pthread to PTHREAD_LIBS
Right, so util_queue_init() pulls util_queue_init/pthread_create.
Still not sure why things behave on your end -> -lpthread is in the link chain,
so GCC should be smart enough to pick it.
Regardless, the attached patch is a step in the right direction and should
address things on your end.
--
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/20170602/5f072847/attachment.html>
More information about the mesa-dev
mailing list