[pulseaudio-tickets] [Bug 104733] New: memfd-wrappers.h : conflict with recent glibc

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 22 18:16:52 UTC 2018


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

            Bug ID: 104733
           Summary: memfd-wrappers.h : conflict with recent glibc
           Product: PulseAudio
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: core
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: rdieter at gmail.com
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

Recent glibc now includes a memfd_create implementation, which appears to
conflict with the one provided by memfd_wrappers.h

Recent fedora rawhide builds for pulseaudio fail due to this:

In file included from pulsecore/shm.c:48:0:
./pulsecore/memfd-wrappers.h:36:19: error: static declaration of 'memfd_create'
follows non-static declaration
 static inline int memfd_create(const char *name, unsigned int flags) {
                   ^~~~~~~~~~~~
In file included from /usr/include/bits/mman-linux.h:115:0,
                 from /usr/include/bits/mman.h:45,
                 from /usr/include/sys/mman.h:41,
                 from pulsecore/shm.c:37:
/usr/include/bits/mman-shared.h:46:5: note: previous declaration of
'memfd_create' was here
 int memfd_create (const char *__name, unsigned int __flags) __THROW;
     ^~~~~~~~~~~~

(Temporary) link to full build.log:
https://kojipkgs.fedoraproject.org//work/tasks/9404/24079404/build.log

I can attach a copy if desired, but if ~344k size is acceptable

-- 
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/pulseaudio-bugs/attachments/20180122/6b9add84/attachment.html>


More information about the pulseaudio-bugs mailing list