[dpdk-test-report] |FAILURE| pw36342 [PATCH v2 1/3] eal/vfio: add support for multiple container

sys_stv at intel.com sys_stv at intel.com
Wed Mar 21 07:09:04 CET 2018


Test-Label: Intel-compilation
Test-Status: FAILURE

http://dpdk.org/patch/36342

_Compilation issues_

Submitter: Xiao Wang <xiao.w.wang at intel.com>
Date: Wed, 21 Mar 2018 21:21:08 +0800
DPDK git baseline: Repo:dpdk, Branch:master, CommitID:0011df0af25c029a136f240eb5ebc5d157529c5e

Patch36342-36342 --> compile error
Build Summary: 15 Builds Done, 0 Successful, 15 Failures

Test environment and configuration as below:
OS: FreeBSD10.3_64
    Kernel Version:10.3-RELEASE
    CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU)
    GCC Version:gcc (FreeBSD Ports Collection) 4.8.5
    Clang Version:3.4.1
    x86_64-native-bsdapp-clang
    x86_64-native-bsdapp-gcc
OS: FC24_64
    Kernel Version:4.9.13-100.fc24.x86_64
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
    GCC Version:gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2)
    Clang Version:3.8.0
    x86_64-native-linuxapp-gcc-debug
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-gcc
    x86_64-native-linuxapp-gcc-shared
    x86_64-native-linuxapp-clang
OS: UB1604_64
    Kernel Version:4.4.0-78-generic
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
    GCC Version:gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
    Clang Version:3.8.0
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-gcc
    x86_64-native-linuxapp-gcc-shared
    x86_64-native-linuxapp-clang
OS: CentOS7_64
    Kernel Version:3.10.0-514.10.2.el7.x86_64
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
    GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)
    Clang Version:3.4.2
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-clang
    x86_64-native-linuxapp-gcc-shared
    x86_64-native-linuxapp-gcc

