[Bug libstdc++/79193] libstdc++ configure incorrectly decides linking works for cross-compiler

sandra at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 1 22:11:00 GMT 2017


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.


More information about the Gcc-bugs mailing list