<html>
<head>
<base href="https://bugs.llvm.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 - libclc fails to find llvm-as"
href="https://bugs.llvm.org/show_bug.cgi?id=50983">50983</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>libclc fails to find llvm-as
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>OpenCL
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>airlied@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>anastasia.stulova@arm.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>libclc fails to configure properly, opencl-c.h is getting included somehwere.
-- Check for working LLAsm compiler: /home/cldrv/bin/llvm-as
-- Check for working LLAsm compiler: /home/cldrv/bin/llvm-as -- broken
CMake Error at cmake/CMakeTestLLAsmCompiler.cmake:40 (message):
The LLAsm compiler "/home/cldrv/bin/llvm-as" is not able to compile a
simple test program.
It fails with the following output:
Change Dir: /home/airlied/devel/llvm-project/clcbuild/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja-build cmTC_cefbf && [1/2] Building
LLAsm object CMakeFiles/cmTC_cefbf.dir/testLLAsmCompiler.bc
FAILED: CMakeFiles/cmTC_cefbf.dir/testLLAsmCompiler.bc
/home/cldrv/bin/clang -E -P -x cl testLLAsmCompiler.ll -o
CMakeFiles/cmTC_cefbf.dir/testLLAsmCompiler.bc.temp &&
/home/cldrv/bin/llvm-as -o CMakeFiles/cmTC_cefbf.dir/testLLAsmCompiler.bc
CMakeFiles/cmTC_cefbf.dir/testLLAsmCompiler.bc.temp
/home/cldrv/bin/llvm-as:
CMakeFiles/cmTC_cefbf.dir/testLLAsmCompiler.bc.temp:1:1: error: expected
top-level entity
typedef unsigned char uchar;
^
ninja: build stopped: subcommand failed.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>