On 10 July 2014 15:00, David Nadlinger via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > 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
Indeed we do! Instead I am consulting with the GCC devs to fix LTO support. >:) Iain