Oleg B via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Fri Sep 1 03:03:54 PDT 2017

Hello. I work on project, that works on ARMv7 (Raspberry PI 2). 
Some times I get error in random places (build to build in 
different place, no rebuild - stable error place):

Fatal error in EH code: _Unwind_RaiseException failed with reason 
code: 9 Aborted

I found few issues on github


But I don't understand how workaround this.
My ldc2.conf have no special flags, I don't use optimization.

     switches = [

Trying add "-mattr=+strict-align" has no effect.
I see only one way for fix it: don't use exceptions. But it 
require a lot of work on rewriting existing code. May be this 
problem has more elegant solution?

More information about the digitalmars-d-ldc mailing list