[Bug 1563861] Re: gdc: Fails to link any code using std.net.curl
** Changed in: dub (Debian) Status: Unknown => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1563861 Title: gdc: Fails to link any code using std.net.curl To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dub/+bug/1563861/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1563861] Re: gdc: Fails to link any code using std.net.curl
Fixed with 0.9.24-1ubuntu1 ** Bug watch added: Debian Bug tracker #819569 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819569 ** Also affects: dub (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819569 Importance: Unknown Status: Unknown ** Changed in: dub (Ubuntu) Importance: Undecided => High ** Changed in: dub (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1563861 Title: gdc: Fails to link any code using std.net.curl To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dub/+bug/1563861/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1563861] Re: gdc: Fails to link any code using std.net.curl
Okay, thanks for the clarification! Binutils should be new enough almost everywhere to support the --push-state flag, so using it is fine. /me will take your patch against dub for Debian too, then :-) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1563861 Title: gdc: Fails to link any code using std.net.curl To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dub/+bug/1563861/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1563861] Re: gdc: Fails to link any code using std.net.curl
gdc probably should add some config binary to add these libs. And if it's built as a shared lib, then the library should be linked against it. But for now, from my point of view, users of these extra stuff should link with the required libs itself. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1563861 Title: gdc: Fails to link any code using std.net.curl To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dub/+bug/1563861/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1563861] Re: gdc: Fails to link any code using std.net.curl
Hmm, quick question: Does "Won't fix" mean this should be fixed in dub to pass this option to GDC? If so, I would formward this report to upstream dub, so they can apply it to every dub-using project (which means less project-specific fixes). This would also mean that people not using dub should use that combination of flags if they want to link against Curl (I would fix that in the Debian package of dub then). Or does won't fix mean that this thing should be fixed in upstream GDC, but you won't explicitly fix it in the Ubuntu package? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1563861 Title: gdc: Fails to link any code using std.net.curl To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dub/+bug/1563861/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1563861] Re: gdc: Fails to link any code using std.net.curl
** Changed in: gcc-5 (Ubuntu) Status: New => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1563861 Title: gdc: Fails to link any code using std.net.curl To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dub/+bug/1563861/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1563861] Re: gdc: Fails to link any code using std.net.curl
Oh, cool - I didn't know about --push-state, that's really cool and looks like a good workaround. Would be nice to make this more discoverable or - even better - work by default, but I guess that a workaround exists might reduce the urgency of this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1563861 Title: gdc: Fails to link any code using std.net.curl To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dub/+bug/1563861/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1563861] Re: gdc: Fails to link any code using std.net.curl
you should link using: gdc -otest test.d -Wl,---pus-state,-no-as-needed -lcurl -Wl,--pop- state ** Also affects: dub (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1563861 Title: gdc: Fails to link any code using std.net.curl To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dub/+bug/1563861/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs