<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 - can't compile OpenMP runtime with clang-cl"
   href="https://bugs.llvm.org/show_bug.cgi?id=36561">36561</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>can't compile OpenMP runtime with clang-cl
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>OpenMP
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </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>Runtime Library
          </td>
        </tr>

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

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

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>C:\PROGRA~1\LLVM\MSBUIL~1\cl.exe  /nologo -D_CRT_NONSTDC_NO_DEPRECATE
-D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS
-D_DEBUG_POINTER_IMPL="" -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Domp_EXPORTS -Iprojects\openmp\runtime\src -I..\projects\openmp\runtime\src
-Iinclude -I..\include -I..\projects\openmp\runtime\src\i18n
-I..\projects\openmp\runtime\src\include\50
-I..\projects\openmp\runtime\src\thirdparty\ittnotify /DWIN32 /D_WINDOWS
/D_HAS_EXCEPTIONS=0   /GS- /Zi -mllvm -emit-codeview-ghash-section /fallback
/Zc:inline /Zc:strictStrings /Oi /Zc:rvalueCast /Brepro /W4  -W
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers
-Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion /MT /O2
/Ob2   -UNDEBUG -D _CRT_SECURE_NO_WARNINGS -D _CRT_SECURE_NO_DEPRECATE -D
_WINDOWS -D _WINNT -D _WIN32_WINNT=0x0501 -D _USRDLL -Wno-sign-compare
-Wno-unused-function -Wno-unused-local-typedef -Wno-unused-value
-Wno-unused-variable -Wno-switch -Wno-covered-switch-default
-Wno-deprecated-register -Wno-gnu-anonymous-struct -Wno-unknown-pragmas
-Wno-missing-field-initializers -Wno-missing-braces -Wno-comment
-Wno-self-assign -Wno-vla-extension -Wno-format-pedantic /GS /EHsc
/showIncludes
/Foprojects\openmp\runtime\src\CMakeFiles\omp.dir\ompt-general.cpp.obj
/Fdprojects\openmp\runtime\src\CMakeFiles\omp.dir\ -c
..\projects\openmp\runtime\src\ompt-general.cpp
..\projects\openmp\runtime\src\ompt-general.cpp(131,32):  error(clang): use of
undeclared identifier 'RTLD_NEXT'
      (ompt_start_tool_t)dlsym(RTLD_NEXT, "ompt_start_tool");



Fallback mode does not help either:

clang-cl.exe: warning: falling back to cl.exe [-Wfallback]
cl : Command line warning D9035 : option 'Og' has been deprecated and will be
removed in a future release
..\projects\openmp\runtime\src\ompt-general.cpp(123): error C2065: 'weak':
undeclared identifier</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>