Am Thu, 22 Dec 2016 18:39:42 +
schrieb Sebastien Alaiwan :
> $ cat hello.d
> import std.stdio;
>
> int main()
> {
>writefln("Hello, world");
>return 0;
> }
>
> $ gdc hello.d
> /usr/bin/ld: /tmp/cc03E6ZO.o: relocation R_X86_64_PC32 against
> symbol
> `_D3std6format18__T10FormatSpecT
Just to show that my compiler is up-to-date:
$ dpkg -l | grep "gdc\|phobos"
ii gdc 4:6.2.1-1
amd64D compiler (language version 2),
based on the GCC backend
ii gdc-6 6.2.1-5
$ cat hello.d
import std.stdio;
int main()
{
writefln("Hello, world");
return 0;
}
$ gdc hello.d
/usr/bin/ld: /tmp/cc03E6ZO.o: relocation R_X86_64_PC32 against
symbol
`_D3std6format18__T10FormatSpecTaZ10FormatSpec6__ctorMFNaNbNcNiNfxAaZS3std6format18__T10FormatSpecTaZ10FormatSpec' can not