View Issue Details [ Jump to Notes ] | [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0011620 | CMake | Modules | public | 2010-12-17 14:21 | 2010-12-17 15:04 |
|
Reporter | Sean Chittenden | |
Assigned To | Brad King | |
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | Apple Mac | OS | OS X | OS Version | 10.4.10 |
Product Version | CMake 2.8.3 | |
Target Version | | Fixed in Version | | |
|
Summary | 0011620: CMake + gcc 4.6 built from ports uses wrong CMAKE_C_LINK_FLAGS... |
Description | gcc 4.6 built from ports doesn't accept the -headerpad_max_install_names argument any more. To fix, I went through and removed the flag.
/opt/local/share/cmake-2.8/Modules/Platform/Darwin.cmake lines 36 and 37
It exists in more places than just those two, however those were the only lines I needed to change to fix things. I'd supply a patch, but it's clear there needs to be a compiler version check for gcc < 4.6. |
Steps To Reproduce | % sudo port install gcc46
Try and use gcc-mp-4.6 to compile any C or C++ file using:
include(CMakeDetermineCXXCompiler)
|
Tags | No tags attached. |
|
Attached Files | |
|