Using gdc on Windows

Iain Buclaw ibuclaw at gdcproject.org
Tue May 26 19:27:14 UTC 2020


On 26 May 2020 19:52:51 CEST, "MINGW-USER via D.gnu" <d.gnu at puremagic.com> wrote:
>On Monday, 25 May 2020 at 10:23:50 UTC, Iain Buclaw wrote:
>> On 21/05/2020 01:18, NonNull via D.gnu wrote:
>>> Hello,
>>> 
>>> I'd like to run gdc natively on Windows in a mingw compatible 
>>> way. How can I proceed?
>>> 
>>
>> We need some testers to verify this patch.
>>
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91595
>
>libdruntime build fails with error: undefined identifier 
>'__gdc_personality_imp'.
>Need Help.
>
>libtool: compile:  gdc -DDLL_EXPORT -Wall -frelease -g -O2 
>-nostdinc -I ../../gcc-10.1.0/libphobos/libdruntime -I . -c 
>../../gcc-10.1.0/libphobos/libdruntime/gcc/deh.d -fversion=Shared 
>-o gcc/.libs/deh.o
>../../gcc-10.1.0/libphobos/libdruntime/gcc/deh.d:808:48: error: 
>undefined identifier '__gdc_personality_imp'
>   808 |                                      ms_disp, 
>&__gdc_personality_imp);
>       |                                                ^
>

Looks like that should instead be `& gdc_personality`.

Iain



More information about the D.gnu mailing list