<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Build Fails with LLVM"
href="https://bugs.freedesktop.org/show_bug.cgi?id=62226">62226</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Build Fails with LLVM
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>serkan@hosca.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/Gallium/r600
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=76398" name="attach_76398" title="build log">attachment 76398</a> <a href="attachment.cgi?id=76398&action=edit" title="build log">[details]</a></span>
build log
llvm is from git mirror as of git-svn-id
<a href="https://llvm.org/svn/llvm-project/llvm/trunk@176858">https://llvm.org/svn/llvm-project/llvm/trunk@176858</a>
and mesa is as of 6173cc19
The build config is:
./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast \
--with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \
--enable-gallium-llvm \
--enable-egl \
--enable-gallium-egl \
--with-egl-platforms=drm,x11,wayland \
--enable-shared-glapi \
--enable-gbm \
--enable-glx-tls \
--enable-dri \
--enable-glx \
--enable-osmesa \
--enable-gles1 \
--enable-gles2 \
--enable-texture-float \
--enable-xa \
--enable-xvmc \
--enable-vdpau \
--with-llvm-shared-libs \
--enable-r600-llvm-compiler
and the failure is:
../../../../src/gallium/drivers/r600/.libs/libr600.a(r600_llvm.o): In function
`r600_tgsi_llvm':
r600_llvm.c:(.text+0x15ff): undefined reference to `radeon_llvm_create_func'
../../../../src/gallium/drivers/radeonsi/.libs/libradeonsi.a(radeonsi_shader.o):
In function `si_pipe_shader_create':
radeonsi_shader.c:(.text+0x1dc6): undefined reference to
`radeon_llvm_create_func'
radeonsi_shader.c:(.text+0x1ddd): undefined reference to
`radeon_llvm_shader_type'
radeonsi_shader.c:(.text+0x200d): undefined reference to
`radeon_llvm_create_func'
collect2: error: ld returned 1 exit status
libtool: install: error: relink `egl_gallium.la' with the above command before
installing it
make[4]: *** [install-eglLTLIBRARIES] Error 1
make[4]: Leaving directory
`/home/serkan/tmp/mesa-git/src/mesa/src/gallium/targets/egl-static'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory
`/home/serkan/tmp/mesa-git/src/mesa/src/gallium/targets/egl-static'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/serkan/tmp/mesa-git/src/mesa/src/gallium/targets'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/serkan/tmp/mesa-git/src/mesa/src'
make: *** [install-recursive] Error 1
attached is the full build log. The error happens in make install</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>