DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 1085] [dpdk-22.11]ieee1588: ninja build failed with 'Dc_args=-DRTE_LIBRTE_IEEE1588'
@ 2022-09-28  3:15 bugzilla
  2022-10-08  3:06 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2022-09-28  3:15 UTC (permalink / raw)
  To: dev

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

            Bug ID: 1085
           Summary: [dpdk-22.11]ieee1588: ninja build failed with
                    'Dc_args=-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=gcc meson -Denable_kmods=True -Dlibdir=lib -Dc_args=-DRTE_LIBRTE_IEEE1588
--default-library=static 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/hash
-I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev
-I../lib/cryptodev -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall
-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=native -DALLOW_EXPERIMENTAL_API
-DALLOW_INTERNAL_API -Wno-format-truncation
-DRTE_LOG_DEFAULT_LOGTYPE=pmd.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 ‘dpaa2_dev_prefetch_rx’:
../drivers/net/dpaa2/dpaa2_rxtx.c:817:46: error: ‘PKT_RX_IEEE1588_TMST’
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 ‘dpaa2_dev_rx’:
../drivers/net/dpaa2/dpaa2_rxtx.c:1038:46: error: ‘PKT_RX_IEEE1588_TMST’
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 ‘dpaa2_dev_tx_conf’:
../drivers/net/dpaa2/dpaa2_rxtx.c:1169:46: error: ‘PKT_TX_IEEE1588_TMST’
undeclared (first use in this function)
 1169 |                         if (mbuf->ol_flags & PKT_TX_IEEE1588_TMST) {
      |                                              ^~~~~~~~~~~~~~~~~~~~
../drivers/net/dpaa2/dpaa2_rxtx.c: In function ‘dpaa2_dev_tx’:
../drivers/net/dpaa2/dpaa2_rxtx.c:1250:33: error: ‘PKT_TX_IEEE1588_TMST’
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 
Author: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
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 <andrew.rybchenko@oktetlabs.ru>
    Acked-by: David Marchand <david.marchand@redhat.com>
    Acked-by: Olivier Matz <olivier.matz@6wind.com>

-- 
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-10-08  3:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-28  3:15 [Bug 1085] [dpdk-22.11]ieee1588: ninja build failed with 'Dc_args=-DRTE_LIBRTE_IEEE1588' bugzilla
2022-10-08  3:06 ` 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).