On Mon, 7 Nov 2016, Emmanuel Charpentier wrote:
The Sage project (http://www.sagemath.org) has recently hit an
interesting snag : its developers using Debian testing began to
encounter difficulties compiling the flint package (http://groups.googl
e.co.uk/group/flint-devel) with gcc 2.6.0.
One of us found (seeĀ https://groups.google.com/d/msg/sage-devel/TduebNo
ZuBE/sEULolL0BQAJ) that this was bound to a conflict between the -pie
option (now default) and an undocumented -r option.
We would like to know what is this -r option, what it does and why it
is undocumented.
(the mailing list you are looking for is gcc-h...@gcc.gnu.org)
As can be seen in the first message of the conversation you link to
"/usr/bin/ld: -r and -pie may not be used together"
The option -r is passed to ld, so you have to look for it in ld's manual
where it is clearly documented.
(that hardening stuff is such a pain...)
--
Marc Glisse