[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/22626] [bisected] ld -pie produces invalid relocations on powerp
From: |
amodra at gmail dot com |
Subject: |
[Bug ld/22626] [bisected] ld -pie produces invalid relocations on powerpc-unknown-linux-gnu-gcc |
Date: |
Mon, 18 Dec 2017 07:43:38 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22626
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |INVALID
--- Comment #5 from Alan Modra <amodra at gmail dot com> ---
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/22626] New: [bisected] ld -pie produces invalid relocations on powerpc-unknown-linux-gnu-gcc, slyfox at inbox dot ru, 2017/12/17
- [Bug ld/22626] [bisected] ld -pie produces invalid relocations on powerpc-unknown-linux-gnu-gcc, slyfox at inbox dot ru, 2017/12/17
- [Bug ld/22626] [bisected] ld -pie produces invalid relocations on powerpc-unknown-linux-gnu-gcc, hjl.tools at gmail dot com, 2017/12/17
- [Bug ld/22626] [bisected] ld -pie produces invalid relocations on powerpc-unknown-linux-gnu-gcc, slyfox at inbox dot ru, 2017/12/17
- [Bug ld/22626] [bisected] ld -pie produces invalid relocations on powerpc-unknown-linux-gnu-gcc, slyfox at inbox dot ru, 2017/12/17
- [Bug ld/22626] [bisected] ld -pie produces invalid relocations on powerpc-unknown-linux-gnu-gcc, hjl.tools at gmail dot com, 2017/12/17
- [Bug ld/22626] [bisected] ld -pie produces invalid relocations on powerpc-unknown-linux-gnu-gcc,
amodra at gmail dot com <=
- [Bug ld/22626] [bisected] ld -pie produces invalid relocations on powerpc-unknown-linux-gnu-gcc, slyfox at inbox dot ru, 2017/12/18
- [Bug ld/22626] [bisected] ld -pie produces invalid relocations on powerpc-unknown-linux-gnu-gcc, slyfox at inbox dot ru, 2017/12/18
- [Bug ld/22626] [bisected] ld -pie produces invalid relocations on powerpc-unknown-linux-gnu-gcc, amodra at gmail dot com, 2017/12/18
- [Bug ld/22626] [bisected] ld -pie produces invalid relocations on powerpc-unknown-linux-gnu-gcc, amodra at gmail dot com, 2017/12/18
- [Bug ld/22626] [bisected] ld -pie produces invalid relocations on powerpc-unknown-linux-gnu-gcc, amodra at gmail dot com, 2017/12/18
- [Bug ld/22626] [bisected] ld -pie produces invalid relocations on powerpc-unknown-linux-gnu-gcc, amodra at gmail dot com, 2017/12/18
- [Bug ld/22626] invalid dynindx used for dynamic relocs against section syms, amodra at gmail dot com, 2017/12/18
- [Bug ld/22626] invalid dynindx used for dynamic relocs against section syms, cvs-commit at gcc dot gnu.org, 2017/12/18
- [Bug ld/22626] invalid dynindx used for dynamic relocs against section syms, cvs-commit at gcc dot gnu.org, 2017/12/18
- [Bug ld/22626] invalid dynindx used for dynamic relocs against section syms, amodra at gmail dot com, 2017/12/18