Hi Jonas, On Wed, 23 Aug 2023 06:59:14 +0800, Jonas via Bug reports for GNU Guix wrote: > [...] > = note: ld: cannot find -lrt: No such file or directory > collect2: error: ld returned 1 exit status
librt has been integrated into libc since glibc 2.34. gcc-toolchain:static should provide an empty library to satisfy the linker: --8<---------------cut here---------------start------------->8--- $ guix shell gcc-toolchain:static -- sh -c 'ls $GUIX_ENVIRONMENT/lib/librt*' /gnu/store/8fv6xh7nyyb4hsi7b7p2s2ihpsj0lvs9-profile/lib/librt.a --8<---------------cut here---------------end--------------->8--- Thanks