bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/22263] -fpie -pie generates dynamic relocations in text section


From: hjl.tools at gmail dot com
Subject: [Bug ld/22263] -fpie -pie generates dynamic relocations in text section
Date: Sun, 08 Oct 2017 00:28:44 +0000

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|tilepro                     |tilepro,sparc

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
The same thing happens on sparc:

address@hidden pr22263]$ make
/export/gnu/import/git/toolchain/install/compilers/sparc64-linux-gnu/bin/sparc64-glibc-linux-gnu-gcc
-fPIE -O2   -c -o x.o x.c
/export/gnu/import/git/toolchain/install/compilers/sparc64-linux-gnu/bin/sparc64-glibc-linux-gnu-gcc
-fPIE -O2   -c -o y.o y.c
/export/gnu/import/git/toolchain/install/compilers/sparc64-linux-gnu/bin/sparc64-glibc-linux-gnu-gcc
-pie -Wl,-z,text -o x x.o y.o
/export/gnu/import/git/toolchain/install/compilers/sparc64-linux-gnu/lib/gcc/sparc64-glibc-linux-gnu/7.2.1/../../../../sparc64-glibc-linux-gnu/bin/ld:
read-only segment has dynamic relocations.
collect2: error: ld returned 1 exit status
make: *** [Makefile:16: x] Error 1
address@hidden pr22263]$

-- 
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]