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

          Priority: medium
            Bug ID: 71851
          Assignee: [email protected]
           Summary: libwayland-server.so: error: undefined reference to
                    'pthread_key_create' (and more)
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: wayland
           Product: Wayland

Created attachment 89547
  --> https://bugs.freedesktop.org/attachment.cgi?id=89547&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to