[Mesa-dev] [Bug 103543] meson targets which link libgallium.a have unresolved symbol llvm::RTDyldMemoryManager

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 3 16:32:53 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103543

--- Comment #6 from tjbugs at scarlet.be ---
I rebuilt llvm with LLVM_LINK_LLVM_DYLIB.
That now installs lots of .sa libraries  and an enormous
/usr/lib/libLLVM-5.0.so

I then auccessfully rebuilt mesa using autotools, but the mesaon build still
fails, although with a much shorter list of link libraries.

[1341/1342] Linking target src/gallium/targets/osmesa/libOSMesa.so.8.0.0.
FAILED: src/gallium/targets/osmesa/libOSMesa.so.8.0.0
ccache c++  -o src/gallium/targets/osmesa/libOSMesa.so.8.0.0
'src/gallium/targets/osmesa/OSMesa at sha/target.c.o' -Wl,--no-undefined
-Wl,--as-needed -shared -fPIC -Wl,--start-group -Wl,-soname,libOSMesa.so.8
-Wl,--whole-archive src/gallium/state_trackers/osmesa/libosmesa_st.a
-Wl,--no-whole-archive -march=native -mtune=native -m64 -pipe -O3
src/mesa/libmesa_gallium.a src/compiler/glsl/libglsl.a
src/compiler/nir/libnir.a src/compiler/libcompiler.a
src/compiler/glsl/glcpp/libglcpp.a src/util/libmesa_util.a
src/gallium/auxiliary/libgallium.a src/mapi/glapi/libglapi_static.a
src/gallium/winsys/sw/null/libws_null.a src/gallium/drivers/trace/libtrace.a
src/gallium/drivers/softpipe/libsoftpipe.a src/mapi/shared-glapi/libglapi.so
src/gallium/drivers/llvmpipe/libllvmpipe.a -pthread -Wl,--gc-sections
-Wl,--version-script /var/git/mesalib/src/gallium/targets/osmesa/osmesa.sym
-L/usr/lib -lLLVM-5.0 -Wl,--end-group -lz -ldrm -L/usr/lib -lLLVM-5.0 -ldl -lm
-L/usr/lib -lLLVM-5.0 '-Wl,-rpath,$ORIGIN/:$ORIGIN/../../../mapi/shared-glapi'
-Wl,-rpath-link,/var/git/x86_64/mesa/src/gallium/targets/osmesa:/var/git/x86_64/mesa/src/mapi/shared-glapi
src/gallium/auxiliary/libgallium.a(gallivm_lp_bld_misc.cpp.o):(.data.rel.ro._ZTI26DelegatingJITMemoryManager[_ZTI26DelegatingJITMemoryManager]+0x10):
undefined reference to `typeinfo for llvm::RTDyldMemoryManager'
collect2: error: ld returned 1 exit status

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171103/ffb812cf/attachment.html>


More information about the mesa-dev mailing list