From nobody Thu Nov 09 19:32:51 2023 X-Original-To: dev-commits-ports-all@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 4SRBtq4ZpTz5083J; Thu, 9 Nov 2023 19:32: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 4SRBtq493Mz3Mtq; Thu, 9 Nov 2023 19:32:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699558371; 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=uD6c1GiJzDbvBgVIO2gyZfn/uCqstPaYejP3wgbMjEg=; b=DhsHDIqUTfakJSRvwAaCSRTT9/pRG0Ma6dijmPUGttd50BvkFV68d0fh8fdhcPJuyEvIAb NNEzV4sGIgFT2dp3w9/RsegH2UMvjH6TsbL1vqasvLLp/sRWuqf5hFAVpw43MgXSSzrguz AQMTvB2xqiXN9u8fWZDTW/D4YouyJV375wFB8Sr1OuMLABb/QYFGyQ0SXo851maDHgbr7k mQuKSAhYopbmuNziAyVPtdTfqZv4fabWn5UwX9OS+2/cWQ02FqGZlbCaRrxIECWeG/Dpm0 GzoIM+CLMEHgHgsQ0tuofc+dztXlDhWgnxT4cxC45a0/Nk4gECM8Om2+8iVC8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699558371; 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=uD6c1GiJzDbvBgVIO2gyZfn/uCqstPaYejP3wgbMjEg=; b=Tjg38eRrOYxLqKnmlX9RcGGrlbwiAe4sQfZQFf8Ez9cmpH6RMVAJJmZMg8R3/n5QBf10ZK Tl9W4tdfQdv+MEVYlZepftjrw9SUkcjB3saJTDlEyLp7pD3qW+IUNawbDNq6pfFLjcfYpJ 1GFKhm+HZ1AwCNBUAbXwVGuy5uT+iyVWPhpdg341qeqT8AZ6M4P3+AWpfrplBfRbwXHEOH lTq84YrAn7/7gA1sU704nSAihibmAaykZFrvVULL7h1VKUAOvOjBpGhfYuOic88/hT6IJd MzHiXDn3vUu0XxoGMMTIG1FRuNKHZ8B/0YWKOyLk3rOPLZ1N416eMNdRCCAWug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699558371; a=rsa-sha256; cv=none; b=HVoNOzU+hSQCdALZ9EyWwkeQsO9jrAyOcbN7rEGFuuCCUC34rJc8VpUtjlyF/3n+AAGV3a TcW/A/JTsmKisE9zn3QcuWIsL6Y53z8/wg6Av/00WuMJaipvDiE/SM1yQfWc9B7Phto6r+ +U2EeIGumc3xmZsUmBPS9K4s+4HGv0J8Wf9b2ka2qzhIK98K7aQn21uLVurJqeiIUQZbHD BNV3SMd5cKPZTVL7WLOKJNTbqtH2jkaTuANWxTNKO9TxDS0Xi5KW+TZf9WSwtNRaLl7cen 6t28kZwHvJm+VzlpzfdFdRMMojCYt4E3vELFAUkAk4wNDlEIS3pYP7xhhIUQvw== 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 4SRBtq2ybyzCyN; Thu, 9 Nov 2023 19:32:51 +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 3A9JWptH065964; Thu, 9 Nov 2023 19:32:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A9JWpBJ065961; Thu, 9 Nov 2023 19:32:51 GMT (envelope-from git) Date: Thu, 9 Nov 2023 19:32:51 GMT Message-Id: <202311091932.3A9JWpBJ065961@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: 9b214a66ea87 - main - x11-toolkits/wxgtk32: fix build with lld 17 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9b214a66ea8788a6da299139decf506a4b4f5ff1 Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=9b214a66ea8788a6da299139decf506a4b4f5ff1 commit 9b214a66ea8788a6da299139decf506a4b4f5ff1 Author: Dimitry Andric AuthorDate: 2023-11-09 19:26:44 +0000 Commit: Dimitry Andric CommitDate: 2023-11-09 19:32:02 +0000 x11-toolkits/wxgtk32: fix build with lld 17 Building x11-toolkits/wxgtk32 with lld 17 results in the following link errors: ld: error: version script assignment of 'WXU_3.2.1' to symbol 'wxApp::GTKAllowDiagnosticsControl()' failed: symbol not defined ld: error: version script assignment of 'WXU_3.2.1' to symbol 'wxFileDialog::AddShortcut(const wxString&, int)' failed: symbol not defined Add -Wl,--undefined-version to LDFLAGS to suppress these errors, since wxWidgets reuses the same linker version script for all its shared libraries. PR: 273753 Approved by: blanket (desktop) MFH: 2023Q4 --- x11-toolkits/wxgtk32/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/x11-toolkits/wxgtk32/Makefile b/x11-toolkits/wxgtk32/Makefile index 934fd79c649b..794704329f2a 100644 --- a/x11-toolkits/wxgtk32/Makefile +++ b/x11-toolkits/wxgtk32/Makefile @@ -108,6 +108,11 @@ CONFIGURE_ARGS+=--disable-tls CONFIGURE_ARGS+=--disable-precomp-headers .endif +# wxWidgets uses the same linker version script for all its shared libraries, so +# some symbols are expectedly undefined. Suppress errors with lld >= 17 due to +# these undefined symbols. +LDFLAGS+= -Wl,--undefined-version + post-build-NLS-on: @${DO_MAKE_BUILD} allmo -C ${BUILD_WRKSRC}/locale