bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20093] New: relocation truncated to fit: R_X86_64_32S against sy


From: hjl.tools at gmail dot com
Subject: [Bug ld/20093] New: relocation truncated to fit: R_X86_64_32S against symbol `foo1' defined in LARGE_COMMON section
Date: Fri, 13 May 2016 17:20:11 +0000

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

address@hidden 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    address@hidden(%rip), %rax
        .size   _start, .-_start
address@hidden 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
address@hidden lea-5]$

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