bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/2868] New: IA64: relocation truncated to fit: TPREL22


From: gary at intrepid dot com
Subject: [Bug ld/2868] New: IA64: relocation truncated to fit: TPREL22
Date: 30 Jun 2006 17:06:15 -0000

When linking a program that has a combination of thread local data that 
exceeds 2^21 in size (roughly 0x3e8500), the following link error occurs:

../src/upcr_gccupc.c:81: relocation truncated to fit: TPREL22 MYTHREAD

The variable being referred to is a single word that is relatively far from
the point of reference.

I've tried duplicating this by constructing some simple C files with large 
thread-local declarations, and references to data that should be far away, but 
was unable to make the failure happen.  I can collect the .o's and the ld 
command line that makes it fail, if needed, but there are 50 in total, so if 
there is another way to diagnose the problem or workaround it that would be 
preferred.

-- 
           Summary: IA64: relocation truncated to fit: TPREL22
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: gary at intrepid dot com
                CC: bug-binutils at gnu dot org
  GCC host triplet: ia64-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=2868

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]