https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98318
--- Comment #11 from Rimvydas (RJ) <rimvydas.jas at gmail dot com> --- Nathan, there seem to be another issue for 'make check' invoke in top level dir: configure --enable-bootstrap ... gmake -j128 && gmake -j1 -k check gmake[2]: Leaving directory '/zzz/build/trunk/libbacktrace' gmake[2]: Entering directory '/zzz/build/trunk/libcpp' gmake[2]: Nothing to be done for 'check'. gmake[2]: Leaving directory '/zzz/build/trunk/libcpp' gmake[2]: Entering directory '/zzz/build/trunk/libcody' No ZSH, maybe flakey echo '# Automatically generated by Make' >tests/cody.defs echo 'testdir=/data/gg/libcody/tests' >>tests/cody.defs echo 'timelimit=60' >>tests/cody.defs echo 'memlimit=1' >>tests/cody.defs echo 'cpulimit=60' >>tests/cody.defs echo 'filelimit=1' >>tests/cody.defs echo 'SHELL=/bin/sh' >>tests/cody.defs /zzz/build/trunk/./prev-gcc/xg++ -B/zzz/build/trunk/./prev-gcc/ -B/opt/gcc11f/x86_64-unknown-dragonfly5.9/bin/ -nostdinc++ -B/zzz/build/trunk/prev-x86_64-unknown-dragonfly5.9/libstdc++-v3/src/.libs -B/zzz/build/trunk/prev-x86_64-unknown-dragonfly5.9/libstdc++-v3/libsupc++/.libs -I/zzz/build/trunk/prev-x86_64-unknown-dragonfly5.9/libstdc++-v3/include/x86_64-unknown-dragonfly5.9 -I/zzz/build/trunk/prev-x86_64-unknown-dragonfly5.9/libstdc++-v3/include -I/data/gg/libstdc++-v3/libsupc++ -L/zzz/build/trunk/prev-x86_64-unknown-dragonfly5.9/libstdc++-v3/src/.libs -L/zzz/build/trunk/prev-x86_64-unknown-dragonfly5.9/libstdc++-v3/libsupc++/.libs -g -O2 -include config.h -I/data/gg/libcody -I/zzz/build/trunk/prev-x86_64-unknown-dragonfly5.9/libstdc++-v3/include/x86_64-unknown-dragonfly5.9 -I/zzz/build/trunk/prev-x86_64-unknown-dragonfly5.9/libstdc++-v3/include -I/data/gg/libstdc++-v3/libsupc++ \ -MMD -MP -MF tests/01-serialize/connect.d -c -o tests/01-serialize/connect.o /data/gg/libcody/tests/01-serialize/connect.cc /zzz/build/trunk/./prev-gcc/xg++ -B/zzz/build/trunk/./prev-gcc/ -B/opt/gcc11f/x86_64-unknown-dragonfly5.9/bin/ -nostdinc++ -B/zzz/build/trunk/prev-x86_64-unknown-dragonfly5.9/libstdc++-v3/src/.libs -B/zzz/build/trunk/prev-x86_64-unknown-dragonfly5.9/libstdc++-v3/libsupc++/.libs -I/zzz/build/trunk/prev-x86_64-unknown-dragonfly5.9/libstdc++-v3/include/x86_64-unknown-dragonfly5.9 -I/zzz/build/trunk/prev-x86_64-unknown-dragonfly5.9/libstdc++-v3/include -I/data/gg/libstdc++-v3/libsupc++ -L/zzz/build/trunk/prev-x86_64-unknown-dragonfly5.9/libstdc++-v3/src/.libs -L/zzz/build/trunk/prev-x86_64-unknown-dragonfly5.9/libstdc++-v3/libsupc++/.libs -static-libstdc++ -static-libgcc tests/01-serialize/connect.o -lcody -o tests/01-serialize/connect /usr/libexec/binutils234/elf/ld.gold: error: cannot find -lcody /data/gg/libcody/cody.hh:288: error: undefined reference to 'Cody::Packet::Destroy()' /data/gg/libcody/tests/01-serialize/connect.cc:24: error: undefined reference to 'Cody::Client::~Client() The make -k check issue in libcody directory is reproducible on Linux box too.