https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79193
--- Comment #3 from sandra at gcc dot gnu.org --- Created attachment 40649 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40649&action=edit patch to use "hello, world" to test linking The attached patch is sufficient to cause a link failure in cases where a linker script or additional library options are required to support stdio.h features. This might not be fully general since other C99 feature checks assume that math.h, complex.h, stdlib.h, and wchar.h features don't require any special linker recipe either.