Skip to contentSkip to conversation

examples/fips_validation meson build failed on centos7.9 with gcc4.8

Bug 1103 [email protected] 1 participant 2 messages Oct 13, 2022 – Oct 20, 2022

lore
Share & tools
lore

[email protected]

author Acked-by Brian Dooley
#0 lore raw

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

Bug ID: 1103
Summary: [dpdk-next-crypto] examples/fips_validation meson
build failed on centos7.9 with gcc4.8
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: core
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

[DPDK version]:
commit 60f48e581fe74e4be856363364a56df253a6655a

Author: Nic Chautru <[email protected]>
Date:   Wed Oct 12 10:59:29 2022 -0700

baseband/acc: add descriptor index helpers

Added set of helper functions used through the code to track descriptor indexes in a queue ring.

[OS version]:
centos7.9/3.10.0-1160.el7.x86_64
GCC Version: gcc 4.8.5 20150623

[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]
ninja: Entering directory `x86_64-native-linuxapp-gcc'
[3418/3567] Compiling C object examples/dpdk-fips_validation.p/fips_validation_fips_validation_rsa.c.o
FAILED: examples/dpdk-fips_validation.p/fips_validation_fips_validation_rsa.c.o cc -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_fips_validation_rsa.c.o -MF examples/dpdk-fips_validation.p/fips_validation_fips_validation_rsa.c.o.d -o examples/dpdk-fips_validation.p/fips_validation_fips_validation_rsa.c.o -c ../examples/fips_validation/fips_validation_rsa.c ../examples/fips_validation/fips_validation_rsa.c:8:24: fatal error:
sys/random.h: No such file or directory

 #include <sys/random.h>
                        ^

compilation terminated.
[3427/3567] Compiling C object app/test/dpdk-test.p/test_ring.c.o
ninja: build stopped: subcommand failed.

[bad commit]:
commit 2ca8e8e09377db7fa03670c0c34cdcaef2f5fe79

Author: Gowrishankar Muthukrishnan <[email protected]>
Date:   Wed Oct 12 11:42:36 2022 +0530

examples/fips_validation: add asymmetric validation

Add support for asymmetric crypto validation starting with RSA. For the generation of crypto values which is multiprecision in math, openssl library is used only for this purpose.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

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

gaodaxue ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from gaodaxue ([email protected]) --- Verified based on e205fbb145 PASSED. centos7.9/3.10.0-1160.el7.x86_64
GCC Version: gcc 4.8.5 20150623

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.