Hi,

-rdynamic is used for linking with pgf90 even though it is not supported. The 
flag is imported from Linux-GNU.cmake and I guess it is included because cmake 
(2.8.3) checks for C and C++ compilers by default.

http://www.vtk.org/Bug/view.php?id=9985 talks about this bug, but I'm unsure 
what the final conclusion is and if the bug is considered fixed. Even though 
this is a Fortran test, I can imagine it will break linking multi-language code 
as well, if you mix PGI (pgf90) with GNU (gcc/g++) and end up with -rdynamic 
because of it.

Thanks,
Arjen
_______________________________________________
Powered by www.kitware.com

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

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

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

Reply via email to