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

Geunsik Lim via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 11 23:37:41 PDT 2016


>> 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?
Don't ignore the statement that I wrote.
I have experience the build error because I used unstable snapshot version
of coreCLR.

> That's usually an extremely bad idea, and definitely in this case.
Right. I agree with your comment. Thanks.

I am trying to run unaligned access without memcpy(3) library call in order
to avoid performance degradation.


On Tue, Jul 12, 2016 at 12:21 PM, Tim Northover <t.p.northover at gmail.com>
wrote:

> 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.
>



-- 
http://leemgs.fedorapeople.org
Don't try to avoid pain if you fail.
If you decided to face the challenges in life,
you can gain a lot by giving your best.
Cheolsang Jeong's Book & life
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160712/4ec62519/attachment.html>


More information about the llvm-commits mailing list