https://sourceware.org/bugzilla/show_bug.cgi?id=20800
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-6 pr20800]$ cat test.c
#include <stdio.h>
int main(void) {
printf("Hello World");
return 0;
}
[hjl@gnu-6 pr20800]$ gcc -fpie -mcmodel=large -fno-builtin test.c
[hjl@gnu-6 pr20800]$ gcc -pie test.o -Wl,-z,now
/usr/local/bin/ld: test.o(.text+0x36): unresolvable R_X86_64_PLTOFF64
relocation against symbol `printf@@GLIBC_2.2.5'
/usr/local/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
[hjl@gnu-6 pr20800]$
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils