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

Renato Golin via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 18 03:26:03 PDT 2016


On 18 June 2016 at 07:15, Geunsik Lim via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> We have still got the same issue even though we try to build coreCLR with
> "-mno-unaligned-access" flag of llang /llvm-3.6.
> Anyone who has similar experience Is this issue already resolved in the
> latest clang/llvm version?

Hi Geunsik,

All of that smells like unaligned access, indeed. I'm not sure what
can be done, since 3.6 is an old version, with many improvements on
ARM since.

I do remember some fixes about unaligned access on some cores, and
also a few assumptions that other cores are OK with it (though the
flag should have supressed it).

The best way to know if this particular problem is fixed upstream is
to try a new version, or trunk. Of course, that has the cost of
re-basing your own tree, but at least that cost can bring the benefit
of you using a newer revision.

For now, you could try to describe your target and the options you
set. CPU name, ABI and feature flags you use would already help a lot.

cheers,
--renato


More information about the llvm-commits mailing list