https://issues.dlang.org/show_bug.cgi?id=4181 --- Comment #18 from Martin Krejcirik <mk at krej.cz> --- I think it's a bug in ld.gold which has been fixed recently: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=5efeedf61e4fe720fd3e9a08e6c91c10abb66d42 --