[Issue 6] ARM: Illegal instruction in runnable/aliasthis.d and with -O2

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Mon Sep 24 11:55:19 PDT 2012


http://gdcproject.org/bugzilla/show_bug.cgi?id=6

--- Comment #8 from Johannes Pfau <johannespfau at gmail.com> 2012-09-24 18:55:19 UTC ---
No, I think it's a gdc bug. I think something recently broke the ARM EABI
unwinder. The gcc executable from the same build as the gdc executable works.
And the version (GNU_ARM_EABI_Unwinder) is not set, although it is detected by
configure and DCFG_ARM_EABI_UNWINDER is set to "GNU_ARM_EABI_Unwinder".

Seems the reason is this commit:
https://github.com/D-Programming-GDC/gdc/commit/ffed7d684e94d2b933a7d2f27403d8fb7de65314

DCFG_ARM_EABI_UNWINDER=GNU_ARM_EABI_Unwinder ends up in the toplevel
phobos-ver-syms file, but not in libdruntime/phobos-ver-syms. Seems the
libdruntime/phobos-ver-syms.in file wasn't updated in
https://github.com/D-Programming-GDC/gdc/commit/ffed7d684e94d2b933a7d2f27403d8fb7de65314


I'm not sure if using the wrong unwinder can have such an effect. But I looked
at the exception handling code in libgcc and there's no reason why it would
work for c++ but not form gdc, unless we corrupt the context in the personality
routine.

-- 
Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.


More information about the D.gnu mailing list