[llvm-bugs] [Bug 46863] New: libomp fails to build on 32-bit with clang-cl
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jul 27 10:22:51 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46863
Bug ID: 46863
Summary: libomp fails to build on 32-bit with clang-cl
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: hans at chromium.org
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
martin at martin.st
Blocks: 46725
>From trying to build the 32-bit windows package:
LINK: command
"C:\PROGRA~2\MIB055~1\2019\PROFES~1\VC\Tools\MSVC\1423~1.281\bin\Hostx86\x86\link.exe
/nologo projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_alloc.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_atomic.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_csupport.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_debug.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_itt.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_environment.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_error.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_global.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_i18n.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_io.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_runtime.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_settings.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_str.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_tasking.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_threadprivate.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_utility.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_barrier.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_wait_release.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_affinity.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_dispatch.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_lock.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_sched.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\z_Windows_NT_util.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\z_Windows_NT-586_util.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\thirdparty\ittnotify\ittnotify_static.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_taskdeps.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_cancel.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_ftn_cdecl.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_ftn_extra.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\kmp_version.cpp.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\z_Windows_NT-586_asm.asm.obj
projects\openmp\runtime\src\CMakeFiles\omp.dir\libomp.rc.res
/out:bin\libomp.dll /implib:lib\libomp.dll.lib /pdb:bin\libomp.dll.pdb /dll
/version:5.0 /machine:X86 /INCREMENTAL:NO
/DEF:C:/src/llvm_package_1100-rc1/build32/projects/openmp/runtime/src/libomp.def
/SAFESEH -msse2 kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib
ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST
/MANIFESTFILE:bin\libomp.dll.manifest" failed (exit code 1120) with the
following output:
LINK : warning LNK4044: unrecognized option '/msse2'; ignored
libomp.def : error LNK2001: unresolved external symbol OMP_GET_DEVICE_NUM
libomp.def : error LNK2001: unresolved external symbol OMP_GET_INITIAL_DEVICE
libomp.def : error LNK2001: unresolved external symbol OMP_GET_NUM_DEVICES
libomp.def : error LNK2001: unresolved external symbol OMP_IS_INITIAL_DEVICE
libomp.def : error LNK2001: unresolved external symbol omp_get_device_num
libomp.def : error LNK2001: unresolved external symbol omp_get_initial_device
libomp.def : error LNK2001: unresolved external symbol omp_get_num_devices
libomp.def : error LNK2001: unresolved external symbol omp_is_initial_device
lib\libomp.dll.lib : fatal error LNK1120: 8 unresolved externals
Martin: I'm guessing (but not sure) that this is related to Bug 46779. Please
take a look if you feel inclined, but I'll take openmp out of the release
builds for now.
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=46725
[Bug 46725] [meta] 11.0.0 Release Blockers
--
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/20200727/765c3948/attachment-0001.html>
More information about the llvm-bugs
mailing list