From nobody Mon Nov 13 19:07:12 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 4STf7P0bkcz50QJs; Mon, 13 Nov 2023 19:07:13 +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 4STf7N6rzdz4c6G; Mon, 13 Nov 2023 19:07:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699902433; 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=bzfE4Y1h8qdfwJk0m605yaW1/B57agElJ5AyiFdYIZM=; b=LCtrhjjtz6gkZGe5AXKZQdFr5ejXtPU25TYmbbmXvocPbxBsMKd71Lb5vNPuLTlqqT9iqJ vB5bq2lxvYIIRvEBbhSXMMqgZ4mA7iM2y3kdDQyvgGlcqtKcooZgoUX1aE4JTB+c4hccKq x4bTVV4LiBC5QCDGgqVEJ/JZ498wgfweuew/PfrUfT3ZcYg8B5KtfFiLOUPi6zsk0G4Pq4 f+egqxCKpN/4RO6Hy8ZiEoe5bhz9G4dPZXGaL8Iia+DAc7tZ4i0qZjR8Ad2XuTRnZIS9Fg /eXUEL0KOmpw8CPiYHesead9KOdwvH24Co/9NC/YOX3iSKf7AzjGmM3pqyz0sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699902433; 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=bzfE4Y1h8qdfwJk0m605yaW1/B57agElJ5AyiFdYIZM=; b=u7jhLLiFcvNV4pA3iFuH+R3NLl3A+ov5Qy3SkgpRwhwheHnLCocc/wvGd6Yq7rmyoJd2Sx DQ55xrPq3JP4ltKVw5fHRAtjH750RfMiYaUxbK365B7i3ug9Mv0u/690Gs8ofJbcC69zrL JcPl8KeG8MIofZhtHeyxaIi6HateOqdo1H6qbVo5mZZrfjCmmQTQ9sbAX+poPsG05mgohA 983Ws3CMk3VAMDfhK3cTgnFdmqhwRx0S+bzTnCDt/E+JhgFkPLpxsSflZVDAFbZAyS1kbu pO3G/mfxUxZ3agbWbWo2HTOFc687WI7TyxFbeNb9yhpUzNxSKegAae9RiqG3Tw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699902433; a=rsa-sha256; cv=none; b=LA+jbDQqqbUH+C26ZHqaltojt8tJ3S8awRaRq4mt+ZMjBkiRHJnKpW41Dd1Mf1kuC4IPTg hCoEd732eJh0YvWzRudemBjdn6eRE39bukYvIPwzIeh/lh9w71BJYgxyZ74md4iwrOBZKV UMhtzJhy5ayZje9/Rxtq3viZ2lFVUUj2MwEUUshhpay1s1eai+3mKgmExO8QIHY7/1dbJ5 Xp2ajGbl/7BGoUl5EsUYnKpjcKSQJn30vWDp0vxDuV3qR3o75GdNyXXrQJEv4GpWn2DzMj yZrqZ5CIPMAtQ/LJLr2TE7115mbaG2c60tLotaBrTJpxA/ZWGCOeWS8nQ4kUPQ== 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 4STf7N5wxrz3HR; Mon, 13 Nov 2023 19:07:12 +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 3ADJ7CJJ029099; Mon, 13 Nov 2023 19:07:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ADJ7CrK029096; Mon, 13 Nov 2023 19:07:12 GMT (envelope-from git) Date: Mon, 13 Nov 2023 19:07:12 GMT Message-Id: <202311131907.3ADJ7CrK029096@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: e0c21e404ed0 - main - java/openjfx14: 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: e0c21e404ed0f04c06c3bce7dd093c6e5ffea188 Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=e0c21e404ed0f04c06c3bce7dd093c6e5ffea188 commit e0c21e404ed0f04c06c3bce7dd093c6e5ffea188 Author: Dimitry Andric AuthorDate: 2023-11-13 13:16:57 +0000 Commit: Dimitry Andric CommitDate: 2023-11-13 19:06:23 +0000 java/openjfx14: fix build with lld 17 Building java/openjfx14 with lld 17 results in the following link errors: ld: error: version script assignment of 'SUNWprivate_1.0' to symbol '_ZN3WTF6StringC1EPKtj' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol '_ZN3WTF8LockBase8lockSlowEv' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol '_ZN3WTF8LockBase10unlockSlowEv' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol '_ZN3WTF10fastMallocEj' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol '_ZN3WTF16fastZeroedMallocEj' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol '_ZNK3WTF10StringView23underlyingStringIsValidEv' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_addRangeImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_collapseImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_collapseToEndImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_collapseToStartImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_containsNodeImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_deleteFromDocumentImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_dispose' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_emptyImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_extendImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_getAnchorNodeImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_getAnchorOffsetImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_getBaseNodeImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_getBaseOffsetImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_getExtentNodeImpl' failed: symbol not defined This is because lld 17 defaults to errors when undefined symbols are referenced in linker version scripts. Suppress the errors since openjfx14 is mostly unmaintained. PR: 273753 MFH: 2023Q4 --- java/openjfx14/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/java/openjfx14/Makefile b/java/openjfx14/Makefile index 7b8c05991ef6..5680f1862979 100644 --- a/java/openjfx14/Makefile +++ b/java/openjfx14/Makefile @@ -95,6 +95,9 @@ _INSTALLDIR= ${PREFIX}/${PKGBASE} CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif +# Suppress errors with lld >= 17 due to undefined symbols. +LDFLAGS+= -Wl,--undefined-version + post-extract: ${MKDIR} ${WRKDIR}/jars .for f in core grouping queries queryparser sandbox