https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85904
--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Mon Aug 13 18:54:21 2018 New Revision: 263513 URL: https://gcc.gnu.org/viewcvs?rev=263513&root=gcc&view=rev Log: Revert "libstdc++-v3: Have aligned_alloc() on Newlib" This reverts commit r263461 / 2e920cd849b3cf0a72df4f172e27676a3e70b73f because aligned_alloc is not defined for baremetal newlib targets, see https://gcc.gnu.org/ml/libstdc++/2018-08/msg00065.html Revert 2018-08-10 Sebastian Huber <sebastian.hu...@embedded-brains.de> PR target/85904 * configure.ac: Define HAVE_ALIGNED_ALLOC if building for Newlib. * configure: Regenerate. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/configure trunk/libstdc++-v3/configure.ac