From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1812BA00BE; Tue, 28 Apr 2020 11:15:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 11CD91D5EA; Tue, 28 Apr 2020 11:15:10 +0200 (CEST) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id 7087C1D5C3 for ; Tue, 28 Apr 2020 11:15:09 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 68354A00C5; Tue, 28 Apr 2020 11:15:09 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Tue, 28 Apr 2020 09:15:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: testpmd X-Bugzilla-Version: 20.05 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: qimaix.xiao@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 465] app/test compile failed with gcc and clang X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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=3D465 Bug ID: 465 Summary: app/test compile failed with gcc and clang Product: DPDK Version: 20.05 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: testpmd Assignee: dev@dpdk.org Reporter: qimaix.xiao@intel.com Target Milestone: --- ---------------------------------Description-------------------------------= ---- build ./app/test failed on dpdk 20.05 ---------------------------------reproduce steps---------------------------= ---- Steps: 1. cd /root/dpdk 2. export RTE_TARGET=3Dx86_64-native-linuxapp-gcc;export RTE_SDK=3D`pwd`;m= ake install T=3Dx86_64-native-linuxapp-gcc -j70 3. sed -i -e 's/#define MAX_TRAFFIC_BURST 2048/#define MAX_TRAFFIC_BURST 32/' app/test/test_pmd_perf.c 4. sed -i -e 's/lpbk_mode =3D 1/lpbk_mode =3D 0/' app/test/test_pmd_perf.c 5. rm -rf ./app/test/test_resource_c.res.o 6. rm -rf ./app/test/test_resource_tar.res.o 7. rm -rf ./app/test/test_pci_sysfs.res.o 8. make -j 70 -C app/test Output: ... test_mbuf.c:2670:2: error: =E2=80=98rte_mbuf_dyn_dump=E2=80=99 is deprecate= d: Symbol is not yet part of stable ABI [-Werror=3Ddeprecated-declarations] rte_mbuf_dyn_dump(stdout); ^~~~~~~~~~~~~~~~~ In file included from test_mbuf.c:35:0: /root/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf_dyn.h:235:6: note: declared here void rte_mbuf_dyn_dump(FILE *out); ^~~~~~~~~~~~~~~~~ test_flow_classify.c: At top level: cc1: error: unrecognized command line option =E2=80=98-Wno-address-of-packe= d-member=E2=80=99 [-Werror] cc1: all warnings being treated as errors /root/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'test_flow_classify.o' failed make: *** [test_flow_classify.o] Error 1 test_stack_perf.c: At top level: cc1: error: unrecognized command line option =E2=80=98-Wno-address-of-packe= d-member=E2=80=99 [-Werror] cc1: all warnings being treated as errors /root/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'test_stack_perf.o' failed make: *** [test_stack_perf.o] Error 1 test_timer_secondary.c: At top level: cc1: error: unrecognized command line option =E2=80=98-Wno-address-of-packe= d-member=E2=80=99 [-Werror] cc1: all warnings being treated as errors /root/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'test_timer_secondary.o' failed make: *** [test_timer_secondary.o] Error 1 test_stack.c: At top level: cc1: error: unrecognized command line option =E2=80=98-Wno-address-of-packe= d-member=E2=80=99 [-Werror] cc1: all warnings being treated as errors /root/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'test_stac= k.o' failed make: *** [test_stack.o] Error 1 test_mbuf.c: At top level: cc1: error: unrecognized command line option =E2=80=98-Wno-address-of-packe= d-member=E2=80=99 [-Werror] cc1: all warnings being treated as errors /root/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'test_mbuf= .o' failed make: *** [test_mbuf.o] Error 1 test_ring_perf.c: At top level: cc1: error: unrecognized command line option =E2=80=98-Wno-address-of-packe= d-member=E2=80=99 [-Werror] cc1: all warnings being treated as errors /root/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'test_ring_perf.o' failed make: *** [test_ring_perf.o] Error 1 test_ring.c: At top level: cc1: error: unrecognized command line option =E2=80=98-Wno-address-of-packe= d-member=E2=80=99 [-Werror] cc1: all warnings being treated as errors /root/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'test_ring= .o' failed make: *** [test_ring.o] Error 1 Comments: clang has the same issue with gcc --=20 You are receiving this mail because: You are the assignee for the bug.=