On 06/16/2015 10:00 AM, Ette, Anthony (CDS) wrote: >> That shows it can be reproduced locally outside of CMake. >> Please try dropping -rdynamic from that command line. > > Ahh, you are correct. Success! What does this mean?
This means CMake needs to be able to define and detect an id for this compiler so that it can know that -rdynamic is not supported. Currently the compiler looks like a GNU compiler which does support the flags. Even if a preprocessor symbol is not available CMake does have other ways to detect the compiler id. We need to be able to run the compiler with just one flag that causes it to print out some kind of identifying information but not compile anything. See here for some examples: http://www.cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/CMakeDetermineFortranCompiler.cmake;hb=v3.3.0-rc2#l114 -Brad -- 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://public.kitware.com/mailman/listinfo/cmake