Release D 2.087.0

Mike Franklin slavo5150 at yahoo.com
Thu Jul 4 10:11:18 UTC 2019


On Thursday, 4 July 2019 at 10:01:10 UTC, Robert M. Münch wrote:
> On 2019-07-04 08:11:26 +0000, Martin Nowak said:
>
>> Glad to announce D 2.087.0, ♥ to the 63 contributors.
>> 
>> This release comes with types matching single template alias 
>> parameters,
>> nested template methods/local template functions, 
>> multi-threaded GC
>> marking, and a phobos compiled with -preview=DIP1000.
>> 
>> http://dlang.org/download.html
>> http://dlang.org/changelog/2.087.0.html
>> 
>> -Martin
>
> I just updated with Digger to the newest version and get:
>
> ...d-language\test> dub test -a=x86_64 -f
> Failed to invoke the compiler C:\D\dmd2\windows\bin\dmd.exe to 
> determine the build platform: predefs   DigitalMars Windows 
> CRuntime_Microsoft CppRuntime_Microsoft LittleEndian D_Version2 
> all D_SIMD D_InlineAsm_X86_64 X86_64 Win64 D_LP64 assert 
> D_ModuleInfo D_Exceptions D_TypeInfo D_HardFloat
> binary    C:\D\dmd2\windows\bin\dmd.exe
> version   v2.087.0
>
> config    C:\D\dmd2\windows\bin\sc.ini
> DFLAGS    -IC:\D\dmd2\windows\bin\..\..\src\phobos 
> -IC:\D\dmd2\windows\bin\..\..\src\druntime\import -L/OPT:NOICF
> parse     
> dub_platform_probe_956c8798_90a5_4300_b011_2b9e6cc8ace5
> importall dub_platform_probe
> import    object        
> (C:\D\dmd2\windows\bin\..\..\src\druntime\import\object.d)
> C:\D\dmd2\windows\bin\..\..\src\druntime\import\object.d(42): 
> Error: module `comparison` is in file 'rt\array\comparison.d' 
> which cannot be read
> import path[0] = C:\D\dmd2\windows\bin\..\..\src\phobos
> import path[1] = C:\D\dmd2\windows\bin\..\..\src\druntime\import
>
> Not sure what this is telling me. Related to the release?

Yes, it's probably related to the release.  Some runtime hooks 
were taken out of object.d and moved to `rt/array` to help set 
direction for a GSoC project that is in the process converting 
many runtime hooks to templates, and to help prevent object.d 
from becoming even more unwieldy than it already is.  Move such 
refactorings are planned.

I don't know what digger is doing, but from the error messages, 
it appears that the new files in `rt/array` can't be found.  I 
believe the build is trying to use a new compiler with an older 
or existing runtime.  You'll need both the latest compiler and 
the latest runtime together for them to work.

If you can identify a bug in the makefiles, or some other such 
problem preventing the build, let me know and I'll try to fix it 
right away.

Mike


More information about the Digitalmars-d-announce mailing list