From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
by inbox.dpdk.org (Postfix) with ESMTP id B380943F1E;
Fri, 26 Apr 2024 22:44:13 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
by mails.dpdk.org (Postfix) with ESMTP id 44D59402EB;
Fri, 26 Apr 2024 22:44:13 +0200 (CEST)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
by mails.dpdk.org (Postfix) with ESMTP id 4F7BB4029B
for ; Fri, 26 Apr 2024 22:44:11 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
id 3154743F1F; Fri, 26 Apr 2024 22:44:11 +0200 (CEST)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/core Bug 1422] vfio-pci driver fails to compile on Alpine Linux
Date: Fri, 26 Apr 2024 20:44:10 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: core
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ahassick@iol.unh.edu
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter
target_milestone
Message-ID:
Content-Type: multipart/alternative; boundary=17141642510.ee146bF.3784386
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dev-bounces@dpdk.org
--17141642510.ee146bF.3784386
Date: Fri, 26 Apr 2024 22:44:10 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
https://bugs.dpdk.org/show_bug.cgi?id=3D1422
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 is=
sue
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 declarati=
on
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 declarat=
ion
of 'pwrite64' [-Wnested-externs]
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--17141642510.ee146bF.3784386
Date: Fri, 26 Apr 2024 22:44:11 +0200
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
The DPDK main branch, on commit 7e=
06c0de1952d3109a5b0c4779d7e7d8059c9d78,
encounters a compilation error on Alpine Linux. This appears to be a new is=
sue
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 declarati=
on
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 declarat=
ion
of 'pwrite64' [-Wnested-externs]