All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
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	[thread overview]
Message-ID: <bug-1422-3@http.bugs.dpdk.org/> (raw)

[-- 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 --]

                 reply	other threads:[~2024-04-26 20:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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-1422-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.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.