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
Sat Jun 18 04:33:56 PDT 2016

> There's also this:

>  Like, which -march -target -mcpu -mfpu options?
Below is all flags of clang-3.6 while building 'twowaypipe.cpp'  file as
one example.

* 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
-D_ARM_ -D_POSIX_C_SOURCE=200809L -Wa     ll -Wno-null-conversion
-g -O3 -I/work/dotnet/coreclr.git/src/debug/debug-pal/../inc
-target armv7-linux-gnueabihf -mthumb -mfpu=vfpv3
-fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong
-Werror -Wno-unused-private-field -Wno-unused-variable -Wno-microsoft
-Wno-constant-logical-operand -Wno-unknown-warning-option
-Wno-incompatible-ms-struct -fsigned-char -fPIC
-o  CMakeFiles/debug-pal.dir/unix/twowaypipe.cpp.o
-c /work/dotnet/coreclr.git/src/debug/debug-pal/unix/twowaypipe.cpp

Geunsik Lim.

On Sat, Jun 18, 2016 at 8:17 PM, Renato Golin <renato.golin at>

> On 18 June 2016 at 12:09, Geunsik Lim <leemgs at> wrote:
>> Thank you for you opinion. Could you share me the revision numbers of the
>> some fixes from the (viewvc)?
> Hi,
> I don't remember exact commits, these are things I saw mostly post-commit
> review, in the ARM back-end to fix mostly embedded stuff.
> There's also this:
> This is a big change, cherry-picking won't work...
> * CPU:
>> ---------------
>> Broadcom BCM2836 SoC, with quad-core ARM Cortex-A7 900 MHz processor
>> ( ARMv7 processor)
> Ok, but what are the CPU options you guys are using on the compiler
> itself? Like, which -march -target -mcpu -mfpu options?
> GNU C Library (Ubuntu EGLIBC 2.19-0ubuntu6.7) stable release version 2.19,
>> by Roland McGrath et al.
>> Compiled by GNU CC version 4.8.2.
> I'm guessing Ubuntu Trusty, same as mine.
> cheers,
> --renato

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

More information about the llvm-commits mailing list