All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 107538] Intel-gpu-tools 1.23 tag fails compilation on Clang due to implicit declaration of function
Date: Fri, 10 Aug 2018 00:01:47 +0000	[thread overview]
Message-ID: <bug-107538-502@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1073 bytes --]

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@lists.freedesktop.org
          Reporter: casey.g.bowman@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.

[-- Attachment #1.2: Type: text/html, Size: 2401 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2018-08-10  0:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-10  0:01 bugzilla-daemon [this message]
2019-09-04 15:31 ` [Bug 107538] Intel-gpu-tools 1.23 tag fails compilation on Clang due to implicit declaration of function bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-107538-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.