<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 --- - OpenMP/target_codegen.cpp etc. tests fail on Win32"
   href="https://llvm.org/bugs/show_bug.cgi?id=26078">26078</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>OpenMP/target_codegen.cpp  etc. tests fail on Win32
          </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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>LLVM Codegen
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>hans@chromium.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, sfantao@us.ibm.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Steps to reproduce:

Check out LLVM and Clang r257167

Configure with:
cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON
-DLLVM_USE_CRT_RELEASE=MT ..

Build and test:
ninja check-clang

[...]

Failing Tests (5):
    Clang :: OpenMP/target_codegen.cpp
    Clang :: OpenMP/target_codegen_global_capture.cpp
    Clang :: OpenMP/target_codegen_registration.cpp
    Clang :: OpenMP/target_codegen_registration_naming.cpp
    Clang :: OpenMP/target_map_codegen.cpp



It seems Clang is crashing:

D:\src\llvm\build3>bin\clang.EXE -cc1 -internal-isystem
D:\src\llvm\build3\bin\.
.\lib\clang\3.8.0\include -nostdsysteminc -DCK1 -verify -fopenmp
-omptargets=pow
erpc64le-ibm-linux-gnu -x c++ -triple powerpc64le-unknown-unknown -emit-llvm
D:\
src\llvm\tools\clang\test\OpenMP\target_map_codegen.cpp -o -
#0 0x00000000
#1 0x01f04734 (D:\src\llvm\build3\bin\clang.exe+0xeb4734)
#2 0x01ea50e0 (D:\src\llvm\build3\bin\clang.exe+0xe550e0)
#3 0x01e4c3cd (D:\src\llvm\build3\bin\clang.exe+0xdfc3cd)
#4 0x01e03444 (D:\src\llvm\build3\bin\clang.exe+0xdb3444)



Interestingly, clang doesn't crash if the -DLLVM_USE_CRT_RELEASE=MT option is
left off when configuring, which is why this doesn't show on the buildbots.</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>