[Bug 273753] [exp-run] Against llvm-17-update branch on GitHub

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 14 Nov 2023 22:32:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273753

--- Comment #71 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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 (new) | 112 ++++++++++++++++++++++
 1 file changed, 112 insertions(+)

-- 
You are receiving this mail because:
You are on the CC list for the bug.