[vtk-developers] Ubuntu 16.10, gcc 6.2 creates shared object by default instead of executable.

Andrew Maclean andrew.amaclean at gmail.com
Sat Oct 22 01:59:54 EDT 2016


See:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1635376
and
 https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1635706

Until thus is fixed, the solution , when configuring using CMake is to set
CMAKE_EXE_LINKER_FLAGS=-no-pie
When this is done the usual ELF executable instead of the ELF shared object
is created.

Interestingly, the ELF shared object will run from a terminal but not
from the Nautilus window.

Andrew

-- 
___________________________________________
Andrew J. P. Maclean

___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20161022/cf9074f7/attachment.html>


More information about the vtk-developers mailing list