All of lore.kernel.org
 help / color / mirror / Atom feed
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	[thread overview]
Message-ID: <bug-1085-3@http.bugs.dpdk.org/> (raw)

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.

             reply	other threads:[~2022-09-28  3:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-28  3:15 bugzilla [this message]
2022-10-08  3:06 ` [Bug 1085] [dpdk-22.11]ieee1588: ninja build failed with 'Dc_args=-DRTE_LIBRTE_IEEE1588' 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-1085-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.