[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 16 10:26:49 PDT 2016


On 16 May 2016 at 05:21, Geunsik Lim <leemgs at gmail.com> wrote:
> I am sorry too late. I have experimented the effect of your proposal after
> applying for your patch into the existing llvm version both build
> environment (e.g. Ubuntu 14.04 x64) and ARM evaluation board (Ubuntu/ARM
> 14.04 based on Raspberry Pi2 board). Result is same. I mean that I could not
> still run the console apps with -O2/-O3 optimization levels of Clang. Do you
> have any idea?

I'm afraid not. I have a particular interest in TLS so I was able to
spend some time debugging the original issue on those grounds, but
generally the best way to get a bug fixed is to come up with a small
test-case showing the same issue and report a bug at
http://llvm.org/bugs.

Tim.


More information about the llvm-commits mailing list