For the adventurous: News from the LDC/Linux front
David Nadlinger via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jul 10 07:00:36 PDT 2014
On Wednesday, 9 July 2014 at 10:01:15 UTC, Dicebot wrote:
> Those are probably best news from D world I have heard in last
> few months! Has anyone tried that on largish projects? Using
> GDC with --gc-sections has resulted in broken binaries
> sometimes but most likely it was the same ModuleInfo issue.
> Wonder how reliable it is in LDC.
So far, I'm not aware of any conceptual problems or
implementation issues. I tested it on a some larger projects
using Thrift and a few other libraries. But as always, there
might be some odd cases out there I simply missed, especially as
linker behavior tends to vary quite a bit between different
versions of binutils (and interestingly also different
distributions, as some tend to come with patched versions or
adjusted defaults).
All in all, I can only encourage you to test this on your own
projects and report any issues. This is also the idea behind
turning the feature on by default for now. Note that in contrast
to GDC, we actually consider any issues caused by this to be a
bug (Iain and I agree to disagree on this).
David
More information about the Digitalmars-d
mailing list