testsuite regressions on trunk, compared to 2.28

Alan Modra amodra@gmail.com
Thu Jun 22 00:29:00 GMT 2017


On Wed, Jun 21, 2017 at 03:32:31PM -0700, H.J. Lu wrote:
> On Wed, Jun 21, 2017 at 3:18 PM, Matthias Klose <doko@ubuntu.com> wrote:
> >> With PIE as default, I saw
> >
> > right, all compilers are configured/patched to default to hardening settings.
> 
>  x86-64 is clean now.

Thanks for the patches, HJ, they tidied powerpc64le too.

With gcc (Ubuntu 6.2.0-5ubuntu12) powerpc64le fails a bunch of gold
tests, and one ld test:
FAIL: Could not link a dynamic executable using local ifunc.

Digging into that fail reveals "text relocations and GNU indirect
functions will result in a segfault at runtime", which is the result
of gcc using crt1.o for default PIE rather than Scrt1.o (which it uses
for explicit -fPIE -pie).  So there is a gcc-6.2 bug causing this
problem.  I haven't yet investigated whether this bug is already fixed
upstream.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list