From nobody Sun Jan 14 20:36:50 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TCnBC2Yfwz574GP; Sun, 14 Jan 2024 20:36:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TCnBB6k4Tz3wkl; Sun, 14 Jan 2024 20:36:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705264611; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=szguBiBnQKCbG7imXfwNOzzrlvIWLuCDX9HDCnq0Vys=; b=ZzFWv441KD+0x4yH6Zhn4s/dps2Ln206zX/DvHrtzCnMZR8X7twi0Gmdt5hxz8ze5/Ecjh gIiD6lB6EoNI8HUEAtGn71kmaL17MHDKHQRPV7JXve4qG8fIJBlAxrjg3FRfqgKswJ0HVS XlkPNwwvPydgRFGcY0v2m9DLPMAVNXQ1Gpz/NmeZfLjPRWu7PzU9Qj2OneJTLpg3Yxe0Eu 8Z4jJEvOqHbKtHBNQoHxL5MKLBean4l/kizZdBLhoOA1owQKHAhq/b1JOxYi/zqanigBUw n0qUGiYn1My2PRrYIghceQdC66LBFQslhZuowoHxGB5JIZFe3kVUfQ5OH1hsCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705264611; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=szguBiBnQKCbG7imXfwNOzzrlvIWLuCDX9HDCnq0Vys=; b=EgGhBfdbeH2AeY3pYFBeyroywSHJfTGEvRtJ3rwUqvNmj0GBzCxXwUzYuWK/TtOXT6348N kA6ZrOkiIveoO+xpGDjzryHQWh7ageKhTsJz+BWBpMVv21T7zXG9NvgiTPhaelvlCl37LB IjbOOH33rrjlxecyqPUs3L1GzaLVMZvnX3fSi+FuQq94WpbfFonOCMFmo/uriVfdPYEakE u51ir4EfmBePViAuWXvwArGLEEJJMdkQrMulk13zUjawLjsuVf9F5H68FMeVRL60kst7lp LIfsPd0eglbat8Ge0GQJyz32RyA84wUsM5LGLE1C8P+8xK6i833G+la7sj3MdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705264611; a=rsa-sha256; cv=none; b=MyuRTEScbQZye8kHkoknX1vhbZAR/odHMT+M2oWBKkD1L9h5EMKiv7PUpFJKpHtY2j+K4W 6RMXAJ3zafStcoS3AwJw3R4sFiT16+YuSt4hQZEQKPvPjmG4cY7GUMQwghg2TkVku1gLta pCV0foXa9ZcuACH0LUABRmiGrp+7fPJrY/d72OZCzzkYyqLm4chuKaZAorPO8ryw/1ulWZ SH5k66aX6Dij5Ck7KuU9CDJMaZiy2t511HH2jzeNznNrMfVMM6Xgr8EAdEO9K1dH333dEi zBqxTgsIctIYG18HOrAPWfWtMNgHdz24pEccOtYlEwMpduHyhDpGoL/TvMfpFg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TCnBB4ydBzSh2; Sun, 14 Jan 2024 20:36:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40EKao5B007173; Sun, 14 Jan 2024 20:36:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40EKaorv007170; Sun, 14 Jan 2024 20:36:50 GMT (envelope-from git) Date: Sun, 14 Jan 2024 20:36:50 GMT Message-Id: <202401142036.40EKaorv007170@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: 89bcc8c4a4c7 - main - net/dpdk-20.11: Fix build warnings about symbols in version map file List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 89bcc8c4a4c73820d3a02f5ae2da038aff66cd02 Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=89bcc8c4a4c73820d3a02f5ae2da038aff66cd02 commit 89bcc8c4a4c73820d3a02f5ae2da038aff66cd02 Author: Bruce Richardson AuthorDate: 2024-01-14 08:12:56 +0000 Commit: Daniel Engberg CommitDate: 2024-01-14 20:28:30 +0000 net/dpdk-20.11: Fix build warnings about symbols in version map file 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 --- net/dpdk-20.11/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/net/dpdk-20.11/Makefile b/net/dpdk-20.11/Makefile index e5387d1a6438..ca8bf7b52cbe 100644 --- a/net/dpdk-20.11/Makefile +++ b/net/dpdk-20.11/Makefile @@ -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}