View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0016010 | CMake | CMake | public | 2016-03-10 10:33 | 2016-06-10 14:31 | ||||
Reporter | Klaus R | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | Apple Mac | OS | OS X | OS Version | 10.4.10 | ||||
Product Version | CMake 3.5 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0016010: cmake with clang sanitizers fails | ||||||||
Description | I tried to rebuild XCode projects with cmake 3.5.0. Failed to work if clang sanitizers were enabled, most likely because the optiones necessary for linking sanitized binaries were not passed to the linker. | ||||||||
Steps To Reproduce | if( WITH_SANITIZER ) ## http://clang.llvm.org/docs/AddressSanitizer.html [^] set(SANITIZERS "-fsanitize=address -fno-omit-frame-pointer") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${SANITIZERS}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SANITIZERS}") set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${SANITIZERS}" ) set(CMAKE_MODULE_LINKER_FLAGS_INIT "${CMAKE_MODULE_LINKER_FLAGS_INIT} ${SANITIZERS}" ) set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${SANITIZERS}" ) endif() | ||||||||
Additional Information | Workaround was to revert to previous 3.4 version | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0040658) Brad King (manager) 2016-03-10 11:17 |
I cannot reproduce this failure. Please provide a complete minimal source tarball that shows the problem. |
(0040659) Klaus R (reporter) 2016-03-11 02:44 |
ok, proved not to be soo easy, but I work on it. |
(0042961) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2016-03-10 10:33 | Klaus R | New Issue | |
2016-03-10 11:17 | Brad King | Note Added: 0040658 | |
2016-03-11 02:44 | Klaus R | Note Added: 0040659 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042961 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |