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
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to