GDC 9 and ARM Cortex-M

Timo Sintonen t.sintonen at luukku.com
Sun May 19 13:52:29 UTC 2019


On Sunday, 19 May 2019 at 09:34:55 UTC, Johannes Pfau wrote:
> Am Sun, 19 May 2019 06:54:14 +0000 schrieb Timo Sintonen:
>
>> I am updating my toolset and libraries to GCC/GDC 9.1 release. 
>> First impression is that druntime needs more work than with 
>> previous versions. Many places to change and even compiler 
>> crashes when compiling some files.
>> 
>> Before I look further I want to ask if there has been any 
>> testing with this target (cross compiler linux->arm-eabi). Is 
>> it expected to work, not to work or not tested at all.
>
> Cross-compilers in general are expected to work, but only basic 
> testing
> has been done. Bare-metal targets have some basic betterC 
> testing, but we
> only test without druntime. We never tested druntime or 
> stripped-down
> druntime on baremetal targets. Compiler crashes are certainly 
> bugs and
> should be reported.
> Druntime requiring more changes now is sad, but not really 
> unexpected as
> I don't think anyone in the druntime team focuses on embedded 
> targets. I
> guess most people working on bare-metal completely reimplement 
> a custom
> runtime or use betterC with the C runtime only.

It looks like there is an ice with several files in rt/typeinfo.
I'll make a bug report when I know more.



More information about the D.gnu mailing list