My srcdir is at ~/Dev/glibc. % cd ~/Dev/glibc/out/gold % make -r -C ~/Dev/glibc/malloc objdir=$PWD check -j 20 has failures due to use of --depaudit. ## as of binutils 2.36 % gold --depaudit x a.o gold: --depaudit: unknown option gold: use the --help option for usage information ## as of 13.0.0 % ld.lld --depaudit x a.o ld.lld: error: unknown argument '--depaudit' ld.lld: error: cannot open x: No such file or directory https://sourceware.org/pipermail/libc-alpha/2021-July/129452.html elf: Skip tst-auditlogmod-* if the linker doesn't support --depaudit can skip the tests.
Fixed by commit 9926f6e2eeb374cf729d4bb3f092dd4b36a8f861 ("elf: Skip tst-auditlogmod-* if the linker doesn't support --depaudit [BZ #28151]")