ports/devel/librevisa/files/patch-src_libvisa.sym
Dimitry Andric 0b31c713f3 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
2023-11-14 23:31:35 +01:00

112 lines
1.5 KiB
Text

--- 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