Hey all,

I have freshly installed gcc (12.1.0) and gdc (8.2.1) on an Raspberry Pi 3B+ running an arch linux derivative. When trying to compile even very minimal d code with a simple ```gdc code.d```, I get an error:

```gdc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found```

Adding a -v flag conveys the following used gcc options:

```COLLECT_GCC_OPTIONS='-v' '-o' 'a.out' '-shared-libgcc' '-march=armv8-a' '-mlittle-endian' '-mabi=lp64'```

Does anyone have an idea how to address this?

P.S.: this is the code that fails to compile:
```d
import std.stdio;

void main()
{
    writeln("Hello World!");

}
```

Reply via email to