https://sourceware.org/bugzilla/show_bug.cgi?id=22626

--- Comment #6 from Sergei Trofimovich <slyfox at inbox dot ru> ---
(In reply to Alan Modra from comment #5)
> If you cannot reproduce the problem with a --disable-default-pie compiler by
> using the appropriate combination of options (-pie -fPIE), then the problem
> lies in the compiler.  In comment #2, I see crt1.o and crtbegin.o in the
> list of object files passed to ld.  That is wrong for a PIE.  It should be
> Scrt1.o and crtbeginS.o.
> 
> The compiler problem should have been fixed with git commit a9b2df6c for gcc
> master, f5c42d1b for gcc-7-branch, and e764842a for gcc-6-branch.
> 
> The PR driver/81523 patches are important too.

Aha, thank you!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to