All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 940] [dpdk 22.03-rc2] drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_nix_inl_dev.c.o: meson build failed with -Dmax_ethports=1024 parameter
Date: Mon, 28 Feb 2022 10:06:26 +0000	[thread overview]
Message-ID: <bug-940-3@http.bugs.dpdk.org/> (raw)

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

            Bug ID: 940
           Summary: [dpdk 22.03-rc2]
                    drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_nix
                    _inl_dev.c.o: meson build failed with
                    -Dmax_ethports=1024 parameter
           Product: DPDK
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: testpmd
          Assignee: dev@dpdk.org
          Reporter: weix.ling@intel.com
  Target Milestone: ---

[Environment]

DPDK version: Use make showversion or for a non-released version: git remote -v
&& git show-ref --heads
 DPDK-22.03-rc2:
commit 305769000c40a4fdf1ed0cf24c157b447b91ea7d (HEAD -> main, tag: v22.03-rc2,
origin/main, origin/HEAD)
Author: Thomas Monjalon <thomas@monjalon.net>
Date:   Sun Feb 27 21:52:48 2022 +0100    version: 22.03-rc2    Signed-off-by:
Thomas Monjalon <thomas@monjalon.net>
Other software versions: N/A
OS: Ubuntu 20.04.3 LTS/Linux 5.8.0-48-generic
Compiler: gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
Hardware platform: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
NIC hardware: N/A
NIC firmware: N/A

[Test Setup]
Steps to reproduce
List the steps to reproduce the issue.

Use the following command to build DPDK:

CC=gcc meson -Denable_kmods=True -Dlibdir=lib -Dmax_ethports=1024
--default-library=static x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc

Show the output from the previous commands.

[594/3394] Compiling C object
drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_nix_inl_dev.c.o
FAILED: drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_nix_inl_dev.c.o
gcc -Idrivers/libtmp_rte_common_cnxk.a.p -Idrivers -I../drivers
-Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/bus/pci
-I../drivers/bus/pci -Ilib/net -I../lib/net -Ilib/ethdev -I../lib/ethdev
-Ilib/meter -I../lib/meter -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/pci
-I../lib/pci -I../drivers/bus/pci/linux -Ilib/mbuf -I../lib/mbuf -Ilib/mempool
-I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/security -I../lib/security
-Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu
-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 -D_GNU_SOURCE -fPIC -march=native
-DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation
-DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.cnxk -MD -MQ
drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_nix_inl_dev.c.o -MF
drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_nix_inl_dev.c.o.d -o
drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_nix_inl_dev.c.o -c
../drivers/common/cnxk/roc_nix_inl_dev.c
In file included from ../drivers/common/cnxk/roc_api.h:25,
                 from ../drivers/common/cnxk/roc_nix_inl_dev.c:5:
../drivers/common/cnxk/roc_nix_inl_dev.c: In function ‘roc_nix_inl_dev_init’:
../drivers/common/cnxk/roc_platform.h:52:31: error: static assertion failed:
"sizeof(struct nix_inl_dev) <= ROC_NIX_INL_MEM_SZ"
   52 | #define PLT_STATIC_ASSERT(s)  _Static_assert(s, #s)
      |                               ^~~~~~~~~~~~~~
../drivers/common/cnxk/roc_nix_inl_dev.c:794:2: note: in expansion of macro
‘PLT_STATIC_ASSERT’
  794 |  PLT_STATIC_ASSERT(sizeof(struct nix_inl_dev) <= ROC_NIX_INL_MEM_SZ);
      |  ^~~~~~~~~~~~~~~~~
[707/3394] Compiling C object
lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
ninja: build stopped: subcommand failed.

[Expected Result]
Explain what is the expected result in text or as an example output:

Build DPDK normally.
Regression
Is this issue a regression: (Y/N)Y

Version the regression was introduced: Specify git id if known.

First bad commit:

commit bea5d990a93b34b70ea27b5d942dd4422a86c061 (HEAD)
Author: Vamsi Attunuru <vattunuru@marvell.com>
Date:   Thu Feb 24 15:19:31 2022 +0530

    net/cnxk: support outbound soft expiry notification

    Add support for soft expiry notification mechanism in outbound
    path by creating required number of ring buffers and a common poll
    thread which polls for soft expiry events enqueued by microcode.

    Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com>
    Acked-by: Jerin Jacob <jerinj@marvell.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.

             reply	other threads:[~2022-02-28 10:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-28 10:06 bugzilla [this message]
2022-03-03  6:45 ` [Bug 940] [dpdk 22.03-rc2] drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_nix_inl_dev.c.o: meson build failed with -Dmax_ethports=1024 parameter 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-940-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.