[Bug other/78109] ld with -pie creates a shared library instead of an executable
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Oct 25 22:08:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78109
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>None of those not-really-executables can be started from the file explorer by double-clicking but they can be started from a terminal.
That is a bug in the file explorer rather than anything else. If the program
is marked as executable in the file system the kernel will try to detect which
file format it is (but not executable vs shared library though) and use the elf
loader that way.
More information about the Gcc-bugs
mailing list