digitalmars.D.announce - LDC 0.16.0 alpha3 is out! Get it, test it, give feedback!
- Kai Nacke (12/12) Sep 16 2015 Hi everyone,
- Jack Stouffer (3/6) Sep 17 2015 Is there anyway to get dub to use this as a compiler so I can
- ponce (4/12) Sep 17 2015 Put the compiler in your PATH, and use the --compiler=ldc2 flag
- Jack Stouffer (20/28) Sep 17 2015 My dub build is failing with LDC but working with DMD. All I get
- John Colvin (5/25) Sep 17 2015 dub build --compiler=ldc2 -v
- Jack Stouffer (17/20) Sep 17 2015 Seems to be a segfault in LDC
- David Gileadi (2/3) Sep 17 2015 Forgive the unhelpful reply, but this line made me happy :)
Hi everyone, LDC 0.16.0 alpha3, the LLVM-based D compiler, is available for download! This release is based on the 2.067.1 frontend and standard library and supports LLVM 3.1-3.7 (OS X: no support for 3.3). Don't miss to check if your preferred system is supported by this release. There is even an alpha-quality Win64 version available! As usual, you can find links to the changelog and the binary packages over at digitalmars.D.ldc: http://forum.dlang.org/post/numjnaginhfmocbqgddh forum.dlang.org Regards, Kai
Sep 16 2015
On Wednesday, 16 September 2015 at 20:03:15 UTC, Kai Nacke wrote:Hi everyone, LDC 0.16.0 alpha3, the LLVM-based D compiler, is available for download!Is there anyway to get dub to use this as a compiler so I can test this out?
Sep 17 2015
On Thursday, 17 September 2015 at 14:51:32 UTC, Jack Stouffer wrote:On Wednesday, 16 September 2015 at 20:03:15 UTC, Kai Nacke wrote:Put the compiler in your PATH, and use the --compiler=ldc2 flag in DUBHi everyone, LDC 0.16.0 alpha3, the LLVM-based D compiler, is available for download!Is there anyway to get dub to use this as a compiler so I can test this out?
Sep 17 2015
On Thursday, 17 September 2015 at 14:51:32 UTC, Jack Stouffer wrote:On Wednesday, 16 September 2015 at 20:03:15 UTC, Kai Nacke wrote:My dub build is failing with LDC but working with DMD. All I get is this unhelpful error message $ dub build --compiler=ldc2 Target derelict-util 2.0.3 is up to date. Use --force to rebuild. Building derelict-sdl2 1.9.7 configuration "library", build type debug. Running ldc2... Target derelict-gl3 1.0.15 is up to date. Use --force to rebuild. Building dgame 0.6.3 configuration "lib", build type debug. Running ldc2... Building dungeon ~master configuration "application", build type debug. Running ldc2... FAIL .dub/build/application-debug-posix.osx-x86_64-ldc_0-C7E5B672CD118 CE7A0D4F80B1606A44/ dungeon executable Error executing command build: ldc2 failed with exit code -11. How does one debug dub builds?Hi everyone, LDC 0.16.0 alpha3, the LLVM-based D compiler, is available for download!Is there anyway to get dub to use this as a compiler so I can test this out?
Sep 17 2015
On Thursday, 17 September 2015 at 15:15:33 UTC, Jack Stouffer wrote:My dub build is failing with LDC but working with DMD. All I get is this unhelpful error message $ dub build --compiler=ldc2 Target derelict-util 2.0.3 is up to date. Use --force to rebuild. Building derelict-sdl2 1.9.7 configuration "library", build type debug. Running ldc2... Target derelict-gl3 1.0.15 is up to date. Use --force to rebuild. Building dgame 0.6.3 configuration "lib", build type debug. Running ldc2... Building dungeon ~master configuration "application", build type debug. Running ldc2... FAIL .dub/build/application-debug-posix.osx-x86_64-ldc_0-C7E5B672CD118 CE7A0D4F80B1606A44/ dungeon executable Error executing command build: ldc2 failed with exit code -11. How does one debug dub builds?dub build --compiler=ldc2 -v will sometimes let you see more clearly when/where things went wrong.
Sep 17 2015
On Thursday, 17 September 2015 at 15:19:07 UTC, John Colvin wrote:dub build --compiler=ldc2 -v will sometimes let you see more clearly when/where things went wrong.Seems to be a segfault in LDC $ dub build --force --compiler=ldc2 -v A bunch of stuff for the dependancies Using direct -l... flags for dl. Running ldc2... ldc2 -of.dub/build/application-debug-posix.osx-x86_64-ldc_0-C7E5B672CD1184CE7A0D F80B1606A44/dungeon -d-debug -g -w -oq -od=.dub/obj -d-version=Have_dungeon -d-version=Have_dgame -d-version=Have_derelict_sdl2 -d-version=Have_derelict_util -d-version=Have_derelict_gl3 -Isource/ -I../../../../.dub/packages/dgame-0.6.3/source/ -I../../../../.dub/packages/derelict-sdl2-1.9.7/source/ -I../../../../.dub/packages/derelict-util-2.0.3/source/ -I../../../../.dub/packages/derelict-gl3-1.0.15/source/ source/app.d source/engine.d source/enums.d source/inputhandler.d source/interfaces.d source/objects/enemies.d source/objects/player.d source/states/endgame.d source/states/game.d source/states/main_menu.d source/surfaces.d source/util/quadtree.d source/util/ringbuffer.d ../../../../.dub/packages/dgame-0.6.3/lib/libDgame.a ../../../../.dub/packages/derelict-sdl2-1.9.7/lib/libDerelictSDL2.a ../../../../.dub/packages/derelict-gl3-1.0.15/lib/libDerelictGL3.a ../../../../.dub/packages/derelict-util-2.0.3/lib/libDerelictUtil.a -L=-ldl FAIL .dub/build/application-debug-posix.osx-x86_64-ldc_0-C7E5B672CD118 CE7A0D4F80B1606A44/ dungeon executable Error executing command build: ldc2 failed with exit code -11. So I manually copied the command from dub to see what went wrong $ ldc2 -of.dub/build/application-debug-posix.osx-x86_64-ldc_0-C7E5B672CD1184CE7A0D F80B1606A44/dungeon -d-debug -g -w -oq -od=.dub/obj -d-version=Have_dungeon -d-version=Have_dgame -d-version=Have_derelict_sdl2 -d-version=Have_derelict_util -d-version=Have_derelict_gl3 -Isource/ -I../../../../.dub/packages/dgame-0.6.3/source/ -I../../../../.dub/packages/derelict-sdl2-1.9.7/source/ -I../../../../.dub/packages/derelict-util-2.0.3/source/ -I../../../../.dub/packages/derelict-gl3-1.0.15/source/ source/app.d source/engine.d source/enums.d source/inputhandler.d source/interfaces.d source/objects/enemies.d source/objects/player.d source/states/endgame.d source/states/game.d source/states/main_menu.d source/surfaces.d source/util/quadtree.d source/util/ringbuffer.d ../../../../.dub/packages/dgame-0.6.3/lib/libDgame.a ../../../../.dub/packages/derelict-sdl2-1.9.7/lib/libDerelictSDL2.a ../../../../.dub/packages/derelict-gl3-1.0.15/lib/libDerelictGL3.a ../../../../.dub/packages/derelict-util-2.0.3/lib/libDerelictUtil.a -L=-ldl [1] 45808 segmentation fault ldc2 -d-debug -g -w -oq -od=.dub/obj -d-version=Have_dungeon -Isource/
Sep 17 2015
On 9/17/15 8:15 AM, Jack Stouffer wrote:Building dungeon ~master ...Forgive the unhelpful reply, but this line made me happy :)
Sep 17 2015