Bug 107538 (1.23, compilation, failure, tag)

Summary: Intel-gpu-tools 1.23 tag fails compilation on Clang due to implicit declaration of function
Product: DRI Reporter: Casey Bowman <casey.g.bowman>
Component: IGTAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: casey.g.bowman
Version: XOrg git   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Casey Bowman 2018-08-10 00:01:47 UTC
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
Comment 1 Matt Roper 2019-09-04 15:31:09 UTC
As you noted, Lucas landed a patch shortly after the 1.23 release that addressed this.  Since that time an official 1.24 release has come out, so I don't believe there's anything further that needs to be done with this bug.  Closing as resolved.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.