<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - clang crash building libclc"
   href="https://llvm.org/bugs/show_bug.cgi?id=30425">30425</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang crash building libclc
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>adf.lists@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=17294" name="attach_17294" title="console output">attachment 17294</a> <a href="attachment.cgi?id=17294&action=edit" title="console output">[details]</a></span>
console output

Building libclc I am getting a crash in clang.
I don't build libclc very often so don't know how long this has been an issue.

I build llvm/clang with gcc 5.3.0 like -

cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
-DLLVM_TARGETS_TO_BUILD="host;AMDGPU" -DLLVM_ENABLE_ASSERTIONS=ON
-DLLVM_BUILD_LLVM_DYLIB=ON .. && make -j5


llvm head =

commit 338f974b6e4f5d5d004d36d0d446289280d0c372
Author: Kostya Serebryany <<a href="mailto:kcc@google.com">kcc@google.com</a>>
Date:   Sat Sep 17 06:01:55 2016 +0000

    [libFuzzer] properly reset the guards when reseting the coverage. Also try
to fix check-fuzzer on the bot

    git-svn-id: <a href="https://llvm.org/svn/llvm-project/llvm/trunk@281814">https://llvm.org/svn/llvm-project/llvm/trunk@281814</a>
91177308-0d34-0410-b5e6-96231b3b80d8

clang head = 

commit 72aeae9a2f042f160e700b97fde61be3e0adc133
Author: Daniel Jasper <<a href="mailto:djasper@google.com">djasper@google.com</a>>
Date:   Sat Sep 17 07:20:36 2016 +0000

    clang-format: [JS] Fix a crash in handledTemplateStrings.

    git-svn-id: <a href="https://llvm.org/svn/llvm-project/cfe/trunk@281816">https://llvm.org/svn/llvm-project/cfe/trunk@281816</a>
91177308-0d34-0410-b5e6-96231b3b80d8

libclc head =

commit 598792bc7e9eb636f0fa892180770afc2442a6eb
Author: Tom Stellard <<a href="mailto:thomas.stellard@amd.com">thomas.stellard@amd.com</a>>
Date:   Fri Sep 16 22:43:33 2016 +0000

    configure: Add amdgcn-mesa-mesa3d target

    git-svn-id: <a href="https://llvm.org/svn/llvm-project/libclc/trunk@281793">https://llvm.org/svn/llvm-project/libclc/trunk@281793</a>
91177308-0d34-0410-b5e6-96231b3b80d8

output and files from /tmp attached.</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>