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 A7E33A00C2; Wed, 28 Sep 2022 05:15:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5D9EA41133; Wed, 28 Sep 2022 05:15:54 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 87FFD40E25 for ; Wed, 28 Sep 2022 05:15:53 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 5EECEA00C3; Wed, 28 Sep 2022 05:15:53 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1085] [dpdk-22.11]ieee1588: ninja build failed with 'Dc_args=-DRTE_LIBRTE_IEEE1588' Date: Wed, 28 Sep 2022 03:15:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: meson X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: linglix.chen@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 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 https://bugs.dpdk.org/show_bug.cgi?id=3D1085 Bug ID: 1085 Summary: [dpdk-22.11]ieee1588: ninja build failed with 'Dc_args=3D-DRTE_LIBRTE_IEEE1588' Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: meson Assignee: dev@dpdk.org Reporter: linglix.chen@intel.com Target Milestone: --- dpdk-22.11.0-rc0: 235558fe94 (ethdev: remove deprecated flow action physical port) Reproduce Step: 1.CC=3Dgcc meson -Denable_kmods=3DTrue -Dlibdir=3Dlib -Dc_args=3D-DRTE_LIBR= TE_IEEE1588 --default-library=3Dstatic x86_64-native-linuxapp-gcc 2.ninja -C x86_64-native-linuxapp-gcc Expect results: Build passed Actual results: ninja: build stopped: subcommand failed. ninja: Entering directory `x86_64-native-linuxapp-gcc' [1314/3409] Compiling C object drivers/libtmp_rte_net_dpaa2.a.p/net_dpaa2_dpaa2_rxtx.c.o FAILED: drivers/libtmp_rte_net_dpaa2.a.p/net_dpaa2_dpaa2_rxtx.c.o gcc -Idrivers/libtmp_rte_net_dpaa2.a.p -Idrivers -I../drivers -Idrivers/net/dpaa2 -I../drivers/net/dpaa2 -I../drivers/net/dpaa2/base -I../drivers/net/dpaa2/mc -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/mempool/dpaa2 -I../drivers/mempool/dpaa2 -Idrivers/bus/fslmc -I../drivers/bus/fslmc -I../drivers/bus/fslmc/mc -I../drivers/bus/fslmc/qbman/include -I../drivers/bus/fslmc/portal -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/h= ash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/crypt= odev -I../lib/cryptodev -fdiagnostics-color=3Dalways -D_FILE_OFFSET_BITS=3D64 -W= all -Winvalid-pch -Wextra -O3 -include rte_config.h -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 -DRTE_LIBRTE_IEEE1588 -fPIC -march=3Dnative -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=3Dpmd.net.dpaa2 -MD -MQ drivers/libtmp_rte_net_dpaa2.a.p/net_dpaa2_dpaa2_rxtx.c.o -MF drivers/libtmp_rte_net_dpaa2.a.p/net_dpaa2_dpaa2_rxtx.c.o.d -o drivers/libtmp_rte_net_dpaa2.a.p/net_dpaa2_dpaa2_rxtx.c.o -c ../drivers/net/dpaa2/dpaa2_rxtx.c ../drivers/net/dpaa2/dpaa2_rxtx.c: In function =E2=80=98dpaa2_dev_prefetch_= rx=E2=80=99: ../drivers/net/dpaa2/dpaa2_rxtx.c:817:46: error: =E2=80=98PKT_RX_IEEE1588_T= MST=E2=80=99 undeclared (first use in this function) 817 | if (bufs[num_rx]->ol_flags & PKT_RX_IEEE1588_TMST) { | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/dpaa2/dpaa2_rxtx.c:817:46: note: each undeclared identifier = is reported only once for each function it appears in ../drivers/net/dpaa2/dpaa2_rxtx.c: In function =E2=80=98dpaa2_dev_rx=E2=80= =99: ../drivers/net/dpaa2/dpaa2_rxtx.c:1038:46: error: =E2=80=98PKT_RX_IEEE1588_= TMST=E2=80=99 undeclared (first use in this function) 1038 | if (bufs[num_rx]->ol_flags & PKT_RX_IEEE1588_TMST) { | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/dpaa2/dpaa2_rxtx.c: In function =E2=80=98dpaa2_dev_tx_conf= =E2=80=99: ../drivers/net/dpaa2/dpaa2_rxtx.c:1169:46: error: =E2=80=98PKT_TX_IEEE1588_= TMST=E2=80=99 undeclared (first use in this function) 1169 | if (mbuf->ol_flags & PKT_TX_IEEE1588_TMST) { | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/dpaa2/dpaa2_rxtx.c: In function =E2=80=98dpaa2_dev_tx=E2=80= =99: ../drivers/net/dpaa2/dpaa2_rxtx.c:1250:33: error: =E2=80=98PKT_TX_IEEE1588_= TMST=E2=80=99 undeclared (first use in this function) 1250 | if ((*bufs)->ol_flags & PKT_TX_IEEE1588_TMST) { | ^~~~~~~~~~~~~~~~~~~~ [1411/3409] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped: subcommand failed. Is this issue a regression: Y Version the regression was introduced: Specify git id if known. First bad commit b9b509246da274cfea47311792ba8400c179c24b=20 Author: Andrew Rybchenko Date: Fri Aug 5 11:02:42 2022 +0300 mbuf: remove deprecated offload flags Remove deprecated ``PKT_*`` flags. Use corresponding flags with ``RTE_MBUF_F_`` prefix instead. Signed-off-by: Andrew Rybchenko Acked-by: David Marchand Acked-by: Olivier Matz --=20 You are receiving this mail because: You are the assignee for the bug.=