From: sys_stv@intel.com
To: test-report@dpdk.org
Cc: jblunck@infradead.org
Subject: [dpdk-test-report] |FAILURE| pw21476 [PATCH v4 10/10] eal: make virtual driver probe and remove take rte_vdev_device
Date: 07 Mar 2017 10:24:26 -0800 [thread overview]
Message-ID: <e81775$11bo9k6@fmsmga001.fm.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 27476 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/21476
_Compilation issues_
Submitter: Jan Blunck <jblunck@infradead.org>
Date: Mon, 6 Mar 2017 11:56:42 +0100
DPDK git baseline: Repo:dpdk, Branch:master, CommitID:b0c958e14dee3570a684fafb0ef5ca9c86c6f80d
Patch21467-21476 --> compile error
Build Summary: 18 Builds Done, 2 Successful, 16 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: RHEL7.2_64
Kernel Version:3.10.0-514.10.2.el7.x86_64
CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
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-gcc
x86_64-native-linuxapp-gcc-shared
OS: UB1604_64
Kernel Version:4.4.0-64-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-327.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-gcc
x86_64-native-linuxapp-gcc-shared
x86_64-native-linuxapp-clang
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
Failed Build #1:
OS: FreeBSD10.3_64
Target: x86_64-native-bsdapp-gcc
In file included from /home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_interrupts.h:37:0,
from /home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_pci.h:86,
from /home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_devargs.h:53,
from /home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_vdev.h:42,
from /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:41:
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c: In function 'vdev_remove_driver':
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_common.h:351:14: error: cast discards '__attribute__((const))' qualifier from pointer target type [-Werror=cast-qual]
(type *)(((char *)_ptr) - offsetof(type, member)); })
^
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:210:11: note: in expansion of macro 'container_of'
driver = container_of(dev->device.driver, const struct rte_vdev_driver,
^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_vdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'bsdapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed
Failed Build #2:
OS: RHEL7.2_64
Target: i686-native-linuxapp-gcc
In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_interrupts.h:37:0,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_pci.h:86,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_devargs.h:53,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_vdev.h:42,
from /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:41:
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c: In function ‘vdev_remove_driver’:
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_common.h:351:14: error: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Werror=cast-qual]
(type *)(((char *)_ptr) - offsetof(type, member)); })
^
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:210:11: note: in expansion of macro ‘container_of’
driver = container_of(dev->device.driver, const struct rte_vdev_driver,
^
cc1: all warnings being treated as errors
Failed Build #3:
OS: RHEL7.2_64
Target: x86_64-native-linuxapp-gcc
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_interrupts.h:37:0,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_pci.h:86,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_devargs.h:53,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vdev.h:42,
from /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:41:
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c: In function ‘vdev_remove_driver’:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_common.h:351:14: error: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Werror=cast-qual]
(type *)(((char *)_ptr) - offsetof(type, member)); })
^
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:210:11: note: in expansion of macro ‘container_of’
driver = container_of(dev->device.driver, const struct rte_vdev_driver,
^
cc1: all warnings being treated as errors
Failed Build #4:
OS: RHEL7.2_64
Target: x86_64-native-linuxapp-gcc-shared
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_interrupts.h:37:0,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_pci.h:86,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_devargs.h:53,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vdev.h:42,
from /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:41:
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c: In function ‘vdev_remove_driver’:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_common.h:351:14: error: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Werror=cast-qual]
(type *)(((char *)_ptr) - offsetof(type, member)); })
^
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:210:11: note: in expansion of macro ‘container_of’
driver = container_of(dev->device.driver, const struct rte_vdev_driver,
^
cc1: all warnings being treated as errors
Failed Build #5:
OS: UB1604_64
Target: i686-native-linuxapp-gcc
In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_interrupts.h:37:0,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_pci.h:86,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_devargs.h:53,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_vdev.h:42,
from /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:41:
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c: In function ‘vdev_remove_driver’:
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_common.h:351:14: error: cast discards ‘const’ qualifier from pointer target type [-Werror=cast-qual]
(type *)(((char *)_ptr) - offsetof(type, member)); })
^
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:210:11: note: in expansion of macro ‘container_of’
driver = container_of(dev->device.driver, const struct rte_vdev_driver,
^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_vdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'linuxapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed
Failed Build #6:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_interrupts.h:37:0,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_pci.h:86,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_devargs.h:53,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vdev.h:42,
from /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:41:
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c: In function ‘vdev_remove_driver’:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_common.h:351:14: error: cast discards ‘const’ qualifier from pointer target type [-Werror=cast-qual]
(type *)(((char *)_ptr) - offsetof(type, member)); })
^
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:210:11: note: in expansion of macro ‘container_of’
driver = container_of(dev->device.driver, const struct rte_vdev_driver,
^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_vdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'linuxapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed
Failed Build #7:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc-shared
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_interrupts.h:37:0,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_pci.h:86,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_devargs.h:53,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vdev.h:42,
from /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:41:
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c: In function ‘vdev_remove_driver’:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_common.h:351:14: error: cast discards ‘const’ qualifier from pointer target type [-Werror=cast-qual]
(type *)(((char *)_ptr) - offsetof(type, member)); })
^
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:210:11: note: in expansion of macro ‘container_of’
driver = container_of(dev->device.driver, const struct rte_vdev_driver,
^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_vdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'linuxapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed
Failed Build #8:
OS: UB1604_64
Target: x86_64-native-linuxapp-clang
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:210:11: error: cast from 'const struct rte_driver *' to 'char *' drops const qualifier [-Werror,-Wcast-qual]
driver = container_of(dev->device.driver, const struct rte_vdev_driver,
^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_common.h:351:22: note: expanded from macro 'container_of'
(type *)(((char *)_ptr) - offsetof(type, member)); })
^
1 error generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_vdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'linuxapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed
Failed Build #9:
OS: CentOS7_64
Target: i686-native-linuxapp-gcc
In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_interrupts.h:37:0,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_pci.h:86,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_devargs.h:53,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_vdev.h:42,
from /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:41:
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c: In function ‘vdev_remove_driver’:
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_common.h:351:14: error: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Werror=cast-qual]
(type *)(((char *)_ptr) - offsetof(type, member)); })
^
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:210:11: note: in expansion of macro ‘container_of’
driver = container_of(dev->device.driver, const struct rte_vdev_driver,
^
cc1: all warnings being treated as errors
Failed Build #10:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_interrupts.h:37:0,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_pci.h:86,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_devargs.h:53,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vdev.h:42,
from /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:41:
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c: In function ‘vdev_remove_driver’:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_common.h:351:14: error: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Werror=cast-qual]
(type *)(((char *)_ptr) - offsetof(type, member)); })
^
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:210:11: note: in expansion of macro ‘container_of’
driver = container_of(dev->device.driver, const struct rte_vdev_driver,
^
cc1: all warnings being treated as errors
Failed Build #11:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc-shared
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_interrupts.h:37:0,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_pci.h:86,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_devargs.h:53,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vdev.h:42,
from /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:41:
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c: In function ‘vdev_remove_driver’:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_common.h:351:14: error: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Werror=cast-qual]
(type *)(((char *)_ptr) - offsetof(type, member)); })
^
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:210:11: note: in expansion of macro ‘container_of’
driver = container_of(dev->device.driver, const struct rte_vdev_driver,
^
cc1: all warnings being treated as errors
Failed Build #12:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-debug
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_interrupts.h:37:0,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_pci.h:86,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_devargs.h:53,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vdev.h:42,
from /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:41:
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c: In function ‘vdev_remove_driver’:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_common.h:351:14: error: cast discards ‘const’ qualifier from pointer target type [-Werror=cast-qual]
(type *)(((char *)_ptr) - offsetof(type, member)); })
^
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:210:11: note: in expansion of macro ‘container_of’
driver = container_of(dev->device.driver, const struct rte_vdev_driver,
^~~~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_vdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'linuxapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed
Failed Build #13:
OS: FC24_64
Target: i686-native-linuxapp-gcc
In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_interrupts.h:37:0,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_pci.h:86,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_devargs.h:53,
from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_vdev.h:42,
from /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:41:
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c: In function ‘vdev_remove_driver’:
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_common.h:351:14: error: cast discards ‘const’ qualifier from pointer target type [-Werror=cast-qual]
(type *)(((char *)_ptr) - offsetof(type, member)); })
^
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:210:11: note: in expansion of macro ‘container_of’
driver = container_of(dev->device.driver, const struct rte_vdev_driver,
^~~~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_vdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'linuxapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed
Failed Build #14:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_interrupts.h:37:0,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_pci.h:86,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_devargs.h:53,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vdev.h:42,
from /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:41:
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c: In function ‘vdev_remove_driver’:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_common.h:351:14: error: cast discards ‘const’ qualifier from pointer target type [-Werror=cast-qual]
(type *)(((char *)_ptr) - offsetof(type, member)); })
^
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:210:11: note: in expansion of macro ‘container_of’
driver = container_of(dev->device.driver, const struct rte_vdev_driver,
^~~~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_vdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'linuxapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed
Failed Build #15:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-shared
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_interrupts.h:37:0,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_pci.h:86,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_devargs.h:53,
from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_vdev.h:42,
from /home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:41:
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c: In function ‘vdev_remove_driver’:
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_common.h:351:14: error: cast discards ‘const’ qualifier from pointer target type [-Werror=cast-qual]
(type *)(((char *)_ptr) - offsetof(type, member)); })
^
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:210:11: note: in expansion of macro ‘container_of’
driver = container_of(dev->device.driver, const struct rte_vdev_driver,
^~~~~~~~~~~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_vdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'linuxapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed
Failed Build #16:
OS: FC24_64
Target: x86_64-native-linuxapp-clang
/home/patchWorkOrg/compilation/lib/librte_eal/common/eal_common_vdev.c:210:11: error: cast from 'const struct rte_driver *' to 'char *' drops const qualifier [-Werror,-Wcast-qual]
driver = container_of(dev->device.driver, const struct rte_vdev_driver,
^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_common.h:351:22: note: expanded from macro 'container_of'
(type *)(((char *)_ptr) - offsetof(type, member)); })
^
1 error generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'eal_common_vdev.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'eal' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'linuxapp' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:61: recipe for target 'librte_eal' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:81: recipe for target 'lib' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:129: 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:104: recipe for target 'install' failed
DPDK STV team
next reply other threads:[~2017-03-07 18:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-07 18:24 sys_stv [this message]
2017-03-08 11:53 sys_stv
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='e81775$11bo9k6@fmsmga001.fm.intel.com' \
--to=sys_stv@intel.com \
--cc=jblunck@infradead.org \
--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).