[Mesa-dev] [Bug 111264] u_thread.h:64:39: error: too many arguments to function call, expected 1, have 2

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 31 02:55:35 UTC 2019


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

            Bug ID: 111264
           Summary: u_thread.h:64:39: error: too many arguments to
                    function call, expected 1, have 2
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Mac OS X (All)
            Status: NEW
          Keywords: bisected, regression
          Severity: normal
          Priority: medium
         Component: Other
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: vlee at freedesktop.org
        QA Contact: mesa-dev at lists.freedesktop.org
                CC: mattst88 at gmail.com

In file included from src/gallium/auxiliary/os/os_thread.h:42:
src/util/u_thread.h:64:39: error: too many arguments to function call, expected
1, have 2
   pthread_setname_np(pthread_self(), name);
   ~~~~~~~~~~~~~~~~~~                 ^~~~


9c411e020d164563fb6fcd92a28a435277bf0745 is the first bad commit
commit 9c411e020d164563fb6fcd92a28a435277bf0745
Author: Matt Turner <mattst88 at gmail.com>
Date:   Wed Jul 24 18:26:49 2019 -0700

    util: Drop preprocessor guards for glibc-2.12

    glibc-2.12 was released in 2010. No one is building new Mesa against 9
    year old glibc, and removing these checks allows the code to work on
    other C libraries like musl.

    Acked-by: Eric Engestrom <eric.engestrom at intel.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190731/d349c686/attachment.html>


More information about the mesa-dev mailing list