Created attachment 251043 [details] zapcc-broken15.diff Hi, this is marked on FreeBSD 15.0 ld.lld: error: version script assignment of 'LLVM_5.0' to symbol 'LLVMCreateDisasm' failed: symbol not defined ld.lld: error: version script assignment of 'LLVM_5.0' to symbol 'LLVMCreateDisasmCPU' failed: symbol not defined ld.lld: error: version script assignment of 'LLVM_5.0' to symbol 'LLVMDisasmDispose' failed: symbol not defined ld.lld: error: version script assignment of 'LLVM_5.0' to symbol 'LLVMDisasmInstruction' failed: symbol not defined ld.lld: error: version script assignment of 'LLVM_5.0' to symbol 'LLVMSetDisasmOptions' failed: symbol not defined
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9237ae5a2246263ec05313e8cf699c6127bcf68f commit 9237ae5a2246263ec05313e8cf699c6127bcf68f Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2024-06-13 11:39:19 +0000 Commit: Dirk Meyer <dinoex@FreeBSD.org> CommitDate: 2024-06-13 11:39:19 +0000 devel/zapcc: marked broken on 15.0 PR: 279370 devel/zapcc/Makefile | 1 + 1 file changed, 1 insertion(+)
Did you try LDFLAGS+=-Wl,--undefined-version ? It's often used by other ports to fix similar error. My CPU is kinda busy with other stuff, so I can't test locally.
(In reply to Jan Beich from comment #2) No but I can try test