[CMake] Problem with CMake 2.8.12.2 on Mac OS X (additional info)

Robert Bielik robert.bielik at dirac.se
Wed May 21 05:47:47 EDT 2014


Additional info on versions:
c++ --version:
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix

OS X Mavericks 10.9.2
SDK used 10.9

Regards
/Robert

Robert Bielik skrev 2014-05-21 10:22:
> c++ --version:
> Apple LLVM version 5.1
> 
> Problem description:
> 
> Linking always fails in Release build:
> 
> Warning: Option -s is obsolete and being ignored
> 
> with the following error:
> 
> Internal error: atom not found in symbolIndex(<symbol>) for architecture ...
> 
> If I remove the -s option from linking (tried it with Makefile), the linking succeeds ! (even though ld explicitly says -s option
> is being ignored, it obviously is NOT ignored)
> 
> BUT, on Mac OS X, CMake ALWAYS adds the -s option for linking, despite me removing it via CMake-GUI/ccmake or by editing
> the CMakeCache.txt file. 
> 
> How should I make sure that CMake does NOT add the -s option for Release ??
> 
> Regards
> /Robert
> 


More information about the CMake mailing list