https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81878
--- Comment #26 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > Which does indeed show that during the bootstrap -B to the right directory > is passed, and that the file is there. So not sure why it's saying it can't > find it. If that's the case that the paths are all correct, I'll go look > into why it's giving a file not found while the file is there. Yes, the expected -B flag is present in the screen dump right after -Wl,--stack. Are you positive that your change in comment #19 eliminates the problem?