[Bug 276277] net/dpdk*: fix build warnings about symbols in version map file

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 12 Jan 2024 15:20:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276277

            Bug ID: 276277
           Summary: net/dpdk*: fix build warnings about symbols in version
                    map file
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: bruce.richardson@intel.com

Created attachment 247607
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247607&action=edit
patch with 1-line fix to restore old linker behaviour for dpdk and dpdk-20.11
ports

The latest versions of ld are throwing warnings/errors about entries in the
linker script that don't exist in the actual build. For DPDK, there are
functions in the linker script (version.map) which only exist on linux (and
sometimes only on windows) but not on BSD. To avoid warnings/errors, we can
restore old behaviour by adding the "-Wl,--undefined-version" flag to the
build.

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