https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92314
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I'd suggest once you build the --enable-as-accelerator-for= compiler, install it in whatever temporary location you pick and then use nvptx-none=/path/to/that so that it can find it.