DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 747] [dpdk-19.11.9-rc3] Meson build failed with ICC-19.1.1
@ 2021-06-24 10:54 bugzilla
  2022-11-10  4:33 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2021-06-24 10:54 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=747

            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=icc meson --werror -Denable_kmods=True -Dlibdir=lib -Dexamples=all
--default-library=static 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] 
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 
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_mempool
-I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring
-Ilib/librte_meter -I../lib/librte_meter -pipe -D_FILE_OFFSET_BITS=64 -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=native -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 = (uint16_t *)(ea_from->addr_bytes);"

[UB2004-64 log as below]
"FAILED: lib/librte_net.a.p/librte_net_rte_ether.c.o 
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=64 -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=native
-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 = (uint16_t *)(ea_from->addr_bytes);
16:27:31                               ^
16:27:31  
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 
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=64 -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=native
-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 = (uint16_t *)(ea_from->addr_bytes);
16:27:31                               ^
16:27:31  
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 
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=64 -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=native
-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 = (uint16_t *)(ea_from->addr_bytes);
16:27:31                               ^
16:27:31  
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 
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_mempool
-I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring
-Ilib/librte_meter -I../lib/librte_meter -pipe -D_FILE_OFFSET_BITS=64 -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=native -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 = (uint16_t *)(ea_from->addr_bytes);
16:27:31                               ^
16:27:31  
16:27:31  compilation aborted for ../lib/librte_ethdev/ethdev_private.c (code
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"

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-10  4:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-24 10:54 [dpdk-dev] [Bug 747] [dpdk-19.11.9-rc3] Meson build failed with ICC-19.1.1 bugzilla
2022-11-10  4:33 ` bugzilla

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).