Problem building dub with LDC
Joseph Rushton Wakeling
joseph.wakeling at webdrake.net
Thu Oct 17 04:02:39 PDT 2013
Hello all,
Today I decided to download, build and install the dub package
manager. One clone from GitHub later, and I thought I'd try and
build it with LDC, only to run into the following error:
$ DC=ldmd2 ./build.sh
Generating version file...
Running ldmd2...
bin/dub.o:(.rodata._D123TypeInfo_S3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted6__initZ[_D123TypeInfo_S3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted6__initZ]+0x60):
undefined reference to
`_D3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted10__postblitMFZv'
collect2: error: ld returned 1 exit status
Error: /usr/bin/gcc failed with status: 1
Any idea what's going on here? It looks like a problem on LDC's
side rather than dub's.
Thanks & best wishes,
-- Joe
More information about the digitalmars-d-ldc
mailing list