DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 747] [dpdk-19.11.9-rc3] Meson build failed with ICC-19.1.1
Date: Thu, 24 Jun 2021 10:54:37 +0000	[thread overview]
Message-ID: <bug-747-3@http.bugs.dpdk.org/> (raw)

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.

             reply	other threads:[~2021-06-24 10:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-24 10:54 bugzilla [this message]
2022-11-10  4:33 ` bugzilla

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=bug-747-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@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).