--- Additional Comments From gary at intrepid dot com 2006-07-01 01:19
---
*** Bug 2868 has been marked as a duplicate of this bug. ***
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2869
--- You are receiving this mail because: ---
You are on the CC list for the bug, or
--- Additional Comments From gary at intrepid dot com 2006-07-01 01:19
---
*** This bug has been marked as a duplicate of 2869 ***
--
What|Removed |Added
Statu
A C program that references external data via an 'extern' fails to link, when
the data is defined as thread-local in a separately compiled file, on an
x86_64 (Opteron, Fedora Core 5) platform.
For example,
==> file1.c <==
extern int x;
int main() {
x = 5;
}
==> file2.c <==
int __thread x =
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
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