[Issue 21294] [REG 2.095]: DMD fails to link since PR11743
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 6 09:02:18 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21294
--- Comment #5 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to RazvanN from comment #3)
> Also, how can we reproduce this?
It looks like DMD is in a worse state, a simple reproducer script shows that
reverting the PR doesn't help DMD at all (using v2.091.1 as host compiler).
```
#!/bin/bash
mkdir -p build
echo "/etc" > build/SYSCONFDIR.imp
echo "v2.094.0" > build/VERSION
for dir in . root backend; do
mkdir -p build/${dir}
for src in src/dmd/${dir}/*.d; do
echo dmd -version=MARS -I=src -J=src/dmd/res -J=build -c
-od=build/${dir} ${src}
dmd -version=MARS -I=src -J=src/dmd/res -J=build -c -od=build/${dir}
${src}
done
done
echo dmd build/*.o build/root/*.o build/backend/*.o -of=build/dmd
dmd build/*.o build/root/*.o build/backend/*.o -of=build/dmd
echo ===================
dmd --version
```
--
More information about the Digitalmars-d-bugs
mailing list