[llvm-bugs] [Bug 50983] New: libclc fails to find llvm-as
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Jul 4 23:42:03 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50983
Bug ID: 50983
Summary: libclc fails to find llvm-as
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: OpenCL
Assignee: unassignedclangbugs at nondot.org
Reporter: airlied at gmail.com
CC: anastasia.stulova at arm.com, llvm-bugs at lists.llvm.org
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210705/daeaa34e/attachment-0001.html>
More information about the llvm-bugs
mailing list