Building application with LDC and -flto=thin fails in link stage

Arek arychlinski at gmail.com
Tue Mar 27 11:00:38 UTC 2018


On Monday, 26 March 2018 at 22:07:49 UTC, Nordlöw wrote:
> When I try build my application using LDC and -flto=thin it 
> fails in the final linking as
>

According to LDC's Release info:

Known issues:
ThinLTO may not work well with the ld.bfd linker, use ld.gold 
instead (-linker=gold).


Maybe this is the problem.

Arek



More information about the Digitalmars-d-learn mailing list