Bug#909396: Bug#914543: meson adds both -fPIE and -fPIC options in LTO compiles with gcc-8

John David Anglin dave.anglin at bell.net
Thu Jan 10 16:46:49 GMT 2019


On 2019-01-10 10:46 a.m., Michael Biebl wrote:
>>> Dave, can you test attached patch on hppa and report back with the results?
>> Your fix looks correct to me.  I'll try to test in the next day or two
>> on hppa.  Does it work on x86?
> I've built the package on amd64 with this patch applied.
> I quickly ran hardening-check on the resulting binaries and they all showed
> Position Independent Executable: yes
> and the system booted successly without any apparent breakage.
>
> I didn't specifically test i386. Do you expect any issues there?
No.  The main reason hppa is sensitive to this problem is that there is
a significant difference between
PIC and non PIC code.

Dave

-- 
John David Anglin  dave.anglin at bell.net


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20190110/1d79a26a/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list