<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 fail to build after [OpenCL] Add builtin declarations by default."
   href="https://bugs.llvm.org/show_bug.cgi?id=49431">49431</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>libclc fail to build after [OpenCL] Add builtin declarations by default.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libclc
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>release blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>lordheavym@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, tstellar@redhat.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=24587" name="attach_24587" title="testLLAsmCompiler.bc.temp">attachment 24587</a> <a href="attachment.cgi?id=24587&action=edit" title="testLLAsmCompiler.bc.temp">[details]</a></span>
testLLAsmCompiler.bc.temp

clang commit
<a href="https://github.com/llvm/llvm-project/commit/cf3ef15a6ec5e5b45c6c54e8fbe3769255e815ce">https://github.com/llvm/llvm-project/commit/cf3ef15a6ec5e5b45c6c54e8fbe3769255e815ce</a> 

result:
-- Check for working LLAsm compiler: /usr/bin/llvm-as -- broken
CMake Error at cmake/CMakeTestLLAsmCompiler.cmake:40 (message):
  The LLAsm compiler "/usr/bin/llvm-as" is not able to compile a simple test
  program.

  It fails with the following output:

   Change Dir:
/build/libclc-git/src/llvm-project-git/libclc/build/CMakeFiles/CMakeTmp



  Run Build Command(s):/usr/bin/ninja cmTC_e2881 && [1/2] Building LLAsm
  object CMakeFiles/cmTC_e2881.dir/testLLAsmCompiler.bc

  FAILED: CMakeFiles/cmTC_e2881.dir/testLLAsmCompiler.bc

  /usr/bin/clang -E -P -x cl testLLAsmCompiler.ll -o
  CMakeFiles/cmTC_e2881.dir/testLLAsmCompiler.bc.temp && /usr/bin/llvm-as -o
  CMakeFiles/cmTC_e2881.dir/testLLAsmCompiler.bc
  CMakeFiles/cmTC_e2881.dir/testLLAsmCompiler.bc.temp

  /usr/bin/llvm-as: CMakeFiles/cmTC_e2881.dir/testLLAsmCompiler.bc.temp:1:1:
  error: expected top-level entity

  typedef unsigned char uchar;

  ^

  ninja: build stopped: subcommand failed.

Solution:
Add -cl-no-stdinc</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>