Skip to content

Commit

Permalink
net/dpdk-20.11: Fix build warnings about symbols in version map file
Browse files Browse the repository at this point in the history
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.

PR:		276277
  • Loading branch information
bruce-richardson authored and Daniel Engberg committed Jan 14, 2024
1 parent a11f3cf commit 89bcc8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/dpdk-20.11/Makefile
Expand Up @@ -31,6 +31,7 @@ SHEBANG_FILES= examples/ipsec-secgw/test/pkttest.py \
usertools/dpdk-telemetry.py
MESON_ARGS= -Ddefault_library=shared \
-Denable_kmods=true \
-Dc_link_args=-Wl,--undefined-version \
-Dmachine=default

WRKSRC= ${WRKDIR}/${PORTNAME}-stable-${PORTVERSION}
Expand Down

0 comments on commit 89bcc8c

Please sign in to comment.