https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108505
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2023-01-23 Ever confirmed|0 |1 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >'--with-multilib-list=aprofile,rmprofile' is the key here really. The problem is there is a loop around the multilib list and tm_file="$tm_file arm/arm-mlib.h" gets executed twice. So you get arm/arm-mlib.h in the list twice and gengtype does not like that.