https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104758
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tom de Vries <vr...@gcc.gnu.org>: https://gcc.gnu.org/g:07667c911b1827fb98a1b5da621d51d8fcf0409a commit r12-7462-g07667c911b1827fb98a1b5da621d51d8fcf0409a Author: Tom de Vries <tdevr...@suse.de> Date: Wed Mar 2 12:04:39 2022 +0100 [nvptx] Build libraries with misa=sm_30 In gcc-11, when specifying -misa=sm_30, an executable may still contain sm_35 code (due to libraries being built with the default -misa=sm_35), so it won't run on an sm_30 board. Fix this by building libraries with sm_30, as was the case in gcc-5 to gcc-10. gcc/ChangeLog: 2022-03-03 Tom de Vries <tdevr...@suse.de> PR target/104758 * config/nvptx/t-nvptx (MULTILIB_EXTRA_OPTS): Add misa=sm_30.