Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jan 2024 14:28:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 276112] lang/julia: on src/main: ld: error: version script assignment of 'LLVM_14' to symbol 'LLVMCreateDisasm' failed: symbol not defined
Message-ID:  <bug-276112-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276112

            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+=3D-Wl,--undefined-version in lang/julia/Makefile, we get these err=
ors:

gmake[5]: Entering directory
'/construction/xports/lang/julia/work/julia-1.9.4/deps/scratch/llvm-julia-1=
4.0.6-3/build_Release'
ld: error: version script assignment of 'LLVM_14' to symbol 'LLVMCreateDisa=
sm'
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 'LLVMDisasmDisp=
ose'
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-1=
4.0.6-3/build_Release'

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276112-7788>