DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 1168] [23.03-rc1] dpdk-next-crypto examples/fips_validation meson build error with gcc4.8.5 on Centos7.9
@ 2023-02-28  6:29 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2023-02-28  6:29 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 3832 bytes --]

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

            Bug ID: 1168
           Summary: [23.03-rc1] dpdk-next-crypto examples/fips_validation
                    meson build error with gcc4.8.5 on Centos7.9
           Product: DPDK
           Version: 23.03
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: chenyux.huang@intel.com
  Target Milestone: ---

[git]
commit 666b5d8ddd36d269076296697bb79bfa6cfeff4f (HEAD -> for-main,
origin/for-main, origin/HEAD)
Author: Tejasree Kondoj <ktejasree@marvell.com>
Date:   Fri Feb 24 11:26:11 2023 +0530

    test/crypto: enable SG tests for cn10k

    Removed PMD specific check in IPsec SG cases.

    Signed-off-by: Tejasree Kondoj <ktejasree@marvell.com>
    Acked-by: Akhil Goyal <gakhil@marvell.com>


[OS version]
 CentOS Linux 7 (Core)
 CentOS79-64_K3.10.0_GCC4.8.5
 gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)

[bad commit]
commit 12b10f60b6e5dcc1b24d334721dd11505d1e3c9a
Author: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
Date:   Mon Feb 6 20:15:56 2023 +0530

    examples/fips_validation: add SHAKE validation

    Add support in fips_validation to parse SHAKE algorithms.

    Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
    Acked-by: Brian Dooley <brian.dooley@intel.com>

[Test setup]
CC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib -Dexamples=all
--default-library=static x86_64-native-linuxapp-gcc && ninja -j 10 -C
x86_64-native-linuxapp-gcc/

[error log]
Found ninja-1.10.2.git.kitware.jobserver-1 at /usr/local/bin/ninja
ninja: Entering directory `x86_64-native-linuxapp-gcc/'
[3045/3213] Compiling C object
examples/dpdk-fips_validation.p/fips_validation_main.c.o
FAILED: examples/dpdk-fips_validation.p/fips_validation_main.c.o
gcc -Iexamples/dpdk-fips_validation.p -Iexamples -I../examples
-Iexamples/fips_validation -I../examples/fips_validation -I../examples/common
-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/mempool -I../lib/mempool -Ilib/ring
-I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/ethdev
-I../lib/ethdev -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline
-Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-missing-field-initializers -D_GNU_SOURCE
-march=native -DUSE_OPENSSL -DALLOW_EXPERIMENTAL_API -MD -MQ
examples/dpdk-fips_validation.p/fips_validation_main.c.o -MF
examples/dpdk-fips_validation.p/fips_validation_main.c.o.d -o
examples/dpdk-fips_validation.p/fips_validation_main.c.o -c
../examples/fips_validation/main.c
../examples/fips_validation/main.c: In function ‘fips_mct_shake_test’:
../examples/fips_validation/main.c:2425:5: error: dereferencing type-punned
pointer will break strict-aliasing rules [-Werror=strict-aliasing]
     (*(uint16_t *)rightmost % range);
     ^
cc1: all warnings being treated as errors
[3054/3213] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped: subcommand failed.

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

[-- Attachment #2: Type: text/html, Size: 6094 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-28  6:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-28  6:29 [Bug 1168] [23.03-rc1] dpdk-next-crypto examples/fips_validation meson build error with gcc4.8.5 on Centos7.9 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).