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 243ABA034F; Tue, 8 Jun 2021 11:09:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A6B324067A; Tue, 8 Jun 2021 11:09:14 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 177EE4013F for ; Tue, 8 Jun 2021 11:09:13 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id D6DD0A0C3F; Tue, 8 Jun 2021 11:09:12 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Tue, 08 Jun 2021 09:09:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: longfengx.liang@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 727] [build]Some branch build failed on Fedora34 with gcc 11/clang12 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=3D727 Bug ID: 727 Summary: [build]Some branch build failed on Fedora34 with gcc 11/clang12 Product: DPDK Version: unspecified Hardware: All OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: longfengx.liang@intel.com Target Milestone: --- 1.Environment 1)DPDK commit: commit 34c96748ae1420c9101edce4a9d7c40c4ba2d58f (HEAD -> main, origin/main, origin/for-next-net, origin/HEAD) 2)OS: Linux dpdk-Fedora34-64-gcc 5.11.15-300.fc34.x86_64 #1 SMP Fri Apr 16 13:41:= 48 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux 3)gcc --version gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0) 4)clang --version clang version 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34) 2.gcc build result: 1)build command=EF=BC=9A #CC=3Dgcc meson --werror -Denable_kmods=3DTrue -Dlibdir=3Dlib -Dexamples=3D= all --default-library=3Dstatic x86_64-native-linuxapp-gcc #ninja -C x86_64-native-linuxapp-gcc/ 2)output result=EF=BC=9A [root@dpdk-Fedora34-64-gcc dpdk-next-net-llf]# ninja -C x86_64-native-linuxapp-gcc/ ninja: Entering directory `x86_64-native-linuxapp-gcc/' [488/2894] Compiling C object lib/librte_table.a.p/librte_table_rte_swx_table_wm.c.o FAILED: lib/librte_table.a.p/librte_table_rte_swx_table_wm.c.o gcc -Ilib/librte_table.a.p -Ilib -I../lib -Ilib/librte_table -I../lib/librte_table -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_port -I../lib/librte_port -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_me= ter -I../lib/librte_meter -Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag -I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_kni -I../lib/librte_kni -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_acl -I../lib/librte_acl -fdiagnostics-color=3Dalways -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid= -pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=3Dnative -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ lib/librte_table.a.p/librte_table_rte_swx_table_wm.c.o -MF lib/librte_table.a.p/librte_table_rte_swx_table_wm.c.o.d -o lib/librte_table.a.p/librte_table_rte_swx_table_wm.c.o -c ../lib/librte_table/rte_swx_table_wm.c ../lib/librte_table/rte_swx_table_wm.c: In function =E2=80=98acl_table_crea= te=E2=80=99: ../lib/librte_table/rte_swx_table_wm.c:64:14: error: array subscript =E2=80= =98uint64_t {aka long unsigned int}[0]=E2=80=99 is partly outside array bounds of =E2= =80=98unsigned char[7]=E2=80=99 [-Werror=3Darray-bounds] 64 | *tsc =3D rte_get_tsc_cycles(); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_table/rte_swx_table_wm.c:59:16: note: referencing an object of size 7 allocated by =E2=80=98calloc=E2=80=99 59 | name =3D calloc(7, 1); | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [499/2894] Compiling C object lib/librte_vhost.a.p/librte_vhost_vhost_crypto.c.o ninja: build stopped: subcommand failed. 3)Expected results=EF=BC=9A Gcc build passed 3.clang build result: 1)build command=EF=BC=9A #CC=3Dclang meson --werror -Denable_kmods=3DTrue -Dlibdir=3Dlib -Dexamples= =3Dall --default-library=3Dstatic x86_64-native-linuxapp-clang #ninja -C x86_64-native-linuxapp-clang 2)output result: [root@dpdk-Fedora34-64-gcc dpdk-next-net-llf]# ninja -C x86_64-native-linuxapp-clang/ ninja: Entering directory `x86_64-native-linuxapp-clang/' [2523/2894] Compiling C object app/test/dpdk-test.p/test_cmdline_ipaddr.c.o FAILED: app/test/dpdk-test.p/test_cmdline_ipaddr.c.o clang -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -Ilib/librte_acl -I../lib/librte_acl -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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/vd= ev -Ilib/librte_bitratestats -I../lib/librte_bitratestats -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mb= uf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_m= eter -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_rcu -I../lib/librte_rcu -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_fib -I../lib/librte_fib -Ilib/librte_rib -I../lib/librte_rib -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_kni -I../lib/librte_kni -Ilib/librte_l= pm -I../lib/librte_lpm -Ilib/librte_graph -I../lib/librte_graph -Ilib/librte_i= psec -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_node -I../lib/librte_node -Ilib/librte_pipeline -I../lib/librte_pipeline -Ilib/librte_rawdev -I../lib/librte_rawdev -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/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 -Ilib/librte_compressdev -I../lib/librte_compressdev -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -Wer= ror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=3Dnative -DALLOW_EXPERIMENTAL_API -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ app/test/dpdk-test.p/test_cmdline_ipaddr.c.o -= MF app/test/dpdk-test.p/test_cmdline_ipaddr.c.o.d -o app/test/dpdk-test.p/test_cmdline_ipaddr.c.o -c ../app/test/test_cmdline_ipaddr.c ../app/test/test_cmdline_ipaddr.c:259:3: error: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Werror,-Wstring-concatenation] "random invalid text", ^ ../app/test/test_cmdline_ipaddr.c:258:3: note: place parentheses around the string literal to silence warning "1234:1234:1234:1234:1234:1234:1234:1234:1234:1234:1234" ^ 1 error generated. [2534/2894] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o ninja: build stopped: subcommand failed. 3)Expected results=EF=BC=9A Build passed 4.Now found failed branch(Same failure information with branch "dpdk-next-net")=EF=BC=9A =20 dpdk-next-net-mlx/dpdk-next-net/dpdk-next-virtio/dpdk-next-net-intel/dpdk-n= ext-crypto/dpdk-next-net-brcm/dpdk-next-eventdev/ --=20 You are receiving this mail because: You are the assignee for the bug.=