[DPDK/core Bug 1509] Build failure on Ubuntu 24.04 with Link Time Optimization (LTO)

bugzilla at dpdk.org bugzilla at dpdk.org
Sun Aug 4 22:38:51 CEST 2024


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

            Bug ID: 1509
           Summary: Build failure on Ubuntu 24.04 with Link Time
                    Optimization (LTO)
           Product: DPDK
           Version: 24.07
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev at dpdk.org
          Reporter: alialnu at nvidia.com
  Target Milestone: ---

$ meson --werror -Db_lto=true -Dc_args='-O3'
-Ddisable_drivers=net/ena,net/tap,*/octeontx,*/cnxk build && ninja -C build
[..]
[2453/2453] Linking target app/dpdk-test
In function ‘memcpy’,
    inlined from ‘test_argparse_copy’ at ../app/test/test_argparse.c:94:3,
    inlined from ‘test_argparse_init_obj’ at ../app/test/test_argparse.c:106:2,
    inlined from ‘test_argparse_invalid_basic_param’ at
../app/test/test_argparse.c:116:8:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning:
‘__builtin___memcpy_chk’ writing 48 bytes into a region of size 0 overflows the
destination [-Wstringop-overflow=]
[..]

OS: Ubuntu 24.04
Meson: 1.3.2
Compiler: gcc 13.2.0

(Note: some drivers are disabled because they report other errors)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20240804/9422d015/attachment.htm>


More information about the dev mailing list