[llvm-bugs] [Bug 36561] New: can't compile OpenMP runtime with clang-cl
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Mar 1 08:43:53 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=36561
Bug ID: 36561
Summary: can't compile OpenMP runtime with clang-cl
Product: OpenMP
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Runtime Library
Assignee: unassignedbugs at nondot.org
Reporter: trass3r at gmail.com
CC: llvm-bugs at lists.llvm.org
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
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180301/f468223a/attachment.html>
More information about the llvm-bugs
mailing list