https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98634
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- No RHEL or Fedora compilers are -pie by default, I hate when such important details change silently under you. Instead of changing the GCC default in these distros the rpm macros ensure PIE by default when building rpm packages (unless one chooses to opt out).