[dm-devel] [PATCH 2/5] multipath: fix up position independent code

Martin Wilck mwilck at suse.com
Thu May 11 13:12:51 UTC 2017


On Mon, 2017-04-24 at 17:39 -0500, Benjamin Marzinski wrote:
> The multipath binaries were not being compiled as position
> independent
> executables (PIE).  This code fixes that, and makes other minor code
> hardening tweaks to make hardening-check happier.

Since what version do gcc/ld support -fPIE /-pie? I'm asking because we
at SUSE recently had to revert 596f51f "Replace -fstack-protector with
-fstack-protector-strong" because this parameter isn't supported in all
our gcc versions.

In a way, the recent Makefile patches call for autoconf or something of
the kind ...

Regards,
Martin

-- 
Dr. Martin Wilck <mwilck at suse.com>, Tel. +49 (0)911 74053 2107
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)




More information about the dm-devel mailing list