Open Quuxplusone opened 5 years ago
Bugzilla Link | PR39693 |
Status | NEW |
Importance | P enhancement |
Reported by | Jeffrey Walton (noloader@gmail.com) |
Reported on | 2018-11-16 10:23:14 -0800 |
Last modified on | 2018-11-16 12:21:51 -0800 |
Version | 7.0 |
Hardware | Macintosh MacOS X |
CC | llvm-bugs@lists.llvm.org, noloader@gmail.com |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
Running Cmake with --debug-output shows the following. I'm not sure what to
make of it, though.
...
-- Looking for __cxa_throw in c++ - not found
Called from: [3] /opt/local/share/cmake-3.12/Modules/CheckLibraryExists.cmake
[2] /Users/test/llvm_source/llvm/projects/compiler-rt/cmake/config-ix.cmake
[1] /Users/test/llvm_source/llvm/projects/compiler-rt/CMakeLists.txt
-- Looking for __cxa_throw in stdc++
Called from: [3] /opt/local/share/cmake-3.12/Modules/CheckLibraryExists.cmake
[2] /Users/test/llvm_source/llvm/projects/compiler-rt/cmake/config-ix.cmake
[1] /Users/test/llvm_source/llvm/projects/compiler-rt/CMakeLists.txt
CMake Warning (dev) at /opt/local/share/cmake-
3.12/Modules/CheckLibraryExists.cmake:56 (try_compile):
Policy CMP0066 is not set: Honor per-config flags in try_compile()
source-file signature. Run "cmake --help-policy CMP0066" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
For compatibility with older versions of CMake, try_compile is not honoring
caller config-specific compiler flags (e.g. CMAKE_C_FLAGS_DEBUG) in the
test project.
Call Stack (most recent call first):
projects/compiler-rt/cmake/config-ix.cmake:113 (check_library_exists)
projects/compiler-rt/CMakeLists.txt:168 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
Called from: [3] /opt/local/share/cmake-3.12/Modules/CheckLibraryExists.cmake
[2] /Users/test/llvm_source/llvm/projects/compiler-rt/cmake/config-ix.cmake
[1] /Users/test/llvm_source/llvm/projects/compiler-rt/CMakeLists.txt
-- Looking for __cxa_throw in stdc++ - found
Called from: [3] /opt/local/share/cmake-3.12/Modules/CheckLibraryExists.cmake
[2] /Users/test/llvm_source/llvm/projects/compiler-rt/cmake/config-ix.cmake
[1] /Users/test/llvm_source/llvm/projects/compiler-rt/CMakeLists.txt