git: 0b31c713f303 - main - devel/librevisa: fix build with lld 17
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Nov 2023 22:32:03 UTC
The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=0b31c713f303a5da241f8efce52bf76bf3650165 commit 0b31c713f303a5da241f8efce52bf76bf3650165 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-14 20:09:53 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> 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