https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98225
--- Comment #7 from Bernd Edlinger <edlinger at gcc dot gnu.org> --- when you leave just one of those tests, you can get somewhat more verbose output by using something like that: make check-gcc-c RUNTESTFLAGS="--target_board=unix/-v/-Wl,-v outputs.exp" you should see where the collect-ld is invoked: collect2 version 11.0.0 20210105 (experimental)^M /home/ed/gnu/gcc-build/gcc/collect-ld @outputs.ld1_args^M GNU ld (GNU Binutils) 2.35.1^M The arguments are in a response-file: @outputs.ld1_args maybe that looks different for you?