[llvm-bugs] [Bug 38037] New: relocation R_X86_64_PC32 out of range error
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jul 3 06:06:32 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38037
Bug ID: 38037
Summary: relocation R_X86_64_PC32 out of range error
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: ELF
Assignee: unassignedbugs at nondot.org
Reporter: shivarama.rao at amd.com
CC: llvm-bugs at lists.llvm.org
Created attachment 20516
--> https://bugs.llvm.org/attachment.cgi?id=20516&action=edit
attachment files
lld is unable to link the object files compiled for omp2012 357.bt331. However
the gnu ld linker is linking the object files.
the attachment contains the object files generated and the link command
"buildme". the lld aborts with the following error.
ld.lld: error: crtstuff.c:(.text+0x82): relocation R_X86_64_PC32 out of range:
11466212385 is not in [-2147483648, 2147483647]
ld.lld: error: crtstuff.c:(.text+0x95): relocation R_X86_64_PC32 out of range:
11466212366 is not in [-2147483648, 2147483647]
the source file x_solve.o might be the cause of the problem. the source code
has a huge array declaration.
4 .tbss 0006d720 0000000000000000 0000000000000000 00001a20 2**5
ALLOC, THREAD_LOCAL
At this point I am not sure if it is lld bug. If not, what is the correct way
to overcome this linking issue
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180703/36317666/attachment.html>
More information about the llvm-bugs
mailing list