[Mesa-dev] [Bug 107158] When compiling against musl libc, pthread.h is not included in radv_amdgpu_winsys

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jul 8 21:08:45 UTC 2018


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

            Bug ID: 107158
           Summary: When compiling against musl libc, pthread.h is not
                    included in radv_amdgpu_winsys
           Product: Mesa
           Version: 18.0
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: minor
          Priority: medium
         Component: Drivers/Vulkan/radeon
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: ronchaine at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

Created attachment 140514
  --> https://bugs.freedesktop.org/attachment.cgi?id=140514&action=edit
Patch to include pthread.h

amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h does not #include <pthread.h>,
which causes compilation to fail when compiling against musl libc.

Adding the #include <pthread.h> line fixes the issue.  Patch attached.

-- 
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/20180708/1adf39a0/attachment.html>


More information about the mesa-dev mailing list