May 22, 2018
On Thursday, 17 May 2018 at 03:28:33 UTC, Vladimir Panteleev wrote:
> On Tuesday, 15 May 2018 at 16:01:28 UTC, Atila Neves wrote:
>> I just spent 45min trying to build 64-bit dmd on Windows. It wasn't fun. "Isn't it just make -f win64.mak?", I hear you ask. Yes. If you want a version with debug messages turned on. It took me 45min to learn that disabling those is... non-trivial.
>
> I realize you all must be sick of me by now, but:
>
> digger build --model=64
>
> If you don't have Digger yet, you can run it straight from Dub:
>
> dub fetch digger
> dub run digger -- build --model=64

I keep forgetting about digger for some reason. Unfortunately the command above produced a 32-bit dmd. 64-bit druntime and phobos, but 32-bit dmd.

Atila
May 22, 2018
On Tuesday, 22 May 2018 at 13:11:00 UTC, Atila Neves wrote:
> On Thursday, 17 May 2018 at 03:28:33 UTC, Vladimir Panteleev wrote:
>> digger build --model=64
>>
>> If you don't have Digger yet, you can run it straight from Dub:
>>
>> dub fetch digger
>> dub run digger -- build --model=64
>
> I keep forgetting about digger for some reason. Unfortunately the command above produced a 32-bit dmd. 64-bit druntime and phobos, but 32-bit dmd.
>
> Atila

Apologies, that indeed is the wrong command.

This should work:

dub run digger -- -c build.components.dmd.dmdModel=64 build

May 22, 2018
On Tuesday, 22 May 2018 at 13:30:02 UTC, Vladimir Panteleev wrote:
> On Tuesday, 22 May 2018 at 13:11:00 UTC, Atila Neves wrote:
>> On Thursday, 17 May 2018 at 03:28:33 UTC, Vladimir Panteleev wrote:
>>> digger build --model=64
>>>
>>> If you don't have Digger yet, you can run it straight from Dub:
>>>
>>> dub fetch digger
>>> dub run digger -- build --model=64
>>
>> I keep forgetting about digger for some reason. Unfortunately the command above produced a 32-bit dmd. 64-bit druntime and phobos, but 32-bit dmd.
>>
>> Atila
>
> Apologies, that indeed is the wrong command.
>
> This should work:
>
> dub run digger -- -c build.components.dmd.dmdModel=64 build

Thanks!

That was pretty confusing though - and I consulted the documentation before trying --model=64 myself.

In any case, I seem to have gotten a working 64-bit version of dmd.
May 23, 2018
On 5/22/2018 10:03 AM, Atila Neves wrote:
> On Tuesday, 22 May 2018 at 13:30:02 UTC, Vladimir Panteleev wrote:
>> On Tuesday, 22 May 2018 at 13:11:00 UTC, Atila Neves wrote:
>>> On Thursday, 17 May 2018 at 03:28:33 UTC, Vladimir Panteleev wrote:
>>>> digger build --model=64
>>>>
>>>> If you don't have Digger yet, you can run it straight from Dub:
>>>>
>>>> dub fetch digger
>>>> dub run digger -- build --model=64
>>>
>>> I keep forgetting about digger for some reason. Unfortunately the command above produced a 32-bit dmd. 64-bit druntime and phobos, but 32-bit dmd.
>>>
>>> Atila
>>
>> Apologies, that indeed is the wrong command.
>>
>> This should work:
>>
>> dub run digger -- -c build.components.dmd.dmdModel=64 build
> 
> Thanks!
> 
> That was pretty confusing though - and I consulted the documentation before trying --model=64 myself.
> 
> In any case, I seem to have gotten a working 64-bit version of dmd.

I too am looking for 64-bit on Windows 10.  Not just DMD but ideally everything.

When I try the command exactly as above, or a slightly modified version (on a second run show after this run), I hit an error on my machine:

Internal error: dmd\backend\cod3.c 6830


Does anyone have any suggestions?  It could be something simple, as I am relitivly new to D.  I have windows 10 64 bit and I have v2.080.0 of D installed and I have VS2017 installed and I am able to complile D code to create a 64bit apps. I have tried compiling digger as both 32bit and 64bit, and that made no difference.

If I run digger to build 32 bit DMD, then it succeeds with or without the --model=64 switch:

digger build v2.080.0
digger build v2.080.0 --model=64





In the case of the original command I see this:

digger -c build.components.dmd.dmdModel=64 build

