[Bug 281292] graphics/mesa-dri build failure

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281292

--- Comment #6 from [email protected] ---
I can confirm that if I build llvm15 from ports, then mesa-dri fails with

>>> referenced by /usr/local/llvm15/lib/libLLVMSPIRVLib.so                                          

ld: error: undefined reference due to --no-allow-shlib-undefined: VTT for
std::__1::basic_stringst  ream<char, std::__1::char_traits<char>,
std::__1::allocator<char>>@LLVM_15                          
>>> referenced by /usr/local/llvm15/lib/libLLVMSPIRVLib.so                                          

ld: error: undefined reference due to --no-allow-shlib-undefined: vtable for
std::__1::basic_strin  gbuf<char, std::__1::char_traits<char>,
std::__1::allocator<char>>@LLVM_15                          
>>> referenced by /usr/local/llvm15/lib/libLLVMSPIRVLib.so                                          

ld: error: undefined reference due to --no-allow-shlib-undefined: vtable for
std::__1::basic_ostri  ngstream<char, std::__1::char_traits<char>,
std::__1::allocator<char>>@LLVM_15                      
>>> referenced by /usr/local/llvm15/lib/libLLVMSPIRVLib.so                                          

ld: error: undefined reference due to --no-allow-shlib-undefined: VTT for
std::__1::basic_ostrings  tream<char, std::__1::char_traits<char>,
std::__1::allocator<char>>@LLVM_15                         
>>> referenced by /usr/local/llvm15/lib/libLLVMSPIRVLib.so

I use CPUTYPE?=penryn and just have turned of DOCS:

===> The following configuration options are available for llvm15-15.0.7_10:
     BE_AMDGPU=on: AMD GPU backend (required by mesa)
     BE_WASM=on: WebAssembly backend (required by firefox via wasi)
     CLANG=on: Build clang
     COMPILER_RT=on: Sanitizer libraries
     DOCS=off: Build and/or install documentation
     EXTRAS=on: Extra clang tools
     FLANG=off: Flang FORTRAN compiler
     GOLD=on: Build the LLVM Gold plugin for LTO
     LIT=on: Install lit and FileCheck test tools
     LLD=on: Install lld, the LLVM linker
     LLDB=on: Install lldb, the LLVM debugger
     MLIR=off: Multi-Level Intermediate Representation
     OPENMP=on: Install libomp, the LLVM OpenMP runtime library
     PYCLANG=on: Install python bindings to libclang
     STATIC_LIBS=on: Install static libraries (does not effect sanitizers)
====> Options available for the single BACKENDS: you have to select exactly one
of them
     BE_FREEBSD=off: Backends for FreeBSD architectures
     BE_NATIVE=off: Backend(s) for this architecture (X86)
     BE_STANDARD=on: All non-experimental backends

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.