Failed Build #1:
OS: FreeBSD10.3_64
Target: x86_64-native-bsdapp-clang
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:742:5: error: no previous prototype for function 'rte_vfio_setup_device' [-Werror,-Wmissing-prototypes]
int rte_vfio_setup_device(__rte_unused const char *sysfs_base,
    ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:750:5: error: no previous prototype for function 'rte_vfio_release_device' [-Werror,-Wmissing-prototypes]
int rte_vfio_release_device(__rte_unused const char *sysfs_base,
    ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:757:5: error: no previous prototype for function 'rte_vfio_enable' [-Werror,-Wmissing-prototypes]
int rte_vfio_enable(__rte_unused const char *modname)
    ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:762:5: error: no previous prototype for function 'rte_vfio_is_enabled' [-Werror,-Wmissing-prototypes]
int rte_vfio_is_enabled(__rte_unused const char *modname)
    ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:767:5: error: no previous prototype for function 'rte_vfio_noiommu_is_enabled' [-Werror,-Wmissing-prototypes]
int rte_vfio_noiommu_is_enabled(void)
    ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:772:5: error: no previous prototype for function 'rte_vfio_clear_group' [-Werror,-Wmissing-prototypes]
int rte_vfio_clear_group(__rte_unused int vfio_group_fd)
    ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:777:5: error: no previous prototype for function 'rte_vfio_create_container' [-Werror,-Wmissing-prototypes]
int rte_vfio_create_container(void)
    ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:782:5: error: no previous prototype for function 'rte_vfio_destroy_container' [-Werror,-Wmissing-prototypes]
int rte_vfio_destroy_container(__rte_unused int container_fd)
    ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:787:5: error: no previous prototype for function 'rte_vfio_bind_group_no' [-Werror,-Wmissing-prototypes]
int rte_vfio_bind_group_no(__rte_unused int container_fd,
    ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:793:5: error: no previous prototype for function 'rte_vfio_unbind_group_no' [-Werror,-Wmissing-prototypes]
int rte_vfio_unbind_group_no(__rte_unused int container_fd,
    ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:799:5: error: no previous prototype for function 'rte_vfio_dma_map' [-Werror,-Wmissing-prototypes]
int rte_vfio_dma_map(__rte_unused int container_fd,
    ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:806:5: error: no previous prototype for function 'rte_vfio_dma_unmap' [-Werror,-Wmissing-prototypes]
int rte_vfio_dma_unmap(__rte_unused int container_fd,
    ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:813:5: error: no previous prototype for function 'rte_vfio_get_group_fd' [-Werror,-Wmissing-prototypes]
int rte_vfio_get_group_fd(__rte_unused int iommu_group_no)
    ^
13 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'eal.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'bsdapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #2:
OS: FreeBSD10.3_64
Target: x86_64-native-bsdapp-gcc
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:742:5: error: no previous prototype for 'rte_vfio_setup_device' [-Werror=missing-prototypes]
 int rte_vfio_setup_device(__rte_unused const char *sysfs_base,
     ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:750:5: error: no previous prototype for 'rte_vfio_release_device' [-Werror=missing-prototypes]
 int rte_vfio_release_device(__rte_unused const char *sysfs_base,
     ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:757:5: error: no previous prototype for 'rte_vfio_enable' [-Werror=missing-prototypes]
 int rte_vfio_enable(__rte_unused const char *modname)
     ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:762:5: error: no previous prototype for 'rte_vfio_is_enabled' [-Werror=missing-prototypes]
 int rte_vfio_is_enabled(__rte_unused const char *modname)
     ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:767:5: error: no previous prototype for 'rte_vfio_noiommu_is_enabled' [-Werror=missing-prototypes]
 int rte_vfio_noiommu_is_enabled(void)
     ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:772:5: error: no previous prototype for 'rte_vfio_clear_group' [-Werror=missing-prototypes]
 int rte_vfio_clear_group(__rte_unused int vfio_group_fd)
     ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:777:5: error: no previous prototype for 'rte_vfio_create_container' [-Werror=missing-prototypes]
 int rte_vfio_create_container(void)
     ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:782:5: error: no previous prototype for 'rte_vfio_destroy_container' [-Werror=missing-prototypes]
 int rte_vfio_destroy_container(__rte_unused int container_fd)
     ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:787:5: error: no previous prototype for 'rte_vfio_bind_group_no' [-Werror=missing-prototypes]
 int rte_vfio_bind_group_no(__rte_unused int container_fd,
     ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:793:5: error: no previous prototype for 'rte_vfio_unbind_group_no' [-Werror=missing-prototypes]
 int rte_vfio_unbind_group_no(__rte_unused int container_fd,
     ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:799:5: error: no previous prototype for 'rte_vfio_dma_map' [-Werror=missing-prototypes]
 int rte_vfio_dma_map(__rte_unused int container_fd,
     ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:806:5: error: no previous prototype for 'rte_vfio_dma_unmap' [-Werror=missing-prototypes]
 int rte_vfio_dma_unmap(__rte_unused int container_fd,
     ^
/home/patchWorkOrg/compilation/lib/librte_eal/bsdapp/eal/eal.c:813:5: error: no previous prototype for 'rte_vfio_get_group_fd' [-Werror=missing-prototypes]
 int rte_vfio_get_group_fd(__rte_unused int iommu_group_no)
     ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'eal.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'bsdapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #3:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-debug

PMDINFO dpaa2_hw_dpcon.o.pmd.c  LD dpaa2_hw_dpcon.oIn file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/fslmc_vfio.h:11:0,
                 from /home/patchWorkOrg/compilation/drivers/bus/fslmc/rte_fslmc.h:35,
                 from /home/patchWorkOrg/compilation/drivers/event/dpaa2/dpaa2_eventdev.c:21:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vfio.h:205:15: error: ‘struct rte_memseg’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  const struct rte_memseg *ms);
               ^~~~~~~~~~
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vfio.h:226:15: error: ‘struct rte_memseg’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  const struct rte_memseg *ms);
               ^~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'dpaa2_eventdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'dpaa2' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'event' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #4:
OS: FC24_64
Target: i686-native-linuxapp-gcc
PMDINFO dpaa2_hw_dpcon.o.pmd.c  LD dpaa2_hw_dpcon.oIn file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/fslmc_vfio.h:11:0,
                 from /home/patchWorkOrg/compilation/drivers/bus/fslmc/rte_fslmc.h:35,
                 from /home/patchWorkOrg/compilation/drivers/event/dpaa2/dpaa2_eventdev.c:21:
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_vfio.h:205:15: error: ‘struct rte_memseg’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  const struct rte_memseg *ms);
               ^~~~~~~~~~
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_vfio.h:226:15: error: ‘struct rte_memseg’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  const struct rte_memseg *ms);
               ^~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'dpaa2_eventdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'dpaa2' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'event' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #5:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc
PMDINFO dpaa2_hw_dpcon.o.pmd.c  LD dpaa2_hw_dpcon.oIn file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/fslmc_vfio.h:11:0,
                 from /home/patchWorkOrg/compilation/drivers/bus/fslmc/rte_fslmc.h:35,
                 from /home/patchWorkOrg/compilation/drivers/event/dpaa2/dpaa2_eventdev.c:21:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vfio.h:205:15: error: ‘struct rte_memseg’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  const struct rte_memseg *ms);
               ^~~~~~~~~~
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vfio.h:226:15: error: ‘struct rte_memseg’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  const struct rte_memseg *ms);
               ^~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'dpaa2_eventdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'dpaa2' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'event' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #6:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-shared

PMDINFO dpaa2_hw_dpcon.o.pmd.c  LD dpaa2_hw_dpcon.oIn file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/fslmc_vfio.h:11:0,
                 from /home/patchWorkOrg/compilation/drivers/bus/fslmc/rte_fslmc.h:35,
                 from /home/patchWorkOrg/compilation/drivers/event/dpaa2/dpaa2_eventdev.c:21:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vfio.h:205:15: error: ‘struct rte_memseg’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  const struct rte_memseg *ms);
               ^~~~~~~~~~
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vfio.h:226:15: error: ‘struct rte_memseg’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  const struct rte_memseg *ms);
               ^~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'dpaa2_eventdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'dpaa2' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'event' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #7:
OS: FC24_64
Target: x86_64-native-linuxapp-clang
PMDINFO dpaa2_hw_dpcon.o.pmd.c  LD dpaa2_hw_dpcon.oIn file included from /home/patchWorkOrg/compilation/drivers/event/dpaa2/dpaa2_eventdev.c:21:
In file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/rte_fslmc.h:35:
In file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/fslmc_vfio.h:11:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_vfio.h:205:15: error: declaration of 'struct rte_memseg' will not be visible outside of this function [-Werror,-Wvisibility]
        const struct rte_memseg *ms);
                     ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_vfio.h:226:15: error: declaration of 'struct rte_memseg' will not be visible outside of this function [-Werror,-Wvisibility]
        const struct rte_memseg *ms);
                     ^
2 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'dpaa2_eventdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'dpaa2' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'event' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #8:
OS: UB1604_64
Target: i686-native-linuxapp-gcc
PMDINFO dpaa2_hw_dpcon.o.pmd.c  LD dpaa2_hw_dpcon.oIn file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/fslmc_vfio.h:11:0,
                 from /home/patchWorkOrg/compilation/drivers/bus/fslmc/rte_fslmc.h:35,
                 from /home/patchWorkOrg/compilation/drivers/event/dpaa2/dpaa2_eventdev.c:21:
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_vfio.h:205:15: error: ‘struct rte_memseg’ declared inside parameter list [-Werror]
  const struct rte_memseg *ms);
               ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_vfio.h:205:15: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_vfio.h:226:15: error: ‘struct rte_memseg’ declared inside parameter list [-Werror]
  const struct rte_memseg *ms);
               ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'dpaa2_eventdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'dpaa2' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'event' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #9:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc
