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

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

            Bug ID: 1033
           Summary: [dpdk 22.07-rc1] app/test-flow-perf 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>

[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]
[3205/3466] Compiling C object
app/dpdk-test-flow-perf.p/test-flow-perf_main.c.o
FAILED: app/dpdk-test-flow-perf.p/test-flow-perf_main.c.o
gcc -Iapp/dpdk-test-flow-perf.p -Iapp -I../app -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 -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 -MD -MQ
app/dpdk-test-flow-perf.p/test-flow-perf_main.c.o -MF
app/dpdk-test-flow-perf.p/test-flow-perf_main.c.o.d -o
app/dpdk-test-flow-perf.p/test-flow-perf_main.c.o -c
../app/test-flow-perf/main.c
../app/test-flow-perf/main.c: In function ‘pretty_number’:
../app/test-flow-perf/main.c:1737:28: error: ‘__builtin___sprintf_chk’ may
write a terminating nul past the end of the destination
[-Werror=format-overflow=]
 1737 |         sprintf(p[i++], "%d", (int)n);
      |                            ^
In file included from /usr/include/stdio.h:894,
                 from ../app/test-flow-perf/main.c:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note:
‘__builtin___sprintf_chk’ output between 2 and 5 bytes into a destination of
size 4
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[3304/3466] Compiling C object app/test/dpdk-test.p/test_cryptodev.c.o

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 1033] [dpdk 22.07-rc1] app/test-flow-perf meson build failed with cflag param optimization=1 on Ubuntu22.04 &&RHEL8.6 with gcc11.2.0&&8.5.0
  2022-06-13  8:50 [Bug 1033] [dpdk 22.07-rc1] app/test-flow-perf meson build failed with cflag param optimization=1 on Ubuntu22.04 &&RHEL8.6 with gcc11.2.0&&8.5.0 bugzilla
@ 2022-06-15  8:43 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2022-06-15  8:43 UTC (permalink / raw)
  To: dev

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

David Marchand (david.marchand@redhat.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david.marchand@redhat.com
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from David Marchand (david.marchand@redhat.com) ---
Already reported earlier.

*** This bug has been marked as a duplicate of bug 856 ***

-- 
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-15  8:43 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:50 [Bug 1033] [dpdk 22.07-rc1] app/test-flow-perf meson build failed with cflag param optimization=1 on Ubuntu22.04 &&RHEL8.6 with gcc11.2.0&&8.5.0 bugzilla
2022-06-15  8:43 ` 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).