This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]