PMDINFO dpaa2_hw_dpcon.o.pmd.c  LD dpaa2_hw_dpcon.oIn file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/fslmc_vfio.h:11:0,
                 from /home/patchWorkOrg/compilation/drivers/bus/fslmc/rte_fslmc.h:35,
                 from /home/patchWorkOrg/compilation/drivers/event/dpaa2/dpaa2_eventdev.c:21:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vfio.h:205:15: error: ‘struct rte_memseg’ declared inside parameter list [-Werror]
  const struct rte_memseg *ms);
               ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vfio.h:205:15: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vfio.h:226:15: error: ‘struct rte_memseg’ declared inside parameter list [-Werror]
  const struct rte_memseg *ms);
               ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'dpaa2_eventdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'dpaa2' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'event' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #10:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc-shared

PMDINFO dpaa2_hw_dpcon.o.pmd.c  LD dpaa2_hw_dpcon.oIn file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/fslmc_vfio.h:11:0,
                 from /home/patchWorkOrg/compilation/drivers/bus/fslmc/rte_fslmc.h:35,
                 from /home/patchWorkOrg/compilation/drivers/event/dpaa2/dpaa2_eventdev.c:21:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vfio.h:205:15: error: ‘struct rte_memseg’ declared inside parameter list [-Werror]
  const struct rte_memseg *ms);
               ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vfio.h:205:15: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vfio.h:226:15: error: ‘struct rte_memseg’ declared inside parameter list [-Werror]
  const struct rte_memseg *ms);
               ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'dpaa2_eventdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'dpaa2' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'event' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #11:
