https://sourceware.org/bugzilla/show_bug.cgi?id=20093
Bug ID: 20093 Summary: relocation truncated to fit: R_X86_64_32S against symbol `foo1' defined in LARGE_COMMON section Product: binutils Version: 2.27 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- [hjl@gnu-6 lea-5]$ cat lea2a.s .largecomm foo1,1073741824,32 .largecomm foo2,1073741824,32 .largecomm foo3,1073741824,32 .text .globl _start .type _start, @function _start: movq foo1@GOTPCREL(%rip), %rax .size _start, .-_start [hjl@gnu-6 lea-5]$ make static gcc -c -o lea2a.o lea2a.s ./ld -m elf_x86_64 -o static lea2a.o lea2a.o: In function `_start': (.text+0x3): relocation truncated to fit: R_X86_64_32S against symbol `foo1' defined in LARGE_COMMON section in lea2a.o Makefile:33: recipe for target 'static' failed make: *** [static] Error 1 [hjl@gnu-6 lea-5]$ -- 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