You could add -fno-use-linker-plugin as a stop-gap measure, but
it seems like you have an installation issue. You probably want a
GDC version that matches your GCC version.
On my machine, gcc --version prints "gcc (GCC) 14.2.0" and gdc
--version prints "gdc (GCC) 14.2.0".