automatic DPDK test reports
 help / color / mirror / Atom feed
From: 0-day Robot <robot@bytheb.org>
To: test-report@dpdk.org
Cc: miao.li@intel.com, robot@bytheb.org
Subject: |FAILURE| pw126848 [PATCH v1 4/4] bus/pci: add VFIO sparse mmap support
Date: Mon, 15 May 2023 03:59:52 -0400	[thread overview]
Message-ID: <20230515075952.1372742-1-robot@bytheb.org> (raw)
In-Reply-To: <20230515064700.624054-5-miao.li@intel.com>

From: robot@bytheb.org

Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/126848/

_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/4977447920
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-20.04-gcc-static-i386" failed at step Build and test
"ubuntu-20.04-gcc-static-mingw" failed at step Build and test
----------------------End summary of failed steps--------------------

-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
[611/3032] Compiling C object 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_pci_params.c.o'.
[612/3032] Generating rte_bus_dpaa.sym_chk with a meson_exe.py custom command.
[613/3032] Linking target drivers/librte_bus_dpaa.so.23.2.
[614/3032] Compiling C object 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_pci_common_uio.c.o'.
[615/3032] Generating symbol file 'drivers/a715181@@rte_bus_dpaa@sha/librte_bus_dpaa.so.23.2.symbols'.
[616/3032] Compiling C object 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_linux_pci_uio.c.o'.
[617/3032] Compiling C object 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_linux_pci.c.o'.
[618/3032] Compiling C object 'drivers/a715181@@tmp_rte_bus_platform@sta/bus_platform_platform_params.c.o'.
[619/3032] Compiling C object 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_linux_pci_vfio.c.o'.
FAILED: drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_linux_pci_vfio.c.o 
ccache gcc -Idrivers/a715181@@tmp_rte_bus_pci@sta -Idrivers -I../drivers -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.pci -MD -MQ 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_linux_pci_vfio.c.o' -MF 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_linux_pci_vfio.c.o.d' -o 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_linux_pci_vfio.c.o' -c ../drivers/bus/pci/linux/pci_vfio.c
In file included from ../lib/eal/include/rte_log.h:25,
                 from ../drivers/bus/pci/linux/pci_vfio.c:14:
../drivers/bus/pci/linux/pci_vfio.c: In function ‘pci_vfio_sparse_mmap_bar’:
../lib/eal/include/rte_common.h:290:30: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  290 | #define RTE_PTR_ADD(ptr, x) ((void*)((uintptr_t)(ptr) + (x)))
      |                              ^
../drivers/bus/pci/linux/pci_vfio.c:698:18: note: in expansion of macro ‘RTE_PTR_ADD’
  698 |     void *addr = RTE_PTR_ADD(bar_addr, sparse->offset);
      |                  ^~~~~~~~~~~
cc1: all warnings being treated as errors
[620/3032] Compiling C object 'drivers/a715181@@tmp_rte_bus_platform@sta/bus_platform_platform.c.o'.
[621/3032] Generating rte_bus_fslmc.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
ccache x86_64-w64-mingw32-gcc -Idrivers/a715181@@tmp_rte_bus_pci@sta -Idrivers -I../drivers -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/windows -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/windows/include -I../lib/eal/windows/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/pci -I../lib/pci -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D_WIN32_WINNT=0x0A00 -D__USE_MINGW_ANSI_STDIO -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.pci -MD -MQ 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_windows_pci.c.obj' -MF 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_windows_pci.c.obj.d' -o 'drivers/a715181@@tmp_rte_bus_pci@sta/bus_pci_windows_pci.c.obj' -c ../drivers/bus/pci/windows/pci.c
../drivers/bus/pci/windows/pci.c: In function ‘pci_scan_one’:
../drivers/bus/pci/windows/pci.c:412:14: error: passing argument 1 of ‘pci_free’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  412 |     pci_free(dev);
      |              ^~~
      |              |
      |              struct rte_pci_device *
In file included from ../drivers/bus/pci/windows/pci.c:14:
../drivers/bus/pci/private.h:77:42: note: expected ‘struct rte_pci_device_internal *’ but argument is of type ‘struct rte_pci_device *’
   77 | pci_free(struct rte_pci_device_internal *pdev);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
../drivers/bus/pci/windows/pci.c:421:11: error: passing argument 1 of ‘pci_free’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  421 |  pci_free(dev);
      |           ^~~
      |           |
      |           struct rte_pci_device *
In file included from ../drivers/bus/pci/windows/pci.c:14:
../drivers/bus/pci/private.h:77:42: note: expected ‘struct rte_pci_device_internal *’ but argument is of type ‘struct rte_pci_device *’
   77 | pci_free(struct rte_pci_device_internal *pdev);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
cc1: all warnings being treated as errors
[357/1416] Linking target drivers/librte_mempool_stack-23.dll.
[358/1416] Compiling C object 'drivers/a715181@@tmp_rte_dma_idxd@sta/dma_idxd_idxd_pci.c.obj'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
--------------------------------END LOGS-----------------------------

  parent reply	other threads:[~2023-05-15  7:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20230515064700.624054-5-miao.li@intel.com>
2023-05-15  6:49 ` |WARNING| " checkpatch
2023-05-15  7:59 ` 0-day Robot [this message]
2023-05-16  1:34 ` |SUCCESS| pw126845-126848 " qemudev
2023-05-16  1:35 ` qemudev

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=20230515075952.1372742-1-robot@bytheb.org \
    --to=robot@bytheb.org \
    --cc=miao.li@intel.com \
    --cc=test-report@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 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).