Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/57823 _Compilation issues_ Submitter: Chaitanya Babu Talluri Date: 2019-08-22 11:53:56 Reply_mail: 1566474836-30480-4-git-send-email-tallurix.chaitanya.babu@intel.com DPDK git baseline: Repo:dpdk, CommitID: e7fd5a3bbe5636e93a66fd5086f182756624c97a Makefile build Summary: 22 Builds Done, 21 Successful, 1 Failures meson build Summary: 7 Builds Done, 5 Successful, 2 Failures +==============================================+===========+==========+ | Makefile | Meson | Document | +--------------+------+-------+------+------------+-----------+-----------+----------+ | os | gcc | clang | icc | gcc+shared | gcc+debug | gcc/clang | pdf/html | +--------------+------+-------+------+------------+-----------+-----------+----------+ | RHEL76-64 | pass | | | | | | | | CENTOS76-64 | pass | pass | pass | pass | pass | fail | | | UB1804-64 | pass | pass | pass | | | pass | pass | | UB1604-32 | fail | | | | | fail | | | UB1904-64 | pass | | | | | | | | UB1604-64 | pass | pass | | | | | | | FC30-64 | pass | pass | | | | pass | | | FreeBSD12-64 | pass | pass | | pass | pass | pass | | | RHEL80-64 | pass | | | | | | | | SUSE15-64 | pass | pass | | | | pass | | +--------------+------+-------+------+------------+-----------+-----------+----------+ Test environment and configuration as below: ** Makefile build ** OS: RHEL76-64 Kernel Version: 3.10.0-957.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-36) Clang Version: NA x86_64-native-linuxapp-gcc OS: CENTOS76-64 Kernel Version: 3.10.0-957.10.1.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-36) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-icc OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-icc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: UB1904-64 Kernel Version: 5.0.0-13-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0 Clang Version: 8.0.0-3 (tags/RELEASE_800/final) x86_64-native-linuxapp-gcc OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) i686-native-linuxapp-gcc OS: UB1604-64 Kernel Version: 4.4.0-47-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: FC30-64 Kernel Version: 5.1.7-300.fc30.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1) Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FreeBSD12-64 Kernel Version: 12.0-RC3 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 7.3.0 Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) x86_64-native-bsdapp-gcc+debug x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc OS: RHEL80-64 Kernel Version: 4.18.0-80.el8.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: NA x86_64-native-linuxapp-gcc OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang ** meson build ** OS: CENTOS76-64 Kernel Version: 3.10.0-957.10.1.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-36) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-doc build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: FC30-64 Kernel Version: 5.0.9-301.fc30.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1) Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: FreeBSD12-64 Kernel Version: 12.0-RC3 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 7.3.0 Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default *Make Build Failed #1: OS: UB1604-32 Target: i686-native-linuxapp-gcc CC test_latencystats.o /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/app/test/test_eal_vfio.c: At top level: CC test_cmdline.o cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ [-Werror] cc1: all warnings being treated as errors /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'test_eal_vfio.o' failed make[5]: *** [test_eal_vfio.o] Error 1 make[5]: *** Waiting for unfinished jobs.... /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/mk/rte.subdir.mk:35: recipe for target 'test' failed make[4]: *** [test] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'app' failed make[3]: *** [app] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Meson Build Failed #1: OS: UB1604-32 Target:build-gcc-static FAILED: app/test/3062f5d@@dpdk-test@exe/test_eal_vfio.c.o gcc -Iapp/test/3062f5d@@dpdk-test@exe -Iapp/test -I../app/test -Ilib/librte_acl -I../lib/librte_acl -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_bpf -I../lib/librte_bpf -Ilib/librte_cfgfile -I../lib/librte_cfgfile -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_distributor -I../lib/librte_distributor -Ilib/librte_efd -I../lib/librte_efd -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_flow_classify -I../lib/librte_flow_classify -Ilib/librte_table -I../lib/librte_table -Ilib/librte_port -I../lib/librte_port -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_ipsec -I../lib/librte_ipsec -Ilib/librte_security -I../lib/librte_security -Ilib/librte_latencystats -I../lib/librte_latencystats -Ilib/librte_member -I../lib/librte_member -Ilib/librte_pipeline -I../lib/librte_pipeline -Ilib/librte_rawdev -I../lib/librte_rawdev -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_reorder -I../lib/librte_reorder -Ilib/librte_stack -I../lib/librte_stack -Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack -I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring -I../drivers/net/ring -Ilib/librte_power -I../lib/librte_power -Ilib/librte_pdump -I../lib/librte_pdump -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-pointer-to-int-cast -march=native -D_GNU_SOURCE -DALLOW_EXPERIMENTAL_API -MD -MQ 'app/test/3062f5d@@dpdk-test@exe/test_eal_vfio.c.o' -MF 'app/test/3062f5d@@dpdk-test@exe/test_eal_vfio.c.o.d' -o 'app/test/3062f5d@@dpdk-test@exe/test_eal_vfio.c.o' -c ../app/test/test_eal_vfio.c ../app/test/test_eal_vfio.c: In function ‘test_heap_mem_free’: ../app/test/test_eal_vfio.c:302:42: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] if (rte_malloc_heap_memory_remove(name, (void *)virtaddr_64, ^ ../app/test/test_eal_vfio.c:310:9: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] munmap((void *)virtaddr_64, map_length); ^ cc1: all warnings being treated as errors [1418/1657] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_distributor.c.o'. [1419/1657] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_cryptodev_blockcipher.c.o'. [1420/1657] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_efd.c.o'. [1421/1657] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_eal_flags.c.o'. [1422/1657] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_cryptodev.c.o'. ninja: build stopped: subcommand failed *Meson Build Failed #2: OS: CENTOS76-64 Target:build-gcc-static Compiler for C supports arguments -Wsign-compare: YES Compiler for C supports arguments -Wcast-qual: YES Compiler for C supports arguments -Wno-address-of-packed-member: NO Fetching value of define "__SSE4_2__" : config/x86/meson.build:22:1: ERROR: Problem encountered: SSE4.2 instruction set is required for DPDK. Please set the machine type to "nehalem" or "corei7" or higher value A full log can be found at /tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/build-clang-static/meson-logs/meson-log.txt ninja -C build-clang-static ninja: Entering directory `build-clang-static' -- Compiler for C supports arguments -Wsign-compare: YES Compiler for C supports arguments -Wcast-qual: YES Compiler for C supports arguments -Wno-address-of-packed-member: NO Fetching value of define "__SSE4_2__" : config/x86/meson.build:22:1: ERROR: Problem encountered: SSE4.2 instruction set is required for DPDK. Please set the machine type to "nehalem" or "corei7" or higher value A full log can be found at /tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/build-clang-shared/meson-logs/meson-log.txt ninja -C build-clang-shared ninja: Entering directory `build-clang-shared' -- rm -f build/cmdline build/cmdline-static build/cmdline-shared test -d build && rmdir -p build || true Unknown option --define-prefix Unknown option --define-prefix cc -O3 main.c commands.c parse_obj_list.c -o build/cmdline-shared main.c:14:28: fatal error: cmdline_rdline.h: No such file or directory #include ^ compilation terminated. commands.c:23:28: fatal error: cmdline_rdline.h: No such file or directory #include ^ compilation terminated. parse_obj_list.c:15:27: fatal error: cmdline_parse.h: No such file or directory #include ^ compilation terminated. gmake: *** [build/cmdline-shared] Error 1 gmake: Leaving directory `/tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/build-x86-default/install-root/usr/local/share/dpdk/examples/cmdline' ## Building helloworld Unknown option --define-prefix gmake: Entering directory `/tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/build-x86-default/install-root/usr/local/share/dpdk/examples/helloworld' rm -f build/helloworld build/helloworld-static build/helloworld-shared test -d build && rmdir -p build || true Unknown option --define-prefix Unknown option --define-prefix cc -O3 main.c -o build/helloworld-shared main.c:11:24: fatal error: rte_memory.h: No such file or directory #include ^ compilation terminated. gmake: *** [build/helloworld-shared] Error 1 gmake: Leaving directory `/tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/build-x86-default/install-root/usr/local/share/dpdk/examples/helloworld' ## Building l2fwd Unknown option --define-prefix gmake: Entering directory `/tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/build-x86-default/install-root/usr/local/share/dpdk/examples/l2fwd' rm -f build/l2fwd build/l2fwd-static build/l2fwd-shared test -d build && rmdir -p build || true Unknown option --define-prefix Unknown option --define-prefix cc -O3 main.c -o build/l2fwd-shared main.c:21:24: fatal error: rte_common.h: No such file or directory #include ^ compilation terminated. gmake: *** [build/l2fwd-shared] Error 1 gmake: Leaving directory `/tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/build-x86-default/install-root/usr/local/share/dpdk/examples/l2fwd' ## Building l3fwd Unknown option --define-prefix gmake: Entering directory `/tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/build-x86-default/install-root/usr/local/share/dpdk/examples/l3fwd' rm -f build/l3fwd build/l3fwd-static build/l3fwd-shared test -d build && rmdir -p build || true Unknown option --define-prefix Unknown option --define-prefix cc -O3 main.c l3fwd_lpm.c l3fwd_em.c -o build/l3fwd-shared main.c:18:24: fatal error: rte_common.h: No such file or directory #include ^ compilation terminated. l3fwd_lpm.c:19:23: fatal error: rte_debug.h: No such file or directory #include ^ compilation terminated. l3fwd_em.c:18:23: fatal error: rte_debug.h: No such file or directory #include ^ compilation terminated. gmake: *** [build/l3fwd-shared] Error 1 gmake: Leaving directory `/tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/build-x86-default/install-root/usr/local/share/dpdk/examples/l3fwd' ## Building skeleton Unknown option --define-prefix gmake: Entering directory `/tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/build-x86-default/install-root/usr/local/share/dpdk/examples/skeleton' rm -f build/basicfwd build/basicfwd-static build/basicfwd-shared test -d build && rmdir -p build || true Unknown option --define-prefix Unknown option --define-prefix cc -O3 basicfwd.c -o build/basicfwd-shared basicfwd.c:7:21: fatal error: rte_eal.h: No such file or directory #include ^ compilation terminated. gmake: *** [build/basicfwd-shared] Error 1 gmake: Leaving directory `/tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/build-x86-default/install-root/usr/local/share/dpdk/examples/skeleton' ## Building timer Unknown option --define-prefix gmake: Entering directory `/tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/build-x86-default/install-root/usr/local/share/dpdk/examples/timer' rm -f build/timer build/timer-static build/timer-shared test -d build && rmdir -p build || true Unknown option --define-prefix Unknown option --define-prefix cc -O3 main.c -o build/timer-shared main.c:11:24: fatal error: rte_common.h: No such file or directory #include ^ compilation terminated. gmake: *** [build/timer-shared] Error 1 gmake: Leaving directory `/tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/74a05a0c280e42cfae3d5c6b46729d46/dpdk/build-x86-default/install-root/usr/local/share/dpdk/examples/timer' DPDK STV team