[llvm-dev] Linux/ARM: Segfault issue when we build clang sources including __thread variable using -O2 flag

Tim Northover via llvm-commits llvm-commits at lists.llvm.org
Mon May 9 21:11:56 PDT 2016


>>    28b428:       f8df 06d4       ldr.w   r0, [pc, #1748] ; 28bb00
>>    28b42c:       4478            add     r0, pc
>>    28b42e:       f5a6 e8c6       blx     315bc <__tls_get_addr at plt>
>>    [...]
>>
> BTW, How could you get the  "*****  <__tls_get_addr at plt>" content?
> When I ran the below commands, I could not get the  "***** <__tls_get_addr at plt>" line.
> u14.04$> cd ./runtime-arm-u1404-debug-mode-20160503-global-dynamic-O2/
> u14.04$> objdump -d ./libcoreclr.so  | grep tls_get_addr

Maybe you've got an older version of objdump? I'm afraid I don't
really know much about binutils changes over the years.

Tim.


More information about the llvm-commits mailing list