[CMake] Problem with CMake 2.8.12.2 on Mac OS X
Robert Bielik
robert.bielik at dirac.se
Wed May 21 04:22:33 EDT 2014
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