public inbox for dev@dpdk.org
 help / color / mirror / Atom feed
* [DPDK/core Bug 1509] Build failure on Ubuntu 24.04 with Link Time Optimization (LTO)
@ 2024-08-04 20:38 bugzilla
  2026-01-19 18:33 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2024-08-04 20:38 UTC (permalink / raw)
  To: dev

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

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@dpdk.org
          Reporter: alialnu@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.

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

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

* [DPDK/core Bug 1509] Build failure on Ubuntu 24.04 with Link Time Optimization (LTO)
  2024-08-04 20:38 [DPDK/core Bug 1509] Build failure on Ubuntu 24.04 with Link Time Optimization (LTO) bugzilla
@ 2026-01-19 18:33 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2026-01-19 18:33 UTC (permalink / raw)
  To: dev

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

Stephen Hemminger (stephen@networkplumber.org) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
                 CC|                            |stephen@networkplumber.org

--- Comment #2 from Stephen Hemminger (stephen@networkplumber.org) ---
commit 3fc246e883c412f3c285bcabdb402b7d66e78526
Author: Stephen Hemminger <stephen@networkplumber.org>
Date:   Tue Sep 9 06:49:52 2025 -0700

    test/argparse: change initialization to workaround LTO

    When compiled with Link Time Optimization, the existing code
    generated an error, because the compiler was unable to intuit
    that there was space in the flexible array.

-- 
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:[~2026-01-19 18:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-04 20:38 [DPDK/core Bug 1509] Build failure on Ubuntu 24.04 with Link Time Optimization (LTO) bugzilla
2026-01-19 18:33 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox