[Issue 18015] [Reg 2.075] link failure unknown [0] section `' in group [.group]

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 14 10:12:12 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=18015

--- Comment #3 from Ludovit Lucenic <llucenic at gmail.com> ---
Created attachment 1667
  --> https://issues.dlang.org/attachment.cgi?id=1667&action=edit
Test case for #18015

I managed to eliminate the minimum code and it is surprising how small it is.
To reproduce the corrupt output of DMD starting 2.075 run following commands:

> dub fetch vibe.d --version=0.7.32
> dmd -lib -debug -g -w -I~/.dub/packages/vibe-d-0.7.32/vibe-d/source configuration.d -vcolumns

To check the result of compilation I used:

> [[ $(nm configuration.a 2>&1 > /dev/null | grep "not recognized" | wc -l) -gt 0 ]] && echo "Compilation FAILS" || echo "Compilation OK"

Or, just using nm on the generated static library outputs to stderr that's
something wrong. Running the test on 2.077 fails, on 2.074.1 succeeds.

--


More information about the Digitalmars-d-bugs mailing list