[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
Tue May 17 20:09:30 PDT 2016


On 17 May 2016 at 19:22, Geunsik Lim <leemgs at gmail.com> wrote:
> It's strange. I could not see the "[DEBUG] ****" message while compiling
> CoreCLR  with Clang/LLVM for Linux/ARM. Is it right? Can you give me an
> opinion?

That strongly suggests something is wrong. That function ought to be
called hundreds of times while building the source, regardless of the
changed outcome after my patch. Maybe the build system is suppressing
stdout for some reason?

I'd be happy to look at the various clsload.cpp.o files produced
(there is more than 1 and I can't actually remember which had the
problem I'm afraid) and tell you if the TLS accesses are sane.

Cheers.

Tim.


More information about the llvm-commits mailing list