[Bug 276112] lang/julia: on src/main: ld: error: version script assignment of 'LLVM_14' to symbol 'LLVMCreateDisasm' failed: symbol not defined

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 04 Jan 2024 14:28:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276112

            Bug ID: 276112
           Summary: lang/julia: on src/main: ld: error: version script
                    assignment of 'LLVM_14' to symbol 'LLVMCreateDisasm'
                    failed: symbol not defined
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: Trond.Endrestol@ximalas.info

lang/julia fails to build on src/main. The same correction that was done for
net/samba416 is necessary for lang/julia. Without
LDFLAGS+=-Wl,--undefined-version in lang/julia/Makefile, we get these errors:

gmake[5]: Entering directory
'/construction/xports/lang/julia/work/julia-1.9.4/deps/scratch/llvm-julia-14.0.6-3/build_Release'
ld: error: version script assignment of 'LLVM_14' to symbol 'LLVMCreateDisasm'
failed: symbol not defined
ld: error: version script assignment of 'LLVM_14' to symbol
'LLVMCreateDisasmCPU' failed: symbol not defined
ld: error: version script assignment of 'LLVM_14' to symbol 'LLVMDisasmDispose'
failed: symbol not defined
ld: error: version script assignment of 'LLVM_14' to symbol
'LLVMDisasmInstruction' failed: symbol not defined
ld: error: version script assignment of 'LLVM_14' to symbol
'LLVMSetDisasmOptions' failed: symbol not defined
ld: error: version script assignment of 'LLVM_14' to symbol
'LLVMCreateDisasmCPUFeatures' failed: symbol not defined
clang++: error: linker command failed with exit code 1 (use -v to see
invocation)
gmake[5]: Leaving directory
'/construction/xports/lang/julia/work/julia-1.9.4/deps/scratch/llvm-julia-14.0.6-3/build_Release'

-- 
You are receiving this mail because:
You are the assignee for the bug.