https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85904
--- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Mon Aug 13 19:15:40 2018 New Revision: 263517 URL: https://gcc.gnu.org/viewcvs?rev=263517&root=gcc&view=rev Log: Revert "libstdc++-v3: Have aligned_alloc() on Newlib" This reverts commit r263462 / 61b760a78fdf9f5d87b0b626a61a3216bd1411fc 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: branches/gcc-8-branch/libstdc++-v3/ChangeLog branches/gcc-8-branch/libstdc++-v3/configure branches/gcc-8-branch/libstdc++-v3/configure.ac