Executables are now linked with the -pie option, which lead to a file
type that is nearly indistinguishable from a shared library. I learned
that this is an expected consequence.

The only difference is the presence of an 'interpreter' for executable
files, but nothing forbids a .so to have an 'interpreter' too (for
example the libc.so on my system has one):

$ file plop.so:
plop.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically 
linked

$ file plop.ex:
plop.ex: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically 
linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32

In conclusion we should look into Nautilus to solve the issue (I closed
the bug for gcc).

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/1635376

Title:
  double-clicking on an executable created with gcc6 opens an error
  message

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1635376/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to