https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107059
--- Comment #16 from Tobias Burnus <burnus at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #14) > ..., so I think we could do: > --- gcc/cppdefault.cc.jj 2022-01-18 11:58:59.411984500 +0100 > +++ gcc/cppdefault.cc 2022-09-28 12:11:47.923603783 +0200 It tried this now on ppc64le with Ubuntu 18.04.3 LTS (bionic) with glibc 2.27-3ubuntu1 and - because I have used it last - with --enable-multiarch. However, it still fails. According to strace, it searches: /tmp/tburnus-gcc-test/gcc/powerpc64le-unknown-linux-gnu/13.0.0/include-fixed/. /tmp/tburnus-gcc-test/gcc/powerpc64le-linux-gnu/include-fixed/. /tmp/tburnus-gcc-test/gcc/../lib/gcc/powerpc64le-unknown-linux-gnu/13.0.0/include-fixed/powerpc64le-linux-gnu but not /tmp/tburnus-gcc-test/gcc/include-fixed/powerpc64le-linux-gnu A solution would be target=powerpc64le-linux-gnu cd $BUILD/gcc if [[ -d include-fixed/$target ]]; then mkdir $target; ln -s include-fixed/$target $target/include-fixed fi or something similar in the fix-include machinery.