OS: UB1604_64
Target: x86_64-native-linuxapp-clang
PMDINFO dpaa2_hw_dpcon.o.pmd.c  LD dpaa2_hw_dpcon.oIn file included from /home/patchWorkOrg/compilation/drivers/event/dpaa2/dpaa2_eventdev.c:21:
In file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/rte_fslmc.h:35:
In file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/fslmc_vfio.h:11:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_vfio.h:205:15: error: declaration of 'struct rte_memseg' will not be visible outside of this function [-Werror,-Wvisibility]
        const struct rte_memseg *ms);
                     ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_vfio.h:226:15: error: declaration of 'struct rte_memseg' will not be visible outside of this function [-Werror,-Wvisibility]
        const struct rte_memseg *ms);
                     ^
2 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:114: recipe for target 'dpaa2_eventdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'dpaa2' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:35: recipe for target 'event' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:48: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:79: recipe for target 'install' failed


Failed Build #12:
OS: CentOS7_64
Target: i686-native-linuxapp-gcc
PMDINFO dpaa2_hw_dpcon.o.pmd.c  LD dpaa2_hw_dpcon.oIn file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/fslmc_vfio.h:11:0,
                 from /home/patchWorkOrg/compilation/drivers/bus/fslmc/rte_fslmc.h:35,
                 from /home/patchWorkOrg/compilation/drivers/event/dpaa2/dpaa2_eventdev.c:21:
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_vfio.h:205:15: error: ‘struct rte_memseg’ declared inside parameter list [-Werror]
  const struct rte_memseg *ms);
               ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_vfio.h:205:15: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_vfio.h:226:15: error: ‘struct rte_memseg’ declared inside parameter list [-Werror]
  const struct rte_memseg *ms);
               ^
cc1: all warnings being treated as errors


Failed Build #13:
OS: CentOS7_64
Target: x86_64-native-linuxapp-clang
In file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/qbman/qbman_portal.c:7:
In file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/qbman/qbman_portal.h:7:
In file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/qbman/qbman_sys.h:21:
In file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/qbman/qbman_sys_decl.h:7:
/home/patchWorkOrg/compilation/drivers/bus/fslmc/qbman/include/fsl_qbman_base.h:9:19: error: redefinition of typedef 'dma_addr_t' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef uint64_t  dma_addr_t;
                  ^
/home/patchWorkOrg/compilation/drivers/bus/fslmc/qbman/include/compat.h:35:18: note: previous definition is here
typedef uint64_t        dma_addr_t;
                        ^
1 error generated.


Failed Build #14:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc-shared

PMDINFO dpaa2_hw_dpcon.o.pmd.c  LD dpaa2_hw_dpcon.oIn file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/fslmc_vfio.h:11:0,
                 from /home/patchWorkOrg/compilation/drivers/bus/fslmc/rte_fslmc.h:35,
                 from /home/patchWorkOrg/compilation/drivers/event/dpaa2/dpaa2_eventdev.c:21:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vfio.h:205:15: error: ‘struct rte_memseg’ declared inside parameter list [-Werror]
  const struct rte_memseg *ms);
               ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vfio.h:205:15: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vfio.h:226:15: error: ‘struct rte_memseg’ declared inside parameter list [-Werror]
  const struct rte_memseg *ms);
               ^
cc1: all warnings being treated as errors


Failed Build #15:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc
PMDINFO dpaa2_hw_dpcon.o.pmd.c  LD dpaa2_hw_dpcon.oIn file included from /home/patchWorkOrg/compilation/drivers/bus/fslmc/fslmc_vfio.h:11:0,
                 from /home/patchWorkOrg/compilation/drivers/bus/fslmc/rte_fslmc.h:35,
                 from /home/patchWorkOrg/compilation/drivers/event/dpaa2/dpaa2_eventdev.c:21:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vfio.h:205:15: error: ‘struct rte_memseg’ declared inside parameter list [-Werror]
  const struct rte_memseg *ms);
               ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vfio.h:205:15: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vfio.h:226:15: error: ‘struct rte_memseg’ declared inside parameter list [-Werror]
  const struct rte_memseg *ms);
               ^
cc1: all warnings being treated as errors


DPDK STV team


More information about the test-report mailing list