https://issues.dlang.org/show_bug.cgi?id=879 --- Comment #16 from Martin Nowak <code at dawg.eu> --- Another problem that I have is that ld.gold with --gc-sections doesn't copy the .minfo_beg/.minfo_end sections from an archive object, so it breaks the section brackets even when all .minfo* sections are pinned. --