This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/79193] libstdc++ configure incorrectly decides linking works for cross-compiler
- From: "sandra at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 01 Feb 2017 22:10:45 +0000
- Subject: [Bug libstdc++/79193] libstdc++ configure incorrectly decides linking works for cross-compiler
- Auto-submitted: auto-generated
- References: <bug-79193-4@http.gcc.gnu.org/bugzilla/>
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.