https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93325
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #1) > In general we can't use link tests in configure, for reasons related to > cross-compilers that I don't understand. As far as I can tell, that's only relevant for bare metal targets, which is why I think link tests are OK for hosted linux* targets.