Do Not Build PIE in Compile Mode

Reporter: RobertBColton  |  Status: open  |  Last Modified: November 17, 2018, 08:52:44 PM

This is an attempted work around to address #1424 based on the fix proposed by Josh. However, I chose to do it differently than he did so I would not break Travis or ENIGMA users that have older GCCs which do not recognize pie, or else recognize it differently (Clang users). For that reason, I am applying here a patch taken from Gentoo. By putting the fix directly in the SHELL Makefile we ensure that executables built with a cross compiler that happens to have PIE enabled also turn PIE off when compiling.
https://bugs.gentoo.org/583930
https://launchpadlibrarian.net/309280563/sbcl-1.3.14-gentoo-fix_nopie_for_hardened_toolchain.patch
codecov[bot]  
>Codecov Report

Merging #1440 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1440   +/-   ##
=======================================
  Coverage   17.18%   17.18%           
=======================================
  Files         164      164           
  Lines       17099    17099           
=======================================
  Hits         2939     2939           
  Misses      14160    14160

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a965946...eae896c. Read the comment docs.

Please sign in to post comments, or you can view this issue on GitHub.