This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/78110] freestanding libstdc++ fails to compile
- From: "bernd.edlinger at hotmail dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Oct 2016 15:36:50 +0000
- Subject: [Bug libstdc++/78110] freestanding libstdc++ fails to compile
- Auto-submitted: auto-generated
- References: <bug-78110-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78110
--- Comment #4 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
First I was a bit shocked, but i think my patch above looks reasonable.
Because the installation is free-standing it is natural that we
cannot #include <malloc.h>. Although the eCos has no memalign,
that is benign, and everything links fine without unresolved symbols.
If it ever is needed, it will be easy to add a memalign function.