<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - build fails, undefined reference to llvm:RTDyldMemoryManager"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90032">90032</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>build fails, undefined reference to llvm:RTDyldMemoryManager
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>10.5
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Mesa core
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>felix-freedesktop@fefe.de
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>I can't build Mesa with gcc 4.9.2 and LLVM 3.6.
Here's how I run configure:
./configure --prefix=/usr/X11R7 --sysconfdir=/etc --localstatedir=/var `libdir
/usr/X11R7` --with-gallium-drivers=i915,nouveau,r600
--with-dri-drivers=i965,swrast --enable-texture-float
--disable-llvm-shared-libs --enable-opencl --enable-texture-float
--enable-gles1 --enable-gles2 --enable-osmesa --enable-xa --enable-gbm
--enable-glx-tls --with-egl-platforms="drm,x11"
Here's what happens:
make[4]: Entering directory '/tmp/mesa-10.5.3/src/gallium/targets/pipe-loader'
CC pipe_i915.lo
CC pipe_nouveau.lo
CC pipe_r600.lo
CXXLD pipe_nouveau.la
CXXLD pipe_i915.la
CXXLD pipe_r600.la
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_debug.o):(.data.rel.ro._ZTIN4llvm14format_object1ImEE[_ZTIN4llvm14format_object1ImEE]+0x10):
undefined reference to `typeinfo for llvm::format_object_base'
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o):(.data.rel.ro._ZTI26DelegatingJITMemoryManager[_ZTI26DelegatingJITMemoryManager]+0x10):
undefined reference to `typeinfo for llvm::RTDyldMemoryManager'
collect2: error: ld returned 1 exit status
Makefile:914: recipe for target 'pipe_i915.la' failed
make[4]: *** [pipe_i915.la] Error 1
make[4]: *** Waiting for unfinished jobs....
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_debug.o):(.data.rel.ro._ZTIN4llvm14format_object1ImEE[_ZTIN4llvm14format_object1ImEE]+0x10):
undefined reference to `typeinfo for llvm::format_object_base'
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o):(.data.rel.ro._ZTI26DelegatingJITMemoryManager[_ZTI26DelegatingJITMemoryManager]+0x10):
undefined reference to `typeinfo for llvm::RTDyldMemoryManager'
collect2: error: ld returned 1 exit status
Makefile:923: recipe for target 'pipe_nouveau.la' failed
make[4]: *** [pipe_nouveau.la] Error 1
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_debug.o):(.data.rel.ro._ZTIN4llvm14format_object1ImEE[_ZTIN4llvm14format_object1ImEE]+0x10):
undefined reference to `typeinfo for llvm::format_object_base'
../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o):(.data.rel.ro._ZTI26DelegatingJITMemoryManager[_ZTI26DelegatingJITMemoryManager]+0x10):
undefined reference to `typeinfo for llvm::RTDyldMemoryManager'
collect2: error: ld returned 1 exit status
Makefile:929: recipe for target 'pipe_r600.la' failed
make[4]: *** [pipe_r600.la] Error 1
make[4]: Leaving directory '/tmp/mesa-10.5.3/src/gallium/targets/pipe-loader'
Makefile:579: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/tmp/mesa-10.5.3/src/gallium'
Makefile:667: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp/mesa-10.5.3/src'
Makefile:607: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/mesa-10.5.3'
Makefile.Linux:4: recipe for target 'compile' failed
make: *** [compile] Error 2</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>