I am using Gentoo and I am seeing this over there as well. Upon researching if the program uses sed to perform any substitution, there could be an issue. Thanks

On Sat, Feb 9, 2019, 10:21 AM Ricardo Wurmus <rekado@elephly.net wrote:

znavko@tutanota.com writes:

> Hi! I compile this https://stackoverflow.com/questions/6161823/dd-how-to-calculate-optimal-blocksize <https://stackoverflow.com/questions/6161823/dd-how-to-calculate-optimal-blocksize>
>
> and get this:
>
> $ gcc c.c
> collect2: fatal error: cannot find 'ld'
> compilation terminated.
>
> $ whereis ld
> ld:
>
> $ gcc --version
> gcc (GCC) 8.2.0
>
> How to solve this?

I’m assuming that you installed the “gcc” package.  Don’t do that.
Install “gcc-toolchain” instead.

   guix package -r gcc -i gcc-toolchain

--
Ricardo