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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to