From nobody Tue Nov 14 22:32:03 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 4SVLdH47Mnz5130w; Tue, 14 Nov 2023 22:32:03 +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 4SVLdH3j0Vz3Xpq; Tue, 14 Nov 2023 22:32:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700001123; 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=6WmCKBW43MOxQZ+xneSXL8qoEhKc9uOXg7pcfRw1/KA=; b=IwCFxxPIkBxJ8CzmbOcOjeX6YYc8J2tIujtVGvAwzDyagb1Cv4YYTvZYee1yKLBfPFgr8g n4FIZoUgPFh2ocxMrVE4U0kSy5xIed3BpbOKS+aBNOtPBHC9c4Hc57MI4ea2GM9HLA1oXm rhR8nL40LnIOvlyV+FWM/0xCKHnlTXBUKzOwBh0B1Js+7zLrude8Kt/9FvJb44M8ZB7QQY RFNuojqijGdYU+Q3EtWB6ZGpo2KrKxvs0wVvbRCuXBBpWaql007j2ZF+kfB3/fVwo4s5rY rPqmgP6Uj0cedvHuPrFSHzDVqrVAUODeB/8RvFAuUENefEquALN4lO2lJzzNMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700001123; 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=6WmCKBW43MOxQZ+xneSXL8qoEhKc9uOXg7pcfRw1/KA=; b=e7X4912UeqGxi4/naUltTAxzmKtfYs2ybwTNJGYyWe6ap9p++7UCU2kDTMV0NlR75OuQT/ iJ7Xn0zXYLY0+/PKqftBdlfk6RlNhcDTGBJK/qddW7X1l2n283i6dru9Ca7ofNoTUG/bMY 88tCWdVklA5MQ8mG/y30rnu/MrlpTht0kJK//sLm1Qpbiu0JxhFWb+dkK2FCsx+rDKhrZD Ufn4LfA9B65Znp4e3nsCwVGz4yBPzgLnK6Qfv/7lMf+lIuGzbYkPBsR2Wswrj1NQg+w2Hc xutmhzKsQBKrtMVVRctFaxhEVezgTwrWoXUrm/3/Fgc1v8Ew4Eu4gL2jvOhayg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700001123; a=rsa-sha256; cv=none; b=eReyYgn8ygbJfKOyVDPrzrMB1bckHY2PhhW7mkQGubkkKBy6oRvRToGgD8w4PplhoTt19C bW99+U9BbS0WrssMl/9IP+6geibCnCaLndsK1sltLA3gcTXgaCYUpBDZ+aZ1Z6UfJ2AK5S OpjPG3TZuIC3b7jFSeLVjGMtrXuj3thEDT5lUL+2/9Rj7vOe/QPPnV99duNcRuMM+4N9uM RgqK0ryc+HmS83Dr1WC59Z5ixtfplP2JwW8Hj8wKgYHJ+vBh9pHMf+OdrvlUNAzASPYBlG 9B4Iq223L0oHOn+uyKxbk/UxsNq8uFfKIjC1QQdsoWoq9UvXHo9cVpTdRmBJLw== 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 4SVLdH2lczz161g; Tue, 14 Nov 2023 22:32:03 +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 3AEMW3cW004387; Tue, 14 Nov 2023 22:32:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AEMW3dI004384; Tue, 14 Nov 2023 22:32:03 GMT (envelope-from git) Date: Tue, 14 Nov 2023 22:32:03 GMT Message-Id: <202311142232.3AEMW3dI004384@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: 0b31c713f303 - main - devel/librevisa: 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: 0b31c713f303a5da241f8efce52bf76bf3650165 Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=0b31c713f303a5da241f8efce52bf76bf3650165 commit 0b31c713f303a5da241f8efce52bf76bf3650165 Author: Dimitry Andric AuthorDate: 2023-11-14 20:09:53 +0000 Commit: Dimitry Andric CommitDate: 2023-11-14 22:31:35 +0000 devel/librevisa: fix build with lld 17 Building devel/librevisa with lld 17 results in the following link errors: ld: error: version script assignment of 'global' to symbol 'viAssertIntrSignal' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viAssertTrigger' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viAssertUtilSignal' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viBufRead' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viBufWrite' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viClear' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viDiscardEvents' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viGetDefaultRM' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viGpibCommand' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viGpibControlATN' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viGpibControlREN' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viGpibPassControl' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viGpibSendIFC' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viIn16' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viIn16Ex' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viIn32' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viIn32Ex' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viIn64' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viIn64Ex' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viIn8' failed: symbol not defined ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) The mentioned symbols have been removed from libvisa.so, so remove them from the linker version script. PR: 273753 MFH: 2023Q4 --- devel/librevisa/files/patch-src_libvisa.sym | 112 ++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) diff --git a/devel/librevisa/files/patch-src_libvisa.sym b/devel/librevisa/files/patch-src_libvisa.sym new file mode 100644 index 000000000000..43d18bd8f344 --- /dev/null +++ b/devel/librevisa/files/patch-src_libvisa.sym @@ -0,0 +1,112 @@ +--- src/libvisa.sym.orig 2013-01-07 10:35:29 UTC ++++ src/libvisa.sym +@@ -1,109 +1,23 @@ +-viAssertIntrSignal +-viAssertTrigger +-viAssertUtilSignal +-viBufRead +-viBufWrite +-viClear + viClose + viDisableEvent +-viDiscardEvents + viEnableEvent + viFindNext + viFindRsrc + viFlush + viGetAttribute +-viGetDefaultRM +-viGpibCommand +-viGpibControlATN +-viGpibControlREN +-viGpibPassControl +-viGpibSendIFC +-viIn16 +-viIn16Ex +-viIn32 +-viIn32Ex +-viIn64 +-viIn64Ex +-viIn8 +-viIn8Ex +-viInstallHandler + viLock +-viMapAddress +-viMapAddressEx +-viMapTrigger +-viMemAlloc +-viMemAllocEx +-viMemFree +-viMemFreeEx +-viMove +-viMoveAsync +-viMoveAsyncEx +-viMoveEx +-viMoveIn16 +-viMoveIn16Ex +-viMoveIn32 +-viMoveIn32Ex +-viMoveIn64 +-viMoveIn64Ex +-viMoveIn8 +-viMoveIn8Ex +-viMoveOut16 +-viMoveOut16Ex +-viMoveOut32 +-viMoveOut32Ex +-viMoveOut64 +-viMoveOut64Ex +-viMoveOut8 +-viMoveOut8Ex + viOpen + viOpenDefaultRM +-viOpenDefaultRM +-viOut16 +-viOut16Ex +-viOut32 +-viOut32Ex +-viOut64 +-viOut64Ex +-viOut8 +-viOut8Ex + viParseRsrc +-viParseRsrcEx +-viPeek16 +-viPeek32 +-viPeek64 +-viPeek8 +-viPoke16 +-viPoke32 +-viPoke64 +-viPoke8 + viPrintf +-viPxiReserveTriggers +-viQueryf + viRead +-viReadAsync + viReadSTB +-viReadToFile +-viScanf + viSetAttribute + viSetBuf + viSPrintf +-viSScanf +-viStatusDesc +-viTerminate +-viUninstallHandler + viUnlock +-viUnmapAddress +-viUnmapTrigger +-viUsbControlIn +-viUsbControlOut + viVPrintf +-viVQueryf +-viVScanf + viVSPrintf +-viVSScanf +-viVxiCommandQuery + viWaitOnEvent + viWrite +-viWriteAsync +-viWriteFromFile + _ZN9librevisa16resource_manager16register_creatorERKNS_16resource_creatorE