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
Sat Jun 18 06:45:47 PDT 2016


> If this is a simple C++ file, can you try the same with 3.8.0?
> Or is that Clang modified to work with C#?
Source is not simple and clang was modified.  Anyway, If I cannot resolve
this issue
with clang 3.6 (old version for ARM), I am planning to build/execute full
sources with 3.8.x (or latest commit number).

 > We have a buildbot with this configuration on an A15, which should
be identical
to an A7 for most purposes...
Do you mean that you could successfully build and run some unit-tests with
-O3 flag + latest revision (e.g., LLVM rev 273084)?

> What kind of tools do you have here? Linker, etc? GNU?
It's Ubuntu/ARM 14.04 distribution.


On Sat, Jun 18, 2016 at 8:57 PM, Renato Golin <renato.golin at linaro.org>
wrote:

> On 18 June 2016 at 12:33, Geunsik Lim <leemgs at gmail.com> wrote:
> > * With -O3 of clang/llvm-3.6:
> > cd
> /work/dotnet/coreclr.git/bin/obj/Linux.arm.Release/src/debug/debug-pal &&
> > /usr/bin/clang++-3.6
>
> If this is a simple C++ file, can you try the same with 3.8.0? Or is
> that Clang modified to work with C#?
>
>
> > -target armv7-linux-gnueabihf -mthumb -mfpu=vfpv3
>
> We have a buildbot with this configuration on an A15, which should be
> identical to an A7 for most purposes...
>
> http://lab.llvm.org:8011/builders/clang-cmake-thumbv7-a15
>
>
> > --sysroot=/work/dotnet/rootfs-coreclr/arm
>
> What kind of tools do you have here? Linker, etc? GNU? Or is it just
> for the Windows headers?
>
> cheers,
> --renato
>



-- 
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/20160618/a0c584ee/attachment.html>


More information about the llvm-commits mailing list