https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99005
--- Comment #2 from Kiril Dichev <kd486 at cam dot ac.uk> --- Yes, I can confirm that there seems to be an underlying issue with permissions, similar to the link you posted (rocminfo gives me the same error). Indeed, I was referring to compilation with PGI on an Nvidia system. Looks like this is not a bug. Sorry.