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

2019-01-12 Thread John David Anglin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256   Hi Michael, On 2019-01-10 7:09 a.m., Michael Biebl wrote: > Dave, can you test attached patch on hppa and report back with the results? > Version 240-3 built successfully with patch on hppa. Dave - -- John David Anglin  dave.ang...@bell.net

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

2019-01-10 Thread John David Anglin
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

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

2019-01-10 Thread Michael Biebl
Am 10.01.19 um 16:13 schrieb John David Anglin: > Hi, > > The merging of PIC/PIE options in gcc-8 was fixed by this change: > https://gcc.gnu.org/viewcvs/gcc?view=revision=267610 > > A new build of gcc-8 with the above change was upload yesterday and > systemd 240-3 built > successfully on hppa

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

2019-01-10 Thread John David Anglin
Hi, The merging of PIC/PIE options in gcc-8 was fixed by this change: https://gcc.gnu.org/viewcvs/gcc?view=revision=267610 A new build of gcc-8 with the above change was upload yesterday and systemd 240-3 built successfully on hppa without having to disable LTO:

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

2019-01-10 Thread Michael Biebl
Hi Dave, hi Jussi On Sat, 1 Dec 2018 17:15:41 -0500 John David Anglin wrote: > On 2018-12-01 4:50 p.m., Jussi Pakkanen wrote: > > Thus it would seem that this is not a bug in Meson, but instead in > > systemd's build setup as the pie arguments are added by the latter. > I agree but Michael