Linux/ARM: Bus error with -O3 flag of clang/llvm-3.6 while running unit-test of .NET Core

Tim Northover via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 11 20:21:29 PDT 2016


On 11 July 2016 at 18:28, Geunsik Lim <leemgs at gmail.com> wrote:
> It's strange. When I have tried to use "typedef ...." statement with clang
> 3.6 as you advised, I have got the build error like below.

I don't see an error in the message you sent. Did you forget to copy/paste?

> BTW, If we use "#pragma clang diagnostic ..." statement to avoid  "attribute
> ignored" message, is not it correct?

It is not. Suppressing a valid diagnostic does not make the underlying
issue go away. It just stops the compiler telling you about it. That's
usually an extremely bad idea, and definitely in this case.

Tim.


More information about the llvm-commits mailing list