bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/22626] [bisected] ld -pie produces invalid relocations on powerp


From: slyfox at inbox dot ru
Subject: [Bug ld/22626] [bisected] ld -pie produces invalid relocations on powerpc-unknown-linux-gnu-gcc
Date: Mon, 18 Dec 2017 08:23:30 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]