[Wayland-bugs] [Bug 71851] New: libwayland-server.so: error: undefined reference to 'pthread_key_create' (and more)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 20 12:14:01 PST 2013


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

          Priority: medium
            Bug ID: 71851
          Assignee: wayland-bugs at lists.freedesktop.org
           Summary: libwayland-server.so: error: undefined reference to
                    'pthread_key_create' (and more)
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: mgorny at gentoo.org
          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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20131120/a5367269/attachment.html>


More information about the Wayland-bugs mailing list