From nobody Thu Dec 07 20:58:24 2023 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 4SmRSc4hSBz53bgL; Thu, 7 Dec 2023 20:58:24 +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 4SmRSc4D2bz3DCc; Thu, 7 Dec 2023 20:58:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701982704; 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=6jMTOPe3Ly7z/1Mr4wnWCUFuuy4MhFvBgzlotF2VTKk=; b=UbsrbILBR3hqRSQDELlxgkIrMutTowGd4yHIk7uCGbWq6XYoWKl7dkvHS3/t58yz4z9161 VbLWIOv6f666n220ZGWWnJmPTTMj6DiG1mXzc5yY2iyx0ebdv4mv8oTqZQf62byUmqgXHz wKP14PacGcjQah9IyHxyafJPFHoq3Pj/TNDb82XOY3c+lOMLZoODErZvNA0FHbj0IzvUII rdFj0h6RF7PBlJKAnz2CFnXhOEoSSIcKVgdrfxsFSCQECnkyrA26RZBo3dgqAb27dBbIqM Y6Y1omoAglKSvBhtJlo6ZP/zeDtjB6z1VlZu1MVH2faEcNPai9mkouA65miB9Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701982704; a=rsa-sha256; cv=none; b=ReSi+YzXuETTbAfzIfjENrz5hsR4vOfKh9m6y0GVl4gLMRkxtH/ADSrn2iwn8EV/TMWMFF M5k34hAJfWzGkz8iBt0IfxXplhE67ICQBPfXJz6EBNrVvLm1y54WUvHyXCPH3LyJDmQrGC KKdtFQ+fV0vzLG3fAykKnMqTspCrUh18ddeyqCMgrjAde3JhBLBeNluM8xC1MQBw7KiZx4 bTdruRqd/XSs7SN6rpzUnUUrpg/2doaKABjuXHFUBC7TdqVyxPqAmp7EHpN9F2LwC1ZjZU IbZV0mqAHXnAWieSodXk7M2jcVwqT9T+WqU15s6vHYLP3W4YYZSbOzJdXcoDvg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701982704; 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=6jMTOPe3Ly7z/1Mr4wnWCUFuuy4MhFvBgzlotF2VTKk=; b=a8MyckgYov5q9K/5RBfht7aVGUPzh+ngk++TsI2bAjMiIxxEggOpSCAJmo2RQbBJ6sG/dZ o29KRklCAFKfNix97arDdULioRG8uqwdQDMww2M8tcoYK33WB94ntjLgE+qi3qZdxVE7qp JwfNnZuw3xaLQof3uCUV9QOPh4E2jGXGqhdA8nqXzQQFteuofMpJRhGnGblQp9K+ECR3b0 dTYR8XzcTzPB/2x9EcW2Wm8jHi4rAuozIGX7XaZqsgpgIBJC+D4EDRVUZHirav9dkhOKWA MFTYceRvdia0xtttV4qsV64C9jJFEDO0qtBKAGclAo26BQRrllKbTRx8cMEQgA== 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 4SmRSc3Hv5zsbf; Thu, 7 Dec 2023 20:58:24 +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 3B7KwOjf090997; Thu, 7 Dec 2023 20:58:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3B7KwOij090994; Thu, 7 Dec 2023 20:58:24 GMT (envelope-from git) Date: Thu, 7 Dec 2023 20:58:24 GMT Message-Id: <202312072058.3B7KwOij090994@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: bb35b52f490f - main - devel/opencl-clang: fix build with lld 17 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: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bb35b52f490f391b20885221e95d672e4b711dd6 Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=bb35b52f490f391b20885221e95d672e4b711dd6 commit bb35b52f490f391b20885221e95d672e4b711dd6 Author: Dimitry Andric AuthorDate: 2023-12-07 20:55:46 +0000 Commit: Dimitry Andric CommitDate: 2023-12-07 20:57:54 +0000 devel/opencl-clang: fix build with lld 17 Building devel/opencl-clang with lld 17 results in the following link error: ld: error: version script assignment of 'global' to symbol 'CheckLinkOptions' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'Link' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'GetKernelArgInfo' failed: symbol not defined The mentioned symbols are no longer in common_clang.cpp, so remove them from the linker version script. PR: 273753 MFH: 2023Q4 --- devel/opencl-clang/files/patch-common__clang.map | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/devel/opencl-clang/files/patch-common__clang.map b/devel/opencl-clang/files/patch-common__clang.map new file mode 100644 index 000000000000..1189d6c1655a --- /dev/null +++ b/devel/opencl-clang/files/patch-common__clang.map @@ -0,0 +1,13 @@ +--- common_clang.map.orig 2022-08-31 01:41:40 UTC ++++ common_clang.map +@@ -2,10 +2,7 @@ global: + global: + extern "C" { + CheckCompileOptions; +- CheckLinkOptions; + Compile; +- Link; +- GetKernelArgInfo; + PCM_OPENCL_C_H*; + PCM_OPENCL_C_BASE_H*; + };