[Mesa-dev] [Bug 101071] compiling glsl fails with undefined reference to `pthread_create'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 19 14:37:07 UTC 2017


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

--- Comment #6 from Emil Velikov <emil.l.velikov at gmail.com> ---
(In reply to warpme from comment #5)
> Emil,
> One thing:
> 
> in configure I see:
> 
> checking for the pthreads library -lpthreads... no
> checking whether pthreads work without any flags... yes
> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
> checking if more special flags are required for pthreads... no
> checking for PTHREAD_PRIO_INHERIT... no
> 
> why then build process asking for libpthread functions?
> 
There's a comment in configure.ac about it (grep for -lpthread). The gist is
that we need it (or an equivalent really) in the .pc files.

> there is definitely something different in 17.1 as 17.0.6 builds OK in
> exactly this environment.
> 
> If there is unmet, new requirement for 17.1 which is not needed for 17.0.6 -
> then issue is that 17.1 configure process is not catching this missing
> dependency.

It's quite possible - not arguing against that. Although I would suspect
something rather unique to your setup.

Only two ideas come to mind - a) ones mentioned in comment 4 anb b) bisecting
(we have ~3000 commits so that's ~13 steps).

-- 
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/20170519/7f37fe29/attachment.html>


More information about the mesa-dev mailing list