[Bug 107538] Intel-gpu-tools 1.23 tag fails compilation on Clang due to implicit declaration of function

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 10 00:01:47 UTC 2018


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

            Bug ID: 107538
           Summary: Intel-gpu-tools 1.23 tag fails compilation on Clang
                    due to implicit declaration of function
           Product: DRI
           Version: XOrg git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: IGT
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: casey.g.bowman at intel.com

While cross-compiling the 'igt-gpu-tools-1.23' tag in the ChromeOS environment,
which uses Clang, I observed the following error:

tests/gem_userptr_blits.c:1092:10: error: implicit declaration of function
'memfd_create' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        memfd = memfd_create("pages", 0);

This issue is resolved by the following commit (20 commits after tag):

bcb37a9 build: provide stub implementation for memfd_create

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180810/bf624c98/attachment.html>


More information about the dri-devel mailing list