C:\DProj\digger\work\build\bin\dmd.exe -lib -oflib\druntime.lib -Xfdruntime.json -m32 -conf= -O -release -dip1000 -inline -w -Isrc -Iimport src\object.d   src\core\atomic.d  src\core\attribute.d src\core\bitop.d  src\core\checkedint.d  src\core\cpuid.d src\core\demangle.d  src\core\exception.d  src\core\math.d src\core\memory.d  src\core\runtime.d  src\core\simd.d src\core\thread.d  src\core\time.d  src\core\vararg.d src\core\internal\abort.d  src\core\internal\arrayop.d src\core\internal\convert.d  src\core\internal\hash.d src\core\internal\parseoptions.d  src\core\internal\spinlock.d src\core\internal\string.d  src\core\internal\traits.d src\core\stdc\assert_.d  src\core\stdc\complex.d  src\core\stdc\config.d  src\core\stdc\ctype.d  src\core\stdc\errno.d  src\core\stdc\fenv.d src\core\stdc\float_.d  src\core\stdc\inttypes.d  src\core\stdc\limits.d  src\core\stdc\locale.d  src\core\stdc\math.d  src\core\stdc\signal.d src\core\stdc\stdarg.d  src\core\stdc\stddef.d  src\core\stdc\stdint.d src\core\stdc\stdio.d  src\core\stdc\stdlib.d  src\core\stdc\string.d src\core\stdc\time.d  src\core\stdc\wchar_.d   src\core\sync\barrier.d src\core\sync\condition.d  src\core\sync\config.d src\core\sync\exception.d  src\core\sync\mutex.d src\core\sync\rwmutex.d  src\core\sync\semaphore.d src\core\sys\darwin\netinet\in_.d   src\core\sys\freebsd\dlfcn.d src\core\sys\freebsd\execinfo.d  src\core\sys\freebsd\netinet\in_.d src\core\sys\freebsd\sys\_bitset.d  src\core\sys\freebsd\sys\_cpuset.d src\core\sys\freebsd\sys\cdefs.d  src\core\sys\freebsd\sys\elf_common.d src\core\sys\freebsd\sys\elf.d  src\core\sys\freebsd\sys\elf32.d src\core\sys\freebsd\sys\elf64.d  src\core\sys\freebsd\sys\event.d src\core\sys\freebsd\sys\link_elf.d  src\core\sys\freebsd\sys\mman.d src\core\sys\freebsd\time.d   src\core\sys\dragonflybsd\dlfcn.d src\core\sys\dragonflybsd\execinfo.d src\core\sys\dragonflybsd\netinet\in_.d src\core\sys\dragonflybsd\sys\_bitset.d src\core\sys\dragonflybsd\sys\_cpuset.d src\core\sys\dragonflybsd\sys\cdefs.d src\core\sys\dragonflybsd\sys\elf_common.d src\core\sys\dragonflybsd\sys\elf.d src\core\sys\dragonflybsd\sys\elf32.d src\core\sys\dragonflybsd\sys\elf64.d src\core\sys\dragonflybsd\sys\event.d src\core\sys\dragonflybsd\sys\link_elf.d src\core\sys\dragonflybsd\sys\mman.d  src\core\sys\dragonflybsd\time.d src\core\sys\linux\netinet\in_.d  src\core\sys\linux\netinet\tcp.d src\core\sys\linux\stdio.d  src\core\sys\linux\tipc.d src\core\sys\linux\sys\inotify.d  src\core\sys\linux\sys\mman.d src\core\sys\linux\sys\signalfd.d  src\core\sys\linux\sys\socket.d src\core\sys\linux\sys\sysinfo.d  src\core\sys\linux\sys\time.d src\core\sys\linux\sys\xattr.d   src\core\sys\posix\dirent.d src\core\sys\posix\signal.d  src\core\sys\posix\netdb.d src\core\sys\posix\netinet\in_.d  src\core\sys\posix\arpa\inet.d src\core\sys\posix\sys\ioctl.d  src\core\sys\posix\sys\ipc.d src\core\sys\posix\sys\mman.d  src\core\sys\posix\sys\resource.d src\core\sys\posix\sys\select.d  src\core\sys\posix\sys\shm.d src\core\sys\posix\sys\socket.d  src\core\sys\posix\sys\stat.d src\core\sys\posix\sys\statvfs.d  src\core\sys\posix\sys\time.d src\core\sys\posix\sys\types.d  src\core\sys\posix\sys\uio.d src\core\sys\posix\sys\un.d  src\core\sys\posix\sys\utsname.d src\core\sys\posix\sys\wait.d   src\core\sys\solaris\sys\priocntl.d src\core\sys\solaris\sys\types.d  src\core\sys\solaris\sys\procset.d src\core\sys\windows\accctrl.d  src\core\sys\windows\aclapi.d src\core\sys\windows\aclui.d  src\core\sys\windows\basetsd.d src\core\sys\windows\basetyps.d  src\core\sys\windows\cderr.d src\core\sys\windows\cguid.d  src\core\sys\windows\com.d src\core\sys\windows\comcat.d  src\core\sys\windows\commctrl.d src\core\sys\windows\commdlg.d  src\core\sys\windows\core.d src\core\sys\windows\cpl.d  src\core\sys\windows\cplext.d src\core\sys\windows\custcntl.d  src\core\sys\windows\dbghelp.d src\core\sys\windows\dbghelp_types.d  src\core\sys\windows\dbt.d src\core\sys\windows\dde.d  src\core\sys\windows\ddeml.d src\core\sys\windows\dhcpcsdk.d  src\core\sys\windows\dlgs.d src\core\sys\windows\dll.d  src\core\sys\windows\docobj.d src\core\sys\windows\errorrep.d  src\core\sys\windows\exdisp.d src\core\sys\windows\exdispid.d  src\core\sys\windows\httpext.d src\core\sys\windows\idispids.d  src\core\sys\windows\imagehlp.d src\core\sys\windows\imm.d  src\core\sys\windows\intshcut.d src\core\sys\windows\ipexport.d  src\core\sys\windows\iphlpapi.d src\core\sys\windows\ipifcons.d  src\core\sys\windows\iprtrmib.d src\core\sys\windows\iptypes.d  src\core\sys\windows\isguids.d src\core\sys\windows\lm.d  src\core\sys\windows\lmaccess.d src\core\sys\windows\lmalert.d  src\core\sys\windows\lmapibuf.d src\core\sys\windows\lmat.d  src\core\sys\windows\lmaudit.d src\core\sys\windows\lmbrowsr.d  src\core\sys\windows\lmchdev.d src\core\sys\windows\lmconfig.d  src\core\sys\windows\lmcons.d src\core\sys\windows\lmerr.d  src\core\sys\windows\lmerrlog.d src\core\sys\windows\lmmsg.d  src\core\sys\windows\lmremutl.d src\core\sys\windows\lmrepl.d  src\core\sys\windows\lmserver.d src\core\sys\windows\lmshare.d  src\core\sys\windows\lmsname.d src\core\sys\windows\lmstats.d  src\core\sys\windows\lmsvc.d src\core\sys\windows\lmuse.d  src\core\sys\windows\lmuseflg.d src\core\sys\windows\lmwksta.d  src\core\sys\windows\lzexpand.d src\core\sys\windows\mapi.d  src\core\sys\windows\mciavi.d src\core\sys\windows\mcx.d  src\core\sys\windows\mgmtapi.d src\core\sys\windows\mmsystem.d  src\core\sys\windows\msacm.d src\core\sys\windows\mshtml.d  src\core\sys\windows\mswsock.d src\core\sys\windows\nb30.d  src\core\sys\windows\nddeapi.d src\core\sys\windows\nspapi.d  src\core\sys\windows\ntdef.d src\core\sys\windows\ntdll.d  src\core\sys\windows\ntldap.d src\core\sys\windows\ntsecapi.d  src\core\sys\windows\ntsecpkg.d src\core\sys\windows\oaidl.d  src\core\sys\windows\objbase.d src\core\sys\windows\objfwd.d  src\core\sys\windows\objidl.d src\core\sys\windows\objsafe.d  src\core\sys\windows\ocidl.d src\core\sys\windows\odbcinst.d  src\core\sys\windows\ole.d src\core\sys\windows\ole2.d  src\core\sys\windows\ole2ver.d src\core\sys\windows\oleacc.d  src\core\sys\windows\oleauto.d src\core\sys\windows\olectl.d  src\core\sys\windows\olectlid.d src\core\sys\windows\oledlg.d  src\core\sys\windows\oleidl.d src\core\sys\windows\pbt.d  src\core\sys\windows\powrprof.d src\core\sys\windows\prsht.d  src\core\sys\windows\psapi.d src\core\sys\windows\rapi.d  src\core\sys\windows\ras.d src\core\sys\windows\rasdlg.d  src\core\sys\windows\raserror.d src\core\sys\windows\rassapi.d  src\core\sys\windows\reason.d src\core\sys\windows\regstr.d  src\core\sys\windows\richedit.d src\core\sys\windows\richole.d  src\core\sys\windows\rpc.d src\core\sys\windows\rpcdce.d  src\core\sys\windows\rpcdce2.d src\core\sys\windows\rpcdcep.d  src\core\sys\windows\rpcndr.d src\core\sys\windows\rpcnsi.d  src\core\sys\windows\rpcnsip.d src\core\sys\windows\rpcnterr.d  src\core\sys\windows\schannel.d src\core\sys\windows\secext.d  src\core\sys\windows\security.d src\core\sys\windows\servprov.d  src\core\sys\windows\setupapi.d src\core\sys\windows\shellapi.d  src\core\sys\windows\shldisp.d src\core\sys\windows\shlguid.d  src\core\sys\windows\shlobj.d src\core\sys\windows\shlwapi.d  src\core\sys\windows\snmp.d src\core\sys\windows\sql.d  src\core\sys\windows\sqlext.d src\core\sys\windows\sqltypes.d  src\core\sys\windows\sqlucode.d src\core\sys\windows\sspi.d  src\core\sys\windows\stacktrace.d src\core\sys\windows\stat.d  src\core\sys\windows\subauth.d src\core\sys\windows\threadaux.d  src\core\sys\windows\tlhelp32.d src\core\sys\windows\tmschema.d  src\core\sys\windows\unknwn.d src\core\sys\windows\uuid.d  src\core\sys\windows\vfw.d src\core\sys\windows\w32api.d  src\core\sys\windows\winbase.d src\core\sys\windows\winber.d  src\core\sys\windows\wincon.d src\core\sys\windows\wincrypt.d  src\core\sys\windows\windef.d src\core\sys\windows\windows.d  src\core\sys\windows\winerror.d src\core\sys\windows\wingdi.d  src\core\sys\windows\winhttp.d src\core\sys\windows\wininet.d  src\core\sys\windows\winioctl.d src\core\sys\windows\winldap.d  src\core\sys\windows\winnetwk.d src\core\sys\windows\winnls.d  src\core\sys\windows\winnt.d src\core\sys\windows\winperf.d  src\core\sys\windows\winreg.d src\core\sys\windows\winsock2.d  src\core\sys\windows\winspool.d src\core\sys\windows\winsvc.d  src\core\sys\windows\winuser.d src\core\sys\windows\winver.d  src\core\sys\windows\wtsapi32.d src\core\sys\windows\wtypes.d   src\gc\bits.d  src\gc\config.d src\gc\gcinterface.d  src\gc\os.d  src\gc\pooltable.d  src\gc\proxy.d src\gc\impl\conservative\gc.d  src\gc\impl\manual\gc.d src\gc\impl\proto\gc.d   src\rt\aApply.d  src\rt\aApplyR.d  src\rt\aaA.d  src\rt\adi.d  src\rt\alloca.d  src\rt\arrayassign.d src\rt\arraycast.d  src\rt\arraycat.d  src\rt\cast_.d  src\rt\cmath2.d src\rt\config.d  src\rt\cover.d  src\rt\critical_.d  src\rt\deh.d src\rt\deh_win32.d  src\rt\deh_win64_posix.d  src\rt\dmain2.d src\rt\dwarfeh.d  src\rt\ehalloc.d  src\rt\invariant.d src\rt\lifetime.d  src\rt\llmath.d  src\rt\memory.d  src\rt\memset.d src\rt\minfo.d  src\rt\monitor_.d  src\rt\obj.d  src\rt\profilegc.d src\rt\qsort.d  src\rt\sections.d  src\rt\sections_android.d src\rt\sections_elf_shared.d  src\rt\sections_osx_x86.d src\rt\sections_osx_x86_64.d  src\rt\sections_solaris.d src\rt\sections_win32.d  src\rt\sections_win64.d  src\rt\tlsgc.d src\rt\trace.d  src\rt\tracegc.d  src\rt\unwind.d src\rt\backtrace\dwarf.d  src\rt\backtrace\elf.d src\rt\backtrace\macho.d   src\rt\util\array.d  src\rt\util\hash.d src\rt\util\random.d  src\rt\util\typeinfo.d  src\rt\util\utf.d src\rt\util\container\array.d  src\rt\util\container\common.d src\rt\util\container\hashtab.d  src\rt\util\container\treap.d src\rt\typeinfo\ti_Acdouble.d  src\rt\typeinfo\ti_Acfloat.d src\rt\typeinfo\ti_Acreal.d  src\rt\typeinfo\ti_Adouble.d src\rt\typeinfo\ti_Afloat.d  src\rt\typeinfo\ti_Ag.d src\rt\typeinfo\ti_Aint.d  src\rt\typeinfo\ti_Along.d src\rt\typeinfo\ti_Areal.d  src\rt\typeinfo\ti_Ashort.d src\rt\typeinfo\ti_byte.d  src\rt\typeinfo\ti_C.d src\rt\typeinfo\ti_cdouble.d  src\rt\typeinfo\ti_cent.d src\rt\typeinfo\ti_cfloat.d  src\rt\typeinfo\ti_char.d src\rt\typeinfo\ti_creal.d  src\rt\typeinfo\ti_dchar.d src\rt\typeinfo\ti_delegate.d  src\rt\typeinfo\ti_double.d src\rt\typeinfo\ti_float.d  src\rt\typeinfo\ti_idouble.d src\rt\typeinfo\ti_ifloat.d  src\rt\typeinfo\ti_int.d src\rt\typeinfo\ti_ireal.d  src\rt\typeinfo\ti_long.d src\rt\typeinfo\ti_n.d  src\rt\typeinfo\ti_ptr.d src\rt\typeinfo\ti_real.d  src\rt\typeinfo\ti_short.d src\rt\typeinfo\ti_ubyte.d  src\rt\typeinfo\ti_ucent.d src\rt\typeinfo\ti_uint.d  src\rt\typeinfo\ti_ulong.d src\rt\typeinfo\ti_ushort.d  src\rt\typeinfo\ti_void.d src\rt\typeinfo\ti_wchar.d   src\etc\linux\memoryerror.d errno_c_32.obj src\rt\minit.obj
src\core\sys\windows\odbcinst.d(157): Deprecation: function `core.sys.windows.odbcinst.SQLInstallTranslatorW` is deprecated - Use SQLInstallTranslatorExW instead
src\core\sys\windows\odbcinst.d(157): Deprecation: function `core.sys.windows.odbcinst.SQLInstallTranslatorW` is deprecated - Use SQLInstallTranslatorExW instead
---
ERROR: This is a compiler bug.
Please report it via https://issues.dlang.org/enter_bug.cgi
with, preferably, a reduced, reproducible example and the information below.
DustMite (https://github.com/CyberShadow/DustMite/wiki) can help with the reduction.
---
DMD v2.080.0

predefs   DigitalMars Windows LittleEndian D_Version2 all D_InlineAsm D_InlineAsm_X86 X86 Win32 CRuntime_DigitalMars D_HardFloatbinary C:\DProj\digger\work\build\bin\dmd.exe
version   v2.080.0

config
DFLAGS    (none)
---
Internal error: dmd\backend\cod3.c 6830

--- errorlevel 1
digger: Not caching druntime dependency build failure.
digger: Clearing temporary cache

object.Exception@C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\sys\d\manager.d(850): Command ["make", "-f", "win32.mak", "DMD=C:\\DProj\\digger\\work\\build\\bin\\dmd.exe", "MODEL=32"] failed with status 1
----------------
0x0040AEF7 in pure @safe void std.exception.bailOut!(Exception).bailOut(immutable(char)[], uint, const(char[])) at C:\D\dmd2\windows\bin\..\..\src\phobos\std\exception.d(526)
0x0040AE9E in pure @safe bool std.exception.enforce!().enforce!(bool).enforce(bool, lazy const(char)[], immutable(char)[], uint) at C:\D\dmd2\windows\bin\..\..\src\phobos\std\exception.d(437)
0x004E6641 in void ae.sys.d.manager.DManager.Component.run(const(immutable(char)[])[], const(immutable(char)[][immutable(char)[]]), immutable(char)[])
0x004E914C in void ae.sys.d.manager.DManager.Druntime.performBuild() at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\sys\d\manager.d(1343)
0x004E4F81 in void ae.sys.d.manager.DManager.Component.needBuild() at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\sys\d\manager.d(516)
0x004E54C2 in void ae.sys.d.manager.DManager.Component.needInstalled() at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\sys\d\manager.d(666)
0x004ECAE2 in void ae.sys.d.manager.DManager.build(ae.sys.d.manager.DManager.SubmoduleState, bool) at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\sys\d\manager.d(2094)
0x004AE7CD in void custom.runBuild(immutable(char)[], ae.sys.d.manager.DManager.SubmoduleState) at C:\Users\dlang.user\AppData\Local\dub\packages\digger-3.0.0-alpha-7\digger\custom.d(57)
0x004AFD20 in void custom.buildCustom(immutable(char)[]) at C:\Users\dlang.user\AppData\Local\dub\packages\digger-3.0.0-alpha-7\digger\custom.d(271)
0x004B0020 in _D6digger6Digger5buildFS2ae5utils6funopt__T10OptionImplVEQBhQBhQBe10OptionTypei0TbVAyaa12_686964DE52318C4D543263EB4945A7EE370BC1 at C:\Users\dlang.user\AppData\Local\dub\packages\digger-3.0.0-alpha-7\digger\digger.d(69)
0x005298E6 in _D2ae5utils6funopt__TQkS_D6digger6Digger5buildFSQBuQBuQBr__T10OptionImplVEQCuQCuQCr10OptionTypeiE1CE98D83FDBAF71356FA2F08DBB1929 at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\utils\funopt.d(304)
0x00528874 in int ae.utils.funopt.funoptDispatch!(digger.Digger, ae.utils.funopt.FunOptConfig(null), digger.digger().usageFun(immutable(char)[])).funoptDispatch(immutable(char)[][]).fun(immutable(char)[], immutable(char)[][]) at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\utils\funopt.d(585)
0x00539E4C in _D2ae5utils6funopt__TQkS_DQyQxQt__T14funoptDispatchTS6digger6DiggerVSQCpQCpQCm12FunOptConfigS1nS51AF7AA587E767457D346232F97407B4 at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\utils\funopt.d(304)
0x00528740 in int ae.utils.funopt.funoptDispatch!(digger.Digger, ae.utils.funopt.FunOptConfig(null), digger.digger().usageFun(immutable(char)[])).funoptDispatch(immutable(char)[][]) at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\utils\funopt.d(599)
0x004B0622 in int digger.digger() at C:\Users\dlang.user\AppData\Local\dub\packages\digger-3.0.0-alpha-7\digger\digger.d(249)
0x004B0A40 in int digger.__mixin21.run(immutable(char)[][]) at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\utils\main.d(40)
0x004B0A52 in _Dmain at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\utils\main.d(69)
0x005AC003 in void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll().__lambda1()
0x005ABF85 in void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll()
0x005ABE20 in _d_run_main
0x004B12AC in main at C:\Users\dlang.user\AppData\Local\dub\packages\digger-3.0.0-alpha-7\digger\bisect.d(7)
0x0060D101 in mainCRTStartup
0x778F8654 in BaseThreadInitThunk
0x77B94A77 in RtlGetAppContainerNamedObjectPath
0x77B94A47 in RtlGetAppContainerNamedObjectPath






In the case of running this command:

digger -c build.components.dmd.dmdModel=64 build v2.080.0 --model=64


I see this:

C:\DProj\digger\work\build\bin\dmd.exe -lib -oflib\druntime64.lib -Xfdruntime.json -m64 -conf= -O -release -dip1000 -inline -w -Isrc -Iimport src\object.d   src\core\atomic.d  src\core\attribute.d src\core\bitop.d  src\core\checkedint.d  src\core\cpuid.d src\core\demangle.d  src\core\exception.d  src\core\math.d src\core\memory.d  src\core\runtime.d  src\core\simd.d src\core\thread.d  src\core\time.d  src\core\vararg.d src\core\internal\abort.d  src\core\internal\arrayop.d src\core\internal\convert.d  src\core\internal\hash.d src\core\internal\parseoptions.d  src\core\internal\spinlock.d src\core\internal\string.d  src\core\internal\traits.d src\core\stdc\assert_.d  src\core\stdc\complex.d  src\core\stdc\config.d  src\core\stdc\ctype.d  src\core\stdc\errno.d  src\core\stdc\fenv.d src\core\stdc\float_.d  src\core\stdc\inttypes.d  src\core\stdc\limits.d  src\core\stdc\locale.d  src\core\stdc\math.d  src\core\stdc\signal.d src\core\stdc\stdarg.d  src\core\stdc\stddef.d  src\core\stdc\stdint.d src\core\stdc\stdio.d  src\core\stdc\stdlib.d  src\core\stdc\string.d src\core\stdc\time.d  src\core\stdc\wchar_.d   src\core\sync\barrier.d src\core\sync\condition.d  src\core\sync\config.d src\core\sync\exception.d  src\core\sync\mutex.d src\core\sync\rwmutex.d  src\core\sync\semaphore.d src\core\sys\darwin\netinet\in_.d   src\core\sys\freebsd\dlfcn.d src\core\sys\freebsd\execinfo.d  src\core\sys\freebsd\netinet\in_.d src\core\sys\freebsd\sys\_bitset.d  src\core\sys\freebsd\sys\_cpuset.d src\core\sys\freebsd\sys\cdefs.d  src\core\sys\freebsd\sys\elf_common.d src\core\sys\freebsd\sys\elf.d  src\core\sys\freebsd\sys\elf32.d src\core\sys\freebsd\sys\elf64.d  src\core\sys\freebsd\sys\event.d src\core\sys\freebsd\sys\link_elf.d  src\core\sys\freebsd\sys\mman.d src\core\sys\freebsd\time.d   src\core\sys\dragonflybsd\dlfcn.d src\core\sys\dragonflybsd\execinfo.d src\core\sys\dragonflybsd\netinet\in_.d src\core\sys\dragonflybsd\sys\_bitset.d src\core\sys\dragonflybsd\sys\_cpuset.d src\core\sys\dragonflybsd\sys\cdefs.d src\core\sys\dragonflybsd\sys\elf_common.d src\core\sys\dragonflybsd\sys\elf.d src\core\sys\dragonflybsd\sys\elf32.d src\core\sys\dragonflybsd\sys\elf64.d src\core\sys\dragonflybsd\sys\event.d src\core\sys\dragonflybsd\sys\link_elf.d src\core\sys\dragonflybsd\sys\mman.d  src\core\sys\dragonflybsd\time.d src\core\sys\linux\netinet\in_.d  src\core\sys\linux\netinet\tcp.d src\core\sys\linux\stdio.d  src\core\sys\linux\tipc.d src\core\sys\linux\sys\inotify.d  src\core\sys\linux\sys\mman.d src\core\sys\linux\sys\signalfd.d  src\core\sys\linux\sys\socket.d src\core\sys\linux\sys\sysinfo.d  src\core\sys\linux\sys\time.d src\core\sys\linux\sys\xattr.d   src\core\sys\posix\dirent.d src\core\sys\posix\signal.d  src\core\sys\posix\netdb.d src\core\sys\posix\netinet\in_.d  src\core\sys\posix\arpa\inet.d src\core\sys\posix\sys\ioctl.d  src\core\sys\posix\sys\ipc.d src\core\sys\posix\sys\mman.d  src\core\sys\posix\sys\resource.d src\core\sys\posix\sys\select.d  src\core\sys\posix\sys\shm.d src\core\sys\posix\sys\socket.d  src\core\sys\posix\sys\stat.d src\core\sys\posix\sys\statvfs.d  src\core\sys\posix\sys\time.d src\core\sys\posix\sys\types.d  src\core\sys\posix\sys\uio.d src\core\sys\posix\sys\un.d  src\core\sys\posix\sys\utsname.d src\core\sys\posix\sys\wait.d   src\core\sys\solaris\sys\priocntl.d src\core\sys\solaris\sys\types.d  src\core\sys\solaris\sys\procset.d src\core\sys\windows\accctrl.d  src\core\sys\windows\aclapi.d src\core\sys\windows\aclui.d  src\core\sys\windows\basetsd.d src\core\sys\windows\basetyps.d  src\core\sys\windows\cderr.d src\core\sys\windows\cguid.d  src\core\sys\windows\com.d src\core\sys\windows\comcat.d  src\core\sys\windows\commctrl.d src\core\sys\windows\commdlg.d  src\core\sys\windows\core.d src\core\sys\windows\cpl.d  src\core\sys\windows\cplext.d src\core\sys\windows\custcntl.d  src\core\sys\windows\dbghelp.d src\core\sys\windows\dbghelp_types.d  src\core\sys\windows\dbt.d src\core\sys\windows\dde.d  src\core\sys\windows\ddeml.d src\core\sys\windows\dhcpcsdk.d  src\core\sys\windows\dlgs.d src\core\sys\windows\dll.d  src\core\sys\windows\docobj.d src\core\sys\windows\errorrep.d  src\core\sys\windows\exdisp.d src\core\sys\windows\exdispid.d  src\core\sys\windows\httpext.d src\core\sys\windows\idispids.d  src\core\sys\windows\imagehlp.d src\core\sys\windows\imm.d  src\core\sys\windows\intshcut.d src\core\sys\windows\ipexport.d  src\core\sys\windows\iphlpapi.d src\core\sys\windows\ipifcons.d  src\core\sys\windows\iprtrmib.d src\core\sys\windows\iptypes.d  src\core\sys\windows\isguids.d src\core\sys\windows\lm.d  src\core\sys\windows\lmaccess.d src\core\sys\windows\lmalert.d  src\core\sys\windows\lmapibuf.d src\core\sys\windows\lmat.d  src\core\sys\windows\lmaudit.d src\core\sys\windows\lmbrowsr.d  src\core\sys\windows\lmchdev.d src\core\sys\windows\lmconfig.d  src\core\sys\windows\lmcons.d src\core\sys\windows\lmerr.d  src\core\sys\windows\lmerrlog.d src\core\sys\windows\lmmsg.d  src\core\sys\windows\lmremutl.d src\core\sys\windows\lmrepl.d  src\core\sys\windows\lmserver.d src\core\sys\windows\lmshare.d  src\core\sys\windows\lmsname.d src\core\sys\windows\lmstats.d  src\core\sys\windows\lmsvc.d src\core\sys\windows\lmuse.d  src\core\sys\windows\lmuseflg.d src\core\sys\windows\lmwksta.d  src\core\sys\windows\lzexpand.d src\core\sys\windows\mapi.d  src\core\sys\windows\mciavi.d src\core\sys\windows\mcx.d  src\core\sys\windows\mgmtapi.d src\core\sys\windows\mmsystem.d  src\core\sys\windows\msacm.d src\core\sys\windows\mshtml.d  src\core\sys\windows\mswsock.d src\core\sys\windows\nb30.d  src\core\sys\windows\nddeapi.d src\core\sys\windows\nspapi.d  src\core\sys\windows\ntdef.d src\core\sys\windows\ntdll.d  src\core\sys\windows\ntldap.d src\core\sys\windows\ntsecapi.d  src\core\sys\windows\ntsecpkg.d src\core\sys\windows\oaidl.d  src\core\sys\windows\objbase.d src\core\sys\windows\objfwd.d  src\core\sys\windows\objidl.d src\core\sys\windows\objsafe.d  src\core\sys\windows\ocidl.d src\core\sys\windows\odbcinst.d  src\core\sys\windows\ole.d src\core\sys\windows\ole2.d  src\core\sys\windows\ole2ver.d src\core\sys\windows\oleacc.d  src\core\sys\windows\oleauto.d src\core\sys\windows\olectl.d  src\core\sys\windows\olectlid.d src\core\sys\windows\oledlg.d  src\core\sys\windows\oleidl.d src\core\sys\windows\pbt.d  src\core\sys\windows\powrprof.d src\core\sys\windows\prsht.d  src\core\sys\windows\psapi.d src\core\sys\windows\rapi.d  src\core\sys\windows\ras.d src\core\sys\windows\rasdlg.d  src\core\sys\windows\raserror.d src\core\sys\windows\rassapi.d  src\core\sys\windows\reason.d src\core\sys\windows\regstr.d  src\core\sys\windows\richedit.d src\core\sys\windows\richole.d  src\core\sys\windows\rpc.d src\core\sys\windows\rpcdce.d  src\core\sys\windows\rpcdce2.d src\core\sys\windows\rpcdcep.d  src\core\sys\windows\rpcndr.d src\core\sys\windows\rpcnsi.d  src\core\sys\windows\rpcnsip.d src\core\sys\windows\rpcnterr.d  src\core\sys\windows\schannel.d src\core\sys\windows\secext.d  src\core\sys\windows\security.d src\core\sys\windows\servprov.d  src\core\sys\windows\setupapi.d src\core\sys\windows\shellapi.d  src\core\sys\windows\shldisp.d src\core\sys\windows\shlguid.d  src\core\sys\windows\shlobj.d src\core\sys\windows\shlwapi.d  src\core\sys\windows\snmp.d src\core\sys\windows\sql.d  src\core\sys\windows\sqlext.d src\core\sys\windows\sqltypes.d  src\core\sys\windows\sqlucode.d src\core\sys\windows\sspi.d  src\core\sys\windows\stacktrace.d src\core\sys\windows\stat.d  src\core\sys\windows\subauth.d src\core\sys\windows\threadaux.d  src\core\sys\windows\tlhelp32.d src\core\sys\windows\tmschema.d  src\core\sys\windows\unknwn.d src\core\sys\windows\uuid.d  src\core\sys\windows\vfw.d src\core\sys\windows\w32api.d  src\core\sys\windows\winbase.d src\core\sys\windows\winber.d  src\core\sys\windows\wincon.d src\core\sys\windows\wincrypt.d  src\core\sys\windows\windef.d src\core\sys\windows\windows.d  src\core\sys\windows\winerror.d src\core\sys\windows\wingdi.d  src\core\sys\windows\winhttp.d src\core\sys\windows\wininet.d  src\core\sys\windows\winioctl.d src\core\sys\windows\winldap.d  src\core\sys\windows\winnetwk.d src\core\sys\windows\winnls.d  src\core\sys\windows\winnt.d src\core\sys\windows\winperf.d  src\core\sys\windows\winreg.d src\core\sys\windows\winsock2.d  src\core\sys\windows\winspool.d src\core\sys\windows\winsvc.d  src\core\sys\windows\winuser.d src\core\sys\windows\winver.d  src\core\sys\windows\wtsapi32.d src\core\sys\windows\wtypes.d   src\gc\bits.d  src\gc\config.d src\gc\gcinterface.d  src\gc\os.d  src\gc\pooltable.d  src\gc\proxy.d src\gc\impl\conservative\gc.d  src\gc\impl\manual\gc.d src\gc\impl\proto\gc.d   src\rt\aApply.d  src\rt\aApplyR.d  src\rt\aaA.d  src\rt\adi.d  src\rt\alloca.d  src\rt\arrayassign.d src\rt\arraycast.d  src\rt\arraycat.d  src\rt\cast_.d  src\rt\cmath2.d src\rt\config.d  src\rt\cover.d  src\rt\critical_.d  src\rt\deh.d src\rt\deh_win32.d  src\rt\deh_win64_posix.d  src\rt\dmain2.d src\rt\dwarfeh.d  src\rt\ehalloc.d  src\rt\invariant.d src\rt\lifetime.d  src\rt\llmath.d  src\rt\memory.d  src\rt\memset.d src\rt\minfo.d  src\rt\monitor_.d  src\rt\obj.d  src\rt\profilegc.d src\rt\qsort.d  src\rt\sections.d  src\rt\sections_android.d src\rt\sections_elf_shared.d  src\rt\sections_osx_x86.d src\rt\sections_osx_x86_64.d  src\rt\sections_solaris.d src\rt\sections_win32.d  src\rt\sections_win64.d  src\rt\tlsgc.d src\rt\trace.d  src\rt\tracegc.d  src\rt\unwind.d src\rt\backtrace\dwarf.d  src\rt\backtrace\elf.d   src\rt\util\array.d src\rt\util\hash.d  src\rt\util\random.d  src\rt\util\typeinfo.d src\rt\util\utf.d  src\rt\util\container\array.d src\rt\util\container\common.d  src\rt\util\container\hashtab.d src\rt\util\container\treap.d   src\rt\typeinfo\ti_Acdouble.d src\rt\typeinfo\ti_Acfloat.d  src\rt\typeinfo\ti_Acreal.d src\rt\typeinfo\ti_Adouble.d  src\rt\typeinfo\ti_Afloat.d src\rt\typeinfo\ti_Ag.d  src\rt\typeinfo\ti_Aint.d src\rt\typeinfo\ti_Along.d  src\rt\typeinfo\ti_Areal.d src\rt\typeinfo\ti_Ashort.d  src\rt\typeinfo\ti_byte.d src\rt\typeinfo\ti_C.d  src\rt\typeinfo\ti_cdouble.d src\rt\typeinfo\ti_cent.d  src\rt\typeinfo\ti_cfloat.d src\rt\typeinfo\ti_char.d  src\rt\typeinfo\ti_creal.d src\rt\typeinfo\ti_dchar.d  src\rt\typeinfo\ti_delegate.d src\rt\typeinfo\ti_double.d  src\rt\typeinfo\ti_float.d src\rt\typeinfo\ti_idouble.d  src\rt\typeinfo\ti_ifloat.d src\rt\typeinfo\ti_int.d  src\rt\typeinfo\ti_ireal.d src\rt\typeinfo\ti_long.d  src\rt\typeinfo\ti_n.d src\rt\typeinfo\ti_ptr.d  src\rt\typeinfo\ti_real.d src\rt\typeinfo\ti_short.d  src\rt\typeinfo\ti_ubyte.d src\rt\typeinfo\ti_ucent.d  src\rt\typeinfo\ti_uint.d src\rt\typeinfo\ti_ulong.d  src\rt\typeinfo\ti_ushort.d src\rt\typeinfo\ti_void.d  src\rt\typeinfo\ti_wchar.d src\etc\linux\memoryerror.d errno_c_64.obj msvc_64.obj msvc_math_64.obj
src\core\simd.d(53): Deprecation: 32 byte vector types are only supported with -mcpu=avx
src\core\simd.d(54): Deprecation: 32 byte vector types are only supported with -mcpu=avx
src\core\simd.d(55): Deprecation: 32 byte vector types are only supported with -mcpu=avx
src\core\simd.d(56): Deprecation: 32 byte vector types are only supported with -mcpu=avx
src\core\simd.d(57): Deprecation: 32 byte vector types are only supported with -mcpu=avx
src\core\simd.d(58): Deprecation: 32 byte vector types are only supported with -mcpu=avx
src\core\simd.d(59): Deprecation: 32 byte vector types are only supported with -mcpu=avx
src\core\simd.d(60): Deprecation: 32 byte vector types are only supported with -mcpu=avx
src\core\simd.d(61): Deprecation: 32 byte vector types are only supported with -mcpu=avx
src\core\simd.d(62): Deprecation: 32 byte vector types are only supported with -mcpu=avx
src\core\simd.d(63): Deprecation: 32 byte vector types are only supported with -mcpu=avx
src\core\sys\windows\odbcinst.d(157): Deprecation: function `core.sys.windows.odbcinst.SQLInstallTranslatorW` is deprecated - Use SQLInstallTranslatorExW instead
src\core\sys\windows\odbcinst.d(157): Deprecation: function `core.sys.windows.odbcinst.SQLInstallTranslatorW` is deprecated - Use SQLInstallTranslatorExW instead
Internal error: dmd\backend\cod3.c 6830

--- errorlevel 1
digger: Not caching druntime dependency build failure.
digger: Clearing temporary cache

object.Exception@C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\sys\d\manager.d(850): Command ["make", "-f", "win64.mak", "DMD=C:\\DProj\\digger\\work\\build\\bin\\dmd.exe", "MODEL=64", "VCDIR=C:\\DProj\\digger\\work\\dl\\vs2013-community\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC", "SDKDIR=C:\\DProj\\digger\\work\\dl\\vs2013-community\\Program Files\\Microsoft SDKs\\Windows\\v7.1A", "CC=\"C:\\DProj\\digger\\work\\dl\\vs2013-community\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\bin\\x86_amd64\\cl.exe\"", "LD=\"C:\\DProj\\digger\\work\\dl\\vs2013-community\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\bin\\x86_amd64\\link.exe\"", "AR=\"C:\\DProj\\digger\\work\\dl\\vs2013-community\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\bin\\x86_amd64\\lib.exe\""] failed with status 1
----------------
0x0040AEF7 in pure @safe void std.exception.bailOut!(Exception).bailOut(immutable(char)[], uint, const(char[])) at C:\D\dmd2\windows\bin\..\..\src\phobos\std\exception.d(526)
0x0040AE9E in pure @safe bool std.exception.enforce!().enforce!(bool).enforce(bool, lazy const(char)[], immutable(char)[], uint) at C:\D\dmd2\windows\bin\..\..\src\phobos\std\exception.d(437)
0x004E6641 in void ae.sys.d.manager.DManager.Component.run(const(immutable(char)[])[], const(immutable(char)[][immutable(char)[]]), immutable(char)[])
0x004E914C in void ae.sys.d.manager.DManager.Druntime.performBuild() at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\sys\d\manager.d(1343)
0x004E4F81 in void ae.sys.d.manager.DManager.Component.needBuild() at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\sys\d\manager.d(516)
0x004E54C2 in void ae.sys.d.manager.DManager.Component.needInstalled() at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\sys\d\manager.d(666)
0x004ECAE2 in void ae.sys.d.manager.DManager.build(ae.sys.d.manager.DManager.SubmoduleState, bool) at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\sys\d\manager.d(2094)
0x004AE7CD in void custom.runBuild(immutable(char)[], ae.sys.d.manager.DManager.SubmoduleState) at C:\Users\dlang.user\AppData\Local\dub\packages\digger-3.0.0-alpha-7\digger\custom.d(57)
0x004AFD20 in void custom.buildCustom(immutable(char)[]) at C:\Users\dlang.user\AppData\Local\dub\packages\digger-3.0.0-alpha-7\digger\custom.d(271)
0x004B0020 in _D6digger6Digger5buildFS2ae5utils6funopt__T10OptionImplVEQBhQBhQBe10OptionTypei0TbVAyaa12_686964DE52318C4D543263EB4945A7EE370BC1 at C:\Users\dlang.user\AppData\Local\dub\packages\digger-3.0.0-alpha-7\digger\digger.d(69)
0x005298E6 in _D2ae5utils6funopt__TQkS_D6digger6Digger5buildFSQBuQBuQBr__T10OptionImplVEQCuQCuQCr10OptionTypeiE1CE98D83FDBAF71356FA2F08DBB1929 at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\utils\funopt.d(304)
0x00528874 in int ae.utils.funopt.funoptDispatch!(digger.Digger, ae.utils.funopt.FunOptConfig(null), digger.digger().usageFun(immutable(char)[])).funoptDispatch(immutable(char)[][]).fun(immutable(char)[], immutable(char)[][]) at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\utils\funopt.d(585)
0x00539E4C in _D2ae5utils6funopt__TQkS_DQyQxQt__T14funoptDispatchTS6digger6DiggerVSQCpQCpQCm12FunOptConfigS1nS51AF7AA587E767457D346232F97407B4 at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\utils\funopt.d(304)
0x00528740 in int ae.utils.funopt.funoptDispatch!(digger.Digger, ae.utils.funopt.FunOptConfig(null), digger.digger().usageFun(immutable(char)[])).funoptDispatch(immutable(char)[][]) at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\utils\funopt.d(599)
0x004B0622 in int digger.digger() at C:\Users\dlang.user\AppData\Local\dub\packages\digger-3.0.0-alpha-7\digger\digger.d(249)
0x004B0A40 in int digger.__mixin21.run(immutable(char)[][]) at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\utils\main.d(40)
0x004B0A52 in _Dmain at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\utils\main.d(69)
0x005AC003 in void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll().__lambda1()
0x005ABF85 in void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll()
0x005ABE20 in _d_run_main
0x004B12AC in main at C:\Users\dlang.user\AppData\Local\dub\packages\digger-3.0.0-alpha-7\digger\bisect.d(7)
0x0060D101 in mainCRTStartup
0x778F8654 in BaseThreadInitThunk
0x77B94A77 in RtlGetAppContainerNamedObjectPath
0x77B94A47 in RtlGetAppContainerNamedObjectPath
May 23, 2018
On Wednesday, 23 May 2018 at 17:35:28 UTC, Dlang User wrote:
> I too am looking for 64-bit on Windows 10.  Not just DMD but ideally everything.
>
> When I try the command exactly as above, or a slightly modified version (on a second run show after this run), I hit an error on my machine:
>
> Internal error: dmd\backend\cod3.c 6830

Hmm, that looks like a DMD bug/regression. I think that should have been caught by the auto-tester. In any case, try adding --model=64 to your command to also build a 64-bit Phobos, as that seems to be what you're after anyway. You could also try specifying a different (newer?) host DMD version with e.g. `-c build.components.dmd.bootstrap.ver=v2.075.0`.

May 23, 2018
On 5/23/2018 12:42 PM, Vladimir Panteleev wrote:
> On Wednesday, 23 May 2018 at 17:35:28 UTC, Dlang User wrote:
>> I too am looking for 64-bit on Windows 10.  Not just DMD but ideally everything.
>>
>> When I try the command exactly as above, or a slightly modified version (on a second run show after this run), I hit an error on my machine:
>>
>> Internal error: dmd\backend\cod3.c 6830
> 
> Hmm, that looks like a DMD bug/regression. I think that should have been caught by the auto-tester. In any case, try adding --model=64 to your command to also build a 64-bit Phobos, as that seems to be what you're after anyway. You could also try specifying a different (newer?) host DMD version with e.g. `-c build.components.dmd.bootstrap.ver=v2.075.0`.
> 

Thanks for looking at this, I actually did try adding --model=64, in the second run that I was referring to in my original post, but that resulted in the same error.

Some additional things I realized when trying to use digger on my machine:

Digger is only failing when trying to use the build.components.dmd.dmdModel=64 switch, so when trying to build 64 bit DMD.

digger -c build.components.dmd.dmdModel=64 build --model=64 v2.080.0

The first time the error is this (so this is probably the real error):

FLunde  Internal error: dmd\backend\cod3.c 5488

The second time, the error is (this is probably due to the previous failed run):

Internal error: dmd\backend\cod3.c 6830


I tried adding bootstrap option for 32 bit, and that worked fine:

digger -c build.components.dmd.dmdModel=32 -c build.components.dmd.bootstrap.ver=v2.075.0 build --model=32 v2.080.0

I tried adding bootstrap option for 64 bit:

digger -c build.components.dmd.dmdModel=64 -c build.components.dmd.bootstrap.ver=v2.075.0 build --model=64 v2.080.0

Which didn't work (totally different error):

C:\DProj\digger\work\dl\dmd-2.075.0\dmd2/windows/bin\dmd.exe -of..\generated\windows\release\64\dmd.exe -vtls -J..\generated\windows\release\64 -J../res -L/STACK:8388608 -O -release -inline -m64  -wi -version=MARS -L/delexe/la dmd/access.d dmd/aggregate.d dmd/aliasthis.d dmd/apply.d dmd/argtypes.d dmd/arrayop.d     dmd/arraytypes.d dmd/astcodegen.d dmd/attrib.d dmd/builtin.d dmd/canthrow.d dmd/cli.d dmd/clone.d dmd/compiler.d dmd/complex.d dmd/cond.d dmd/constfold.d dmd/cppmangle.d dmd/cppmanglewin.d dmd/ctfeexpr.d dmd/ctorflow.d dmd/dcast.d dmd/dclass.d dmd/declaration.d dmd/delegatize.d dmd/denum.d dmd/dimport.d dmd/dinifile.d dmd/dinterpret.d    dmd/dmacro.d dmd/dmangle.d dmd/dmodule.d dmd/doc.d dmd/dscope.d dmd/dstruct.d dmd/dsymbol.d dmd/dsymbolsem.d                 dmd/lambdacomp.d dmd/dtemplate.d dmd/dversion.d dmd/escape.d                    dmd/expression.d dmd/expressionsem.d dmd/func.d dmd/hdrgen.d dmd/id.d dmd/imphint.d dmd/impcnvtab.d dmd/init.d dmd/initsem.d dmd/inline.d dmd/inlinecost.d dmd/intrange.d dmd/json.d dmd/lib.d dmd/link.d   dmd/mars.d dmd/mtype.d dmd/nogc.d dmd/nspace.d dmd/objc.d dmd/opover.d dmd/optimize.d dmd/parse.d    dmd/sapply.d dmd/sideeffect.d dmd/statement.d dmd/staticassert.d dmd/target.d   dmd/safe.d dmd/blockexit.d dmd/permissivevisitor.d dmd/transitivevisitor.d dmd/parsetimevisitor.d dmd/printast.d dmd/typesem.d  dmd/traits.d dmd/utils.d dmd/visitor.d dmd/libomf.d dmd/scanomf.d dmd/templateparamsem.d dmd/typinf.d dmd/libmscoff.d dmd/scanmscoff.d dmd/statement_rewrite_walker.d dmd/statementsem.d dmd/staticcond.d  dmd/semantic2.d dmd/semantic3.d dmd/irstate.d dmd/toctype.d dmd/glue.d dmd/gluelayer.d dmd/todt.d dmd/tocsym.d dmd/toir.d dmd/dmsc.d  dmd/tocvdebug.d dmd/s2ir.d dmd/toobj.d dmd/e2ir.d dmd/objc_glue.d dmd/eh.d dmd/iasm.d dmd\backend/bcomplex.d dmd\backend/cc.d dmd\backend/cdef.d dmd\backend/cgcv.d dmd\backend/code.d dmd\backend/cv4.d dmd\backend/dt.d dmd\backend/el.d dmd\backend/global.d  dmd\backend/obj.d dmd\backend/oper.d dmd\backend/outbuf.d dmd\backend/rtlsym.d dmd\backend/code_x86.d dmd\backend/iasm.d  dmd\backend/ty.d dmd\backend/type.d dmd\backend/exh.d dmd\backend/mach.d dmd\backend/md5.d dmd\backend/mscoff.d dmd\backend/dwarf.d dmd\backend/dwarf2.d dmd\backend/xmm.d dmd\tk/dlist.d dmd\root/aav.d dmd\root/array.d dmd\root/ctfloat.d dmd\root/file.d  dmd\root/filename.d dmd\root/man.d dmd\root/outbuffer.d dmd\root/port.d  dmd\root/response.d dmd\root/rmem.d dmd\root/rootobject.d  dmd\root/speller.d dmd\root/stringtable.d dmd\root/hash.d ..\generated\windows\release\64\newdelete.obj ..\generated\windows\release\64\backend.lib ..\generated\windows\release\64\lexer.lib

object.Error@(0): Access Violation
----------------
0x004CF5B7
0x004987C7
0x77B716B7 in RtlAllocateHeap
0x00441CCD
0x0064DE30
0x0044E40A
0x00405B42

--- errorlevel 1

--- errorlevel 1

--- errorlevel 1
digger: Saving to cache.
digger: Clearing temporary cache

object.Exception@C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\sys\d\manager.d(850): Command ["make", "-f", "win64.mak", "MODEL=64", "HOST_DC=C:\\DProj\\digger\\work\\dl\\dmd-2.075.0\\dmd2/windows/bin\\dmd.exe", "DMODEL=-m64", "dmd"] failed with status 1
----------------
0x0040AEF7 in pure @safe void std.exception.bailOut!(Exception).bailOut(immutable(char)[], uint, const(char[])) at C:\D\dmd2\windows\bin\..\..\src\phobos\std\exception.d(526)
0x0040AE9E in pure @safe bool std.exception.enforce!().enforce!(bool).enforce(bool, lazy const(char)[], immutable(char)[], uint) at C:\D\dmd2\windows\bin\..\..\src\phobos\std\exception.d(437)
0x004E6641 in void ae.sys.d.manager.DManager.Component.run(const(immutable(char)[])[], const(immutable(char)[][immutable(char)[]]), immutable(char)[])
0x004E7A60 in void ae.sys.d.manager.DManager.DMD.performBuild() at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\sys\d\manager.d(1116)
0x004E4F81 in void ae.sys.d.manager.DManager.Component.needBuild() at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\sys\d\manager.d(516)
0x004E54C2 in void ae.sys.d.manager.DManager.Component.needInstalled() at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\sys\d\manager.d(666)
0x004ECAE2 in void ae.sys.d.manager.DManager.build(ae.sys.d.manager.DManager.SubmoduleState, bool) at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\sys\d\manager.d(2094)
0x004AE7CD in void custom.runBuild(immutable(char)[], ae.sys.d.manager.DManager.SubmoduleState) at C:\Users\dlang.user\AppData\Local\dub\packages\digger-3.0.0-alpha-7\digger\custom.d(57)
0x004AFD20 in void custom.buildCustom(immutable(char)[]) at C:\Users\dlang.user\AppData\Local\dub\packages\digger-3.0.0-alpha-7\digger\custom.d(271)
0x004B0020 in _D6digger6Digger5buildFS2ae5utils6funopt__T10OptionImplVEQBhQBhQBe10OptionTypei0TbVAyaa12_686964DE52318C4D543263EB4945A7EE370BC1 at C:\Users\dlang.user\AppData\Local\dub\packages\digger-3.0.0-alpha-7\digger\digger.d(69)
0x005298E6 in _D2ae5utils6funopt__TQkS_D6digger6Digger5buildFSQBuQBuQBr__T10OptionImplVEQCuQCuQCr10OptionTypeiE1CE98D83FDBAF71356FA2F08DBB1929 at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\utils\funopt.d(304)
0x00528874 in int ae.utils.funopt.funoptDispatch!(digger.Digger, ae.utils.funopt.FunOptConfig(null), digger.digger().usageFun(immutable(char)[])).funoptDispatch(immutable(char)[][]).fun(immutable(char)[], immutable(char)[][]) at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\utils\funopt.d(585)
0x00539E4C in _D2ae5utils6funopt__TQkS_DQyQxQt__T14funoptDispatchTS6digger6DiggerVSQCpQCpQCm12FunOptConfigS1nS51AF7AA587E767457D346232F97407B4 at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\utils\funopt.d(304)
0x00528740 in int ae.utils.funopt.funoptDispatch!(digger.Digger, ae.utils.funopt.FunOptConfig(null), digger.digger().usageFun(immutable(char)[])).funoptDispatch(immutable(char)[][]) at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\utils\funopt.d(599)
0x004B0622 in int digger.digger() at C:\Users\dlang.user\AppData\Local\dub\packages\digger-3.0.0-alpha-7\digger\digger.d(249)
0x004B0A40 in int digger.__mixin21.run(immutable(char)[][]) at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\utils\main.d(40)
0x004B0A52 in _Dmain at C:\Users\dlang.user\AppData\Local\dub\packages\ae-0.0.2177\ae\utils\main.d(69)
0x005AC003 in void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll().__lambda1()
0x005ABF85 in void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll()
0x005ABE20 in _d_run_main
0x004B12AC in main at C:\Users\dlang.user\AppData\Local\dub\packages\digger-3.0.0-alpha-7\digger\bisect.d(7)
0x0060D101 in mainCRTStartup
0x778F8654 in BaseThreadInitThunk
0x77B94A77 in RtlGetAppContainerNamedObjectPath
0x77B94A47 in RtlGetAppContainerNamedObjectPath





May 23, 2018
On Wednesday, 23 May 2018 at 20:17:04 UTC, Dlang User wrote:
> I tried adding bootstrap option for 64 bit:
>
> digger -c build.components.dmd.dmdModel=64 -c build.components.dmd.bootstrap.ver=v2.075.0 build --model=64 v2.080.0
>
> Which didn't work (totally different error):

Looks like more DMD bugs. Try more host versions, e.g. v2.079.0 or v2.080.0.

May 23, 2018
On 5/23/2018 3:20 PM, Vladimir Panteleev wrote:
> On Wednesday, 23 May 2018 at 20:17:04 UTC, Dlang User wrote:
>> I tried adding bootstrap option for 64 bit:
>>
>> digger -c build.components.dmd.dmdModel=64 -c build.components.dmd.bootstrap.ver=v2.075.0 build --model=64 v2.080.0
>>
>> Which didn't work (totally different error):
> 
> Looks like more DMD bugs. Try more host versions, e.g. v2.079.0 or v2.080.0.
> 

Thank you. I had success with using v2.080.0 as the bootstrap:

digger -c build.components.dmd.dmdModel=64 -c build.components.dmd.bootstrap.ver=v2.080.0 build --model=64 v2.080.0




1 2 3
Next ›   Last »