DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 1032] [dpdk 22.07-rc1] app/test/test_cryptodev meson build failed with cflag param optimization=1 on Ubuntu22.04 &&RHEL8.6 with gcc11.2.0&&8.5.0
@ 2022-06-13  8:47 bugzilla
  2022-06-24  7:48 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2022-06-13  8:47 UTC (permalink / raw)
  To: dev

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

            Bug ID: 1032
           Summary: [dpdk 22.07-rc1] app/test/test_cryptodev meson build
                    failed with cflag param optimization=1 on Ubuntu22.04
                    &&RHEL8.6 with gcc11.2.0&&8.5.0
           Product: DPDK
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: daxuex.gao@intel.com
  Target Milestone: ---

[DPDK version]
commit 1ab4156e7d57858fca1db448ac7a0792e1d527b6
Author: Thomas Monjalon <thomas@monjalon.net>
Date:   Wed Jun 8 21:43:41 2022 +0200
version: 22.07-rc1

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>

[Bad commit]:
commit 6d7d651bbc157bc5a66158dca4a120df96e2b3c8
Author: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Date:   Tue May 17 01:04:39 2022 +0530

    net/cxgbe: read firmware configuration file from filesystem

    Add support to read firmware configuration file from
    /lib/firmware/cxgb4/ path in the filesystem. The firmware
    config file is used to enable or disable NIC features before
    firmware initialization to help retrieve better debug data to
    analyze firmware init failures. The config file can also
    be used to redistribute resources, like queues, TCAMs, etc.,
    from disabled physical functions (PFs) to main PF, before
    firmware init.

    Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>

 doc/guides/nics/cxgbe.rst               |  48 +++++
 drivers/net/cxgbe/base/t4fw_interface.h |   1 +
 drivers/net/cxgbe/cxgbe_main.c          | 329 +++++++++++++++++++++-----------
 3 files changed, 265 insertions(+), 113 deletions(-)


[OS version]:
gcc version  gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
Ubuntu22.04/ 5.15.0-25-generic

RHEL8.6/4.18.0-372.9.1.el8.x86_64
gcc version 8.5.0

[Test Setup]:
CC=gcc meson --optimization=1 --werror -Denable_kmods=True  -Dlibdir=lib 
--default-library=static x86_64-native-linuxapp-gcc 
ninja -C x86_64-native-linuxapp-gcc -j 10

[Ubuntu22.04 log as below]
[3304/3466] Compiling C object app/test/dpdk-test.p/test_cryptodev.c.o
FAILED: app/test/dpdk-test.p/test_cryptodev.c.o
gcc -Iapp/test/dpdk-test.p -Iapp/test -I../app/test -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/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry
-I../lib/telemetry -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal
-Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/mempool -I../lib/mempool
-Ilib/mbuf -I../lib/mbuf -Ilib/net -I../lib/net -Ilib/meter -I../lib/meter
-Ilib/ethdev -I../lib/ethdev -Ilib/pci -I../lib/pci -Ilib/cmdline
-I../lib/cmdline -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/acl
-I../lib/acl -Ilib/bbdev -I../lib/bbdev -Ilib/bitratestats
-I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/cfgfile -I../lib/cfgfile
-Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev -I../lib/cryptodev
-Ilib/distributor -I../lib/distributor -Ilib/efd -I../lib/efd -Ilib/eventdev
-I../lib/eventdev -Ilib/gpudev -I../lib/gpudev -Ilib/gro -I../lib/gro -Ilib/gso
-I../lib/gso -Ilib/ip_frag -I../lib/ip_frag -Ilib/jobstats -I../lib/jobstats
-Ilib/kni -I../lib/kni -Ilib/latencystats -I../lib/latencystats -Ilib/lpm
-I../lib/lpm -Ilib/member -I../lib/member -Ilib/pcapng -I../lib/pcapng
-Ilib/power -I../lib/power -Ilib/rawdev -I../lib/rawdev -Ilib/regexdev
-I../lib/regexdev -Ilib/dmadev -I../lib/dmadev -Ilib/rib -I../lib/rib
-Ilib/reorder -I../lib/reorder -Ilib/sched -I../lib/sched -Ilib/security
-I../lib/security -Ilib/stack -I../lib/stack -Ilib/vhost -I../lib/vhost
-Ilib/ipsec -I../lib/ipsec -Ilib/fib -I../lib/fib -Ilib/port -I../lib/port
-Ilib/pdump -I../lib/pdump -Ilib/table -I../lib/table -Ilib/pipeline
-I../lib/pipeline -Ilib/flow_classify -I../lib/flow_classify -Ilib/graph
-I../lib/graph -Ilib/node -I../lib/node -Idrivers/bus/pci -I../drivers/bus/pci
-I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev
-Idrivers/mempool/ring -I../drivers/mempool/ring -Idrivers/mempool/stack
-I../drivers/mempool/stack -Idrivers/event/skeleton -I../drivers/event/skeleton
-Idrivers/net/bonding -I../drivers/net/bonding -Idrivers/net/ring
-I../drivers/net/ring -Idrivers/net/null -I../drivers/net/null
-Idrivers/crypto/scheduler -I../drivers/crypto/scheduler
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra
-Werror -O1 -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
-march=native -DALLOW_EXPERIMENTAL_API -Wno-format-truncation
-fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ
app/test/dpdk-test.p/test_cryptodev.c.o -MF
app/test/dpdk-test.p/test_cryptodev.c.o.d -o
app/test/dpdk-test.p/test_cryptodev.c.o -c ../app/test/test_cryptodev.c
../app/test/test_cryptodev.c: In function ‘test_ipsec_pkt_replay’:
../app/test/test_cryptodev.c:10074:15: error: ‘td_outb’ may be used
uninitialized [-Werror=maybe-uninitialized]
10074 |         ret = test_ipsec_proto_process(td_outb, td_inb, nb_pkts, true,
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10075 |                                        &flags);
      |                                        ~~~~~~~
../app/test/test_cryptodev.c:9150:1: note: by argument 1 of type ‘const struct
ipsec_test_data[]’ to ‘test_ipsec_proto_process’ declared here
 9150 | test_ipsec_proto_process(const struct ipsec_test_data td[],
      | ^~~~~~~~~~~~~~~~~~~~~~~~
../app/test/test_cryptodev.c:10056:32: note: ‘td_outb’ declared here
10056 |         struct ipsec_test_data td_outb[IPSEC_TEST_PACKETS_MAX];
      |                                ^~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.

-- 
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-06-24  7:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-13  8:47 [Bug 1032] [dpdk 22.07-rc1] app/test/test_cryptodev meson build failed with cflag param optimization=1 on Ubuntu22.04 &&RHEL8.6 with gcc11.2.0&&8.5.0 bugzilla
2022-06-24  7:48 ` 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).