[llvm-bugs] [Bug 36923] R_X86_64_32S: error while loading shared libraries: unexpected reloc type 0x0b
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Aug 20 06:47:28 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=36923
George Rimar <grimar at accesssoftek.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |grimar at accesssoftek.com
Resolution|--- |WORKSFORME
--- Comment #1 from George Rimar <grimar at accesssoftek.com> ---
Unable to reproduce using fresh clang and lld:
~/LLVM/build/bin/clang++ -v
clang version 8.0.0 (trunk 339680)
~/LLVM/build/bin/ld.lld -v
LLD 8.0.0 (trunk 340163) (compatible with GNU linkers)
readelf -WDr a.out
'RELA' relocation section at offset 0x4d0 contains 216 bytes:
Offset Info Type Symbol's Value
Symbol's Name + Addend
0000000000002008 0000000000000008 R_X86_64_RELATIVE
2008
0000000000003000 0000000000000008 R_X86_64_RELATIVE
10c0
0000000000003008 0000000000000008 R_X86_64_RELATIVE
1100
0000000000001112 0000000000000008 R_X86_64_RELATIVE
68c
0000000000001161 0000000000000008 R_X86_64_RELATIVE
68f
0000000000003200 0000000200000006 R_X86_64_GLOB_DAT 0000000000000000
__gmon_start__ + 0
0000000000003208 0000000300000006 R_X86_64_GLOB_DAT 0000000000000000
_ITM_deregisterTMCloneTable + 0
0000000000003210 0000000400000006 R_X86_64_GLOB_DAT 0000000000000000
_ITM_registerTMCloneTable + 0
0000000000003218 0000000500000006 R_X86_64_GLOB_DAT 0000000000000000
__cxa_finalize at GLIBC_2.2.5 + 0
'PLT' relocation section at offset 0x5a8 contains 192 bytes:
Offset Info Type Symbol's Value
Symbol's Name + Addend
0000000000002028 0000000100000007 R_X86_64_JUMP_SLOT 0000000000000000
__libc_start_main at GLIBC_2.2.5 + 0
0000000000002030 0000000200000007 R_X86_64_JUMP_SLOT 0000000000000000
__gmon_start__ + 0
0000000000002038 0000000500000007 R_X86_64_JUMP_SLOT 0000000000000000
__cxa_finalize at GLIBC_2.2.5 + 0
0000000000002040 0000000600000007 R_X86_64_JUMP_SLOT 0000000000000000
opendir at GLIBC_2.2.5 + 0
0000000000002048 0000000800000007 R_X86_64_JUMP_SLOT 0000000000000000
puts at GLIBC_2.2.5 + 0
0000000000002050 0000000900000007 R_X86_64_JUMP_SLOT 0000000000000000
readdir at GLIBC_2.2.5 + 0
0000000000002058 0000000a00000007 R_X86_64_JUMP_SLOT 00000000000012a0
closedir at GLIBC_2.2.5 + 0
0000000000002060 0000000700000007 R_X86_64_JUMP_SLOT 0000000000000000
perror at GLIBC_2.2.5 + 0
--
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/20180820/b0a31ce7/attachment.html>
More information about the llvm-bugs
mailing list