Summary: |
libwayland-server.so: error: undefined reference to 'pthread_key_create' (and more) |
Product: |
Wayland
|
Reporter: |
Michał Górny <mgorny> |
Component: |
wayland | Assignee: |
Wayland bug list <wayland-bugs> |
Status: |
RESOLVED
FIXED
|
QA Contact: |
|
Severity: |
normal
|
|
|
Priority: |
medium
|
|
|
Version: |
unspecified | |
|
Hardware: |
Other | |
|
OS: |
All | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
Build log
|
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.
Created attachment 89547 [details] Build log Recently the git master for wayland stopped building with pthread-related errors: ../src/.libs/libwayland-server.so: error: undefined reference to 'pthread_key_create' ../src/.libs/libwayland-server.so: error: undefined reference to 'pthread_getspecific' ../src/.libs/libwayland-server.so: error: undefined reference to 'pthread_once' ../src/.libs/libwayland-server.so: error: undefined reference to 'pthread_setspecific' Looking at the build system, I think it is completely missing the code necessary to detect and set proper flags for pthread support. As suspected, passing 'LIBS=-pthread' to configure results in the build succeeding. Attaching our build log.