Am 23.09.18 um 22:27 schrieb John David Anglin:
> Well the problem was latent in 239-7 and probably gcc changed.  The
> thing is the error points
> to an error in the link command.  On hppa, it is almost always necessary
> to link shared and pie
> objects with -fPIC or -fPIE, respectively.  There are compilations in
> the link process and
> the generated objects need to be position independent when doing shared
> and pie links.
> 
> The attached patch fixes the failing link command although I'm not sure
> it's optimal as
> generally -fPIE and -pie need to be specified together.  Meson appears
> to test the options
> separately.  Putting them together as one option doesn't work.  The
> systemd build completes
> with the patch.  There was one timeout in the testsuite but the system
> was under high load.

Looking at the "ld" man page, it doesn't say anything about -fPIE, only
about -pie.
Can you please provide some references why on hppa the linker needs
-fPIE in addition to -pie


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to