d_eh_personality required when building an OS with betterC/amd64

kinke noone at nowhere.com
Mon Jun 1 13:33:20 UTC 2020


On Monday, 1 June 2020 at 04:28:32 UTC, Streaksu wrote:
> The easiest way I found of triggering the error is adding this 
> destructor to this struct https://pastebin.com/6rypx3yA , the 
> templates used have no effect on the error as they are used on 
> other struct destructors and they dont trigger this error, its 
> just in this namely case, their definitions anyways are 
> available at 
> https://github.com/Takao-OS/Takao/blob/master/source/lib/alloc.d.
>
> Lately I discovered this dependency is also generated in other 
> points of my codebase, namely in 
> https://github.com/Takao-OS/Takao/blob/master/source/system/apic.d, which makes use of core.volatile (it might have something to do in that case I think).
>
> Those 2 instances, that class and the later apic.d are the only 
> examples I could find of this function being generated.

Your current Takao master compiles & links fine for me (`make`) 
with LDC v1.21.

The Window struct code is incomplete, adding some imports wasn't 
enough - where's plotString and windowBorder?


More information about the digitalmars-d-ldc mailing list