https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85142
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .riscv64_multilib --fuzz=0 patching file gcc/config/riscv/t-linux-multilib + cd nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f This is not the right place to ask this kind of questions as the sources you are building are modified specifically for multilib and there is no way to figure out if there is a bug in your patch or in the generic gcc.