gcc-gnat-5.1.1-4.fc22.x86_64 has multiple binaries with execstack on. This triggers prelinking errors like the following when the selinux boolean "selinuxuser_execstack" is set to "off". "prelink: /usr/bin/gnatls: Could not parse `/usr/bin/gnatls: error while loading shared libraries: /usr/bin/gnatls: cannot enable executable stack as shared object requires: Permission denied'" The following gives terminal commands and output separated by "##########". ########## [major@archer ~]$ getsebool selinuxuser_execstack selinuxuser_execstack --> off ########## [major@archer ~]$ execstack -q $(rpm -ql gcc-gnat) 2>/dev/null X /usr/bin/gnat - /usr/bin/gnatbind - /usr/bin/gnatchop X /usr/bin/gnatclean - /usr/bin/gnatfind - /usr/bin/gnatgcc - /usr/bin/gnatkr - /usr/bin/gnatlink X /usr/bin/gnatls X /usr/bin/gnatmake X /usr/bin/gnatname - /usr/bin/gnatprep - /usr/bin/gnatxref - /usr/libexec/gcc/x86_64-redhat-linux/5.1.1/gnat1 ########## All the lines that begin with "X" show binaries with execstack on.
It appears that this is <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67205> and it seems it's stalled now. Florian posted a patch for this: <https://gcc.gnu.org/ml/gcc-patches/2015-08/msg00711.html>.
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.