<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - meson targets which link libgallium.a have unresolved symbol llvm::RTDyldMemoryManager"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103543#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - meson targets which link libgallium.a have unresolved symbol llvm::RTDyldMemoryManager"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103543">bug 103543</a>
from <span class="vcard"><a class="email" href="mailto:tjbugs@scarlet.be" title="tjbugs@scarlet.be">tjbugs@scarlet.be</a>
</span></b>
<pre>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@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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>