LDC 0.17.0 has been released!

Thomas Brix Larsen via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Tue Feb 16 00:48:41 PST 2016


On Monday, 15 February 2016 at 17:57:30 UTC, John Colvin wrote:
> On Monday, 15 February 2016 at 13:29:33 UTC, Thomas Brix Larsen 
> wrote:
>> On Sunday, 14 February 2016 at 17:28:08 UTC, Kai Nacke wrote:
>>> Hi everyone!
>>>
>>> On behalf of the LDC team I am proud to announce the new 
>>> 0.17.0 release!
>>> It is based on the 2.068.2 front-end and LLVM 3.5-3.8.
>>>
>>> [...]
>>
>> liblphobos2 isn't compatible with an executable built with 
>> 0.16.1:
>> undefined symbol: 
>> _D4core6memory2GC8addRangeFNbxPvmxC8TypeInfoZv
>
> None of the current D compilers promise ABI compatibility 
> between compiler versions.
>
>> Also the new version of vibe (0.7.27) isn't working with ldc 
>> 0.17.0:
>> ../.dub/packages/vibe-d-0.7.27/source/vibe/db/mongo/settings.d(296,1): Error: class vibe.db.mongo.settings.MongoClientSettings has forward references
>
> I tried this:
>
> % dub build vibe-d:mongodb --compiler=ldc2
> Building package vibe-d:mongodb in 
> /Users/john/.dub/packages/vibe-d-0.7.27/vibe-d/
> Performing "debug" build using ldc2 for x86_64.
> vibe-d:mongodb 0.7.27: building configuration "library"...
> %
>
> no errors for me. what exactly triggered the problem for you?

$ dub build --compiler=ldmd2 --build-mode=singleFile 
--build=release
The determined compiler type "ldc" doesn't match the expected 
type "dmd". This will probably result in build errors.
Performing "release" build using ldmd2 for x86_64.
vibe-d:utils 0.7.27: target for configuration "library" is up to 
date.
vibe-d:data 0.7.27: target for configuration "library" is up to 
date.
vibe-d:core 0.7.27: target for configuration "libevent" is up to 
date.
vibe-d:http 0.7.27: target for configuration "library" is up to 
date.
vibe-d:diet 0.7.27: target for configuration "library" is up to 
date.
vibe-d:mail 0.7.27: target for configuration "library" is up to 
date.
vibe-d:mongodb 0.7.27: building configuration "library"...
Compiling 
../.dub/packages/vibe-d-0.7.27/source/vibe/db/mongo/client.d...
Compiling 
../.dub/packages/vibe-d-0.7.27/source/vibe/db/mongo/collection.d...
Compiling 
../.dub/packages/vibe-d-0.7.27/source/vibe/db/mongo/connection.d...
Compiling 
../.dub/packages/vibe-d-0.7.27/source/vibe/db/mongo/cursor.d...
Compiling 
../.dub/packages/vibe-d-0.7.27/source/vibe/db/mongo/database.d...
Compiling 
../.dub/packages/vibe-d-0.7.27/source/vibe/db/mongo/mongo.d...
Compiling 
../.dub/packages/vibe-d-0.7.27/source/vibe/db/mongo/settings.d...
../.dub/packages/vibe-d-0.7.27/source/vibe/db/mongo/settings.d(296,1): Error: class vibe.db.mongo.settings.MongoClientSettings has forward references
ldmd2 failed with exit code 1.


dub.json has these options beyond what the generated config 
provides:
"dependencies":{
   "vibe-d": ">=0.7.21-rc.4"
},
"versions": ["VibeDefaultMain", "VibeIdleCollect"]



More information about the digitalmars-d-ldc mailing list