This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: testsuite regressions on trunk, compared to 2.28


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]