[Issue 18762] New: The spec tester fails to link examples with __stdin.o
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Apr 14 21:54:00 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18762
Issue ID: 18762
Summary: The spec tester fails to link examples with __stdin.o
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P1
Component: dlang.org
Assignee: nobody at puremagic.com
Reporter: greensunny12 at gmail.com
```
Test the D Language specification
../dmd/generated/linux/release/64/dmd -run tools/dspec_tester.d
--compiler=../dmd/generated/linux/release/64/dmd
---
void main() {
import std.stdio;
import std.algorithm;
int[] s = [1, 2, 3, 4];
copy(s[1..3], s[0..2]);
assert(s == [2, 3, 3, 4]);
}
---
gcc: error: __stdin.o: No such file or directory
Error: linker exited with status 1
```
Happened on a few PRs (e.g. https://github.com/dlang/phobos/pull/6443,
https://github.com/dlang/phobos/pull/6453 or
https://github.com/dlang/dmd/pull/8168)
See also: https://github.com/dlang/dlang.org/pull/2345
--
More information about the Digitalmars-d-bugs
mailing list