From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6DE80A0547; Thu, 24 Jun 2021 12:54:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 04B8940040; Thu, 24 Jun 2021 12:54:39 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 9978C4003C for ; Thu, 24 Jun 2021 12:54:38 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 6DF60A0C40; Thu, 24 Jun 2021 12:54:38 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Thu, 24 Jun 2021 10:54:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: core X-Bugzilla-Version: 19.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yux.jiang@intel.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 747] [dpdk-19.11.9-rc3] Meson build failed with ICC-19.1.1 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D747 Bug ID: 747 Summary: [dpdk-19.11.9-rc3] Meson build failed with ICC-19.1.1 Product: DPDK Version: 19.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: core Assignee: dev@dpdk.org Reporter: yux.jiang@intel.com Target Milestone: --- [DPDK version]: e5f56f22a8 (HEAD, tag: v19.11.9-rc3, origin/19.11) version: 19.11.9-rc3 [OS version]: CENTOS83-64, kernel 4.18.0 ICC19.1.1 UB2004-64, kernel 5.8.0 ICC19.1.1 [Test Setup]: CC=3Dicc meson --werror -Denable_kmods=3DTrue -Dlibdir=3Dlib -Dexamples=3Da= ll --default-library=3Dstatic x86_64-native-linuxapp-icc ninja -C x86_64-native-linuxapp-icc -j 40 Should support to meson build 19.11.9 with ICC19.1.1 or not? [Notes]=20 1, Make build passed with ICC19.1.1 2, Meson build 19.11 also failed with ICC19.1.1 [CENTOS83-64 log as below] "FAILED: lib/librte_ethdev.a.p/librte_ethdev_rte_tm.c.o=20 16:27:31 icc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/librte_ethdev -I../lib/librte_ethdev -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= _net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mem= pool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -pipe -D_FILE_OFFSET_BITS=3D64 -Wa= ll -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=3Dnative -mno-avx512f -DALLOW_EXPERIMENTAL_API -= MD -MQ lib/librte_ethdev.a.p/librte_ethdev_rte_tm.c.o -MF lib/librte_ethdev.a.p/librte_ethdev_rte_tm.c.o.d -o lib/librte_ethdev.a.p/librte_ethdev_rte_tm.c.o -c ../lib/librte_ethdev/rte_= tm.c 16:27:31 In file included from ../lib/librte_ethdev/rte_ethdev.h(159), 16:27:31 from ../lib/librte_ethdev/rte_tm.c(8): 16:27:31 ../lib/librte_net/rte_ether.h(222): error #2203: cast discards qualifiers from target type 16:27:31 uint16_t *from_words =3D (uint16_t *)(ea_from->addr_bytes);" [UB2004-64 log as below] "FAILED: lib/librte_net.a.p/librte_net_rte_ether.c.o=20 16:27:31 icc -Ilib/librte_net.a.p -Ilib -I../lib -Ilib/librte_net -I../lib/librte_net -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_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=3Dnative -DALLOW_EXPERIMENTAL_API -MD -MQ lib/librte_net.a.p/librte_net_rte_ether.c.o -MF lib/librte_net.a.p/librte_net_rte_ether.c.o.d -o lib/librte_net.a.p/librte_net_rte_ether.c.o -c ../lib/librte_net/rte_ether.c 16:27:31 In file included from ../lib/librte_net/rte_ether.c(7): 16:27:31 ../lib/librte_net/rte_ether.h(222): error #2203: cast discards qualifiers from target type 16:27:31 uint16_t *from_words =3D (uint16_t *)(ea_from->addr_bytes); 16:27:31 ^ 16:27:31=20=20 16:27:31 compilation aborted for ../lib/librte_net/rte_ether.c (code 2) 16:27:31 [77/2184] Compiling C object lib/librte_eal.a.p/librte_eal_linux_eal_eal_memory.c.o 16:27:31 [78/2184] Compiling C object lib/librte_net.a.p/librte_net_rte_arp.c.o 16:27:31 FAILED: lib/librte_net.a.p/librte_net_rte_arp.c.o=20 16:27:31 icc -Ilib/librte_net.a.p -Ilib -I../lib -Ilib/librte_net -I../lib/librte_net -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_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=3Dnative -DALLOW_EXPERIMENTAL_API -MD -MQ lib/librte_net.a.p/librte_net_rte_arp.c.o = -MF lib/librte_net.a.p/librte_net_rte_arp.c.o.d -o lib/librte_net.a.p/librte_net_rte_arp.c.o -c ../lib/librte_net/rte_arp.c 16:27:31 In file included from ../lib/librte_net/rte_arp.h(15), 16:27:31 from ../lib/librte_net/rte_arp.c(7): 16:27:31 ../lib/librte_net/rte_ether.h(222): error #2203: cast discards qualifiers from target type 16:27:31 uint16_t *from_words =3D (uint16_t *)(ea_from->addr_bytes); 16:27:31 ^ 16:27:31=20=20 16:27:31 compilation aborted for ../lib/librte_net/rte_arp.c (code 2) 16:27:31 [79/2184] Compiling C object lib/librte_net.a.p/librte_net_rte_net.c.o 16:27:31 FAILED: lib/librte_net.a.p/librte_net_rte_net.c.o=20 16:27:31 icc -Ilib/librte_net.a.p -Ilib -I../lib -Ilib/librte_net -I../lib/librte_net -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_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=3Dnative -DALLOW_EXPERIMENTAL_API -MD -MQ lib/librte_net.a.p/librte_net_rte_net.c.o = -MF lib/librte_net.a.p/librte_net_rte_net.c.o.d -o lib/librte_net.a.p/librte_net_rte_net.c.o -c ../lib/librte_net/rte_net.c 16:27:31 In file included from ../lib/librte_net/rte_net.c(10): 16:27:31 ../lib/librte_net/rte_ether.h(222): error #2203: cast discards qualifiers from target type 16:27:31 uint16_t *from_words =3D (uint16_t *)(ea_from->addr_bytes); 16:27:31 ^ 16:27:31=20=20 16:27:31 compilation aborted for ../lib/librte_net/rte_net.c (code 2) 16:27:31 [80/2184] Compiling C object lib/librte_ethdev.a.p/librte_ethdev_ethdev_private.c.o 16:27:31 FAILED: lib/librte_ethdev.a.p/librte_ethdev_ethdev_private.c.o=20 16:27:31 icc -Ilib/librte_ethdev.a.p -Ilib -I../lib -Ilib/librte_ethdev -I../lib/librte_ethdev -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= _net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mem= pool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -pipe -D_FILE_OFFSET_BITS=3D64 -Wa= ll -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=3Dnative -DALLOW_EXPERIMENTAL_API -MD -MQ lib/librte_ethdev.a.p/librte_ethdev_ethdev_private.c.o -MF lib/librte_ethdev.a.p/librte_ethdev_ethdev_private.c.o.d -o lib/librte_ethdev.a.p/librte_ethdev_ethdev_private.c.o -c ../lib/librte_ethdev/ethdev_private.c 16:27:31 In file included from ../lib/librte_ethdev/rte_ethdev.h(159), 16:27:31 from ../lib/librte_ethdev/ethdev_private.c(5): 16:27:31 ../lib/librte_net/rte_ether.h(222): error #2203: cast discards qualifiers from target type 16:27:31 uint16_t *from_words =3D (uint16_t *)(ea_from->addr_bytes); 16:27:31 ^ 16:27:31=20=20 16:27:31 compilation aborted for ../lib/librte_ethdev/ethdev_private.c (co= de 2) 16:27:31 [81/2184] Compiling C object lib/librte_net.a.p/librte_net_rte_net_crc.c.o 16:27:31 [82/2184] Compiling C object lib/librte_meter.a.p/librte_meter_rte_meter.c.o 16:27:31 [83/2184] Generating mempool.exp_chk with a meson_exe.py custom command 16:27:31 [84/2184] Compiling C object lib/librte_mbuf.a.p/librte_mbuf_rte_mbuf_dyn.c.o 16:27:31 [85/2184] Compiling C object lib/librte_mbuf.a.p/librte_mbuf_rte_mbuf.c.o 16:27:31 ninja: build stopped" --=20 You are receiving this mail because: You are the assignee for the bug.=