MantisBT - CMake | |||||
| View Issue Details | |||||
| 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) | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-12-17 14:21 | Sean Chittenden | New Issue | |||
| 2010-12-17 15:03 | Brad King | Assigned To | => Brad King | ||
| 2010-12-17 15:03 | Brad King | Status | new => assigned | ||
| 2010-12-17 15:04 | Brad King | Note Added: 0024244 | |||
| 2010-12-17 15:04 | Brad King | Status | assigned => closed | ||
| 2010-12-17 15:04 | Brad King | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||