what's this Error: corrupt MS Coff object module

mw mingwu at gmail.com
Tue Aug 25 05:17:44 UTC 2020


On Tuesday, 25 August 2020 at 01:44:16 UTC, mw wrote:
> I just tried, using -m32:
>
>  /mnt/c/project/dlang/dmd-2.093.1/windows/bin/sc.ini
> [Environment]
> DFLAGS="-I%@P%\..\..\src\phobos" 
> "-I%@P%\..\..\src\druntime\import" "-d" "-m32"
>
> at least that error is gone, and I was able to build:
>
> .dub/lib/unit-threaded_property.lib
>
> So, looks like this unit-threaded_property.lib cannot be build 
> with -m64, but I just wonder why?

Looks like a VisualD issue:

https://issues.dlang.org/show_bug.cgi?id=21194

I cannot build with VisualD, but I can build on Windows using 
command line:

C:\project\dlang\dmd-2.093.1\windows\bin64\dub.exe test 
--build=unittest



More information about the Digitalmars-d-learn mailing list