DPDK patches and discussions
 help / color / mirror / Atom feed
* [DPDK/core Bug 1422] vfio-pci driver fails to compile on Alpine Linux
@ 2024-04-26 20:44 bugzilla
  2024-07-30  8:02 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2024-04-26 20:44 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 1891 bytes --]

https://bugs.dpdk.org/show_bug.cgi?id=1422

            Bug ID: 1422
           Summary: vfio-pci driver fails to compile on Alpine Linux
           Product: DPDK
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: ahassick@iol.unh.edu
  Target Milestone: ---

The DPDK main branch, on commit 7e06c0de1952d3109a5b0c4779d7e7d8059c9d78,
encounters a compilation error on Alpine Linux. This appears to be a new issue
caused by us upgrading our container image, which includes newer versions of
GCC and musl.

GCC version: (Alpine 13.2.1_git20231014) 13.2.1 20231014
musl-libc version: 1.2.4_git20230717-r4
Kernel: 5.4.0-167 generic

Output from GCC:

../drivers/bus/pci/linux/pci_vfio.c: In function 'pci_vfio_read_config':
../drivers/bus/pci/linux/pci_vfio.c:83:16: warning: implicit declaration of
function 'pread64'; did you mean 'pread'? [-Wimplicit-function-declaration]
   83 |         return pread64(fd, buf, len, offset + offs);
      |                ^~~~~~~
      |                pread
../drivers/bus/pci/linux/pci_vfio.c:83:16: warning: nested extern declaration
of 'pread64' [-Wnested-externs]
../drivers/bus/pci/linux/pci_vfio.c: In function 'pci_vfio_write_config':
../drivers/bus/pci/linux/pci_vfio.c:104:16: warning: implicit declaration of
function 'pwrite64'; did you mean '_ptwrite64'?
[-Wimplicit-function-declaration]
  104 |         return pwrite64(fd, buf, len, offset + offs);
      |                ^~~~~~~~
      |                _ptwrite64
../drivers/bus/pci/linux/pci_vfio.c:104:16: warning: nested extern declaration
of 'pwrite64' [-Wnested-externs]

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 3767 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-30  8:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-26 20:44 [DPDK/core Bug 1422] vfio-pci driver fails to compile on Alpine Linux bugzilla
2024-07-30  8:02 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).