[DPDK/core Bug 1422] vfio-pci driver fails to compile on Alpine Linux
bugzilla at dpdk.org
bugzilla at dpdk.org
Fri Apr 26 22:44:10 CEST 2024
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 at dpdk.org
Reporter: ahassick at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20240426/57d8d391/attachment.htm>
More information about the dev
mailing list