digitalmars.D.ldc - Problem building dub with LDC
- Joseph Rushton Wakeling (16/16) Oct 17 2013 Hello all,
- David Nadlinger (6/8) Oct 17 2013 econs24RefCountedAutoInitialize0Z10RefCounted10__postblitMFZv'
- Elvis Zhou (4/12) Oct 17 2013 I've already post this issue in 0.12.0 alpha release thread,
- Kai Nacke (7/22) Oct 17 2013 The issue should be fixed with this (merged) pull request:
- David Nadlinger (14/16) Oct 17 2013 I never ignore anybody on purpose, but occasionally some mails either
- Elvis Zhou (4/28) Oct 18 2013 That's all right, my fault, actually I really appreicate your
- Joseph Rushton Wakeling (5/8) Oct 17 2013 Built from source, but obviously not recently enough to have that
- David Nadlinger (6/9) Oct 17 2013 Glad to hear that.
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__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCou ted6__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
Oct 17 2013
On 17 Oct 2013, at 13:02, Joseph Rushton Wakeling wrote:undefined reference to =`_D3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typ=econs24RefCountedAutoInitialize0Z10RefCounted10__postblitMFZv' This looks a lot like https://github.com/ldc-developers/ldc/issues/454. Which LDC version did you use? Cheers, David
Oct 17 2013
On Thursday, 17 October 2013 at 12:37:44 UTC, David Nadlinger wrote:On 17 Oct 2013, at 13:02, Joseph Rushton Wakeling wrote:I've already post this issue in 0.12.0 alpha release thread, seems David just ignore it there and I have to give it up.undefined reference to `_D3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted10__postblitMFZv'This looks a lot like https://github.com/ldc-developers/ldc/issues/454. Which LDC version did you use? Cheers, David
Oct 17 2013
On Thursday, 17 October 2013 at 13:43:03 UTC, Elvis Zhou wrote:On Thursday, 17 October 2013 at 12:37:44 UTC, David Nadlinger wrote:The issue should be fixed with this (merged) pull request: https://github.com/ldc-developers/ldc/pull/507. Therefore David asked about the used LDC version. Please, could you also retest with the beta 1 release? Thanks!!! Regards KaiOn 17 Oct 2013, at 13:02, Joseph Rushton Wakeling wrote:I've already post this issue in 0.12.0 alpha release thread, seems David just ignore it there and I have to give it up.undefined reference to `_D3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted10__postblitMFZv'This looks a lot like https://github.com/ldc-developers/ldc/issues/454. Which LDC version did you use? Cheers, David
Oct 17 2013
Hi Elvis, On Thu, Oct 17, 2013 at 3:43 PM, Elvis Zhou <elvis.x.zhou gmail.com> wrote:I've already post this issue in 0.12.0 alpha release thread, seems David just ignore it there and I have to give it up.I never ignore anybody on purpose, but occasionally some mails either get caught in the filters or manage to magically disappear from the inbox unanswered. Thus, if you receive no reply from me in a few days, please just contact me again, I probably just missed your message then. Apart from that, I think I replied to your post in the alpha thread with a link to the bug report, which got automatically closed when I pushed the fix. I figured it would be clear enough when I just mentioned that all reported bugs have been fixed in the beta announcement. Sorry for any confusion, David
Oct 17 2013
On Thursday, 17 October 2013 at 17:35:50 UTC, David Nadlinger wrote:Hi Elvis, On Thu, Oct 17, 2013 at 3:43 PM, Elvis Zhou <elvis.x.zhou gmail.com> wrote:That's all right, my fault, actually I really appreicate your hard work!!I've already post this issue in 0.12.0 alpha release thread, seems David just ignore it there and I have to give it up.I never ignore anybody on purpose, but occasionally some mails either get caught in the filters or manage to magically disappear from the inbox unanswered. Thus, if you receive no reply from me in a few days, please just contact me again, I probably just missed your message then. Apart from that, I think I replied to your post in the alpha thread with a link to the bug report, which got automatically closed when I pushed the fix. I figured it would be clear enough when I just mentioned that all reported bugs have been fixed in the beta announcement. Sorry for any confusion, David
Oct 18 2013
On Thursday, 17 October 2013 at 12:37:44 UTC, David Nadlinger wrote:This looks a lot like https://github.com/ldc-developers/ldc/issues/454. Which LDC version did you use?Built from source, but obviously not recently enough to have that bugfix in it. I've updated to latest git HEAD and dub now compiles fine. Thanks very much!
Oct 17 2013
On Thu, Oct 17, 2013 at 7:22 PM, Joseph Rushton Wakeling <joseph.wakeling webdrake.net> wrote:Built from source, but obviously not recently enough to have that bugfix in it. I've updated to latest git HEAD and dub now compiles fine. Thanks very much!Glad to hear that. Still anxiously waiting for the first regression to pop up in the wake of that bug fix, though. David
Oct 17 2013