From 9db03bee159711a20a4a099c574bb049c326e8bf Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Mon, 13 Aug 2018 19:54:21 +0100 Subject: [PATCH] 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 PR target/85904 * configure.ac: Define HAVE_ALIGNED_ALLOC if building for Newlib. * configure: Regenerate. From-SVN: r263513 --- libstdc++-v3/ChangeLog | 10 ++++++++++ libstdc++-v3/configure | 2 -- libstdc++-v3/configure.ac | 1 - 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index fd547e26039..424281ce949 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,13 @@ +2018-08-13 Jonathan Wakely + + Revert + 2018-08-10 Sebastian Huber + + PR target/85904 + * configure.ac: Define HAVE_ALIGNED_ALLOC if building for + Newlib. + * configure: Regenerate. + 2018-08-10 Jonathan Wakely PR libstdc++/68210 diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 53803b7e599..d33081d544c 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -28967,8 +28967,6 @@ else $as_echo "#define HAVE_TANHF 1" >>confdefs.h - $as_echo "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h - $as_echo "#define HAVE_ICONV 1" >>confdefs.h $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac index e15228dde5e..332af3706d3 100644 --- a/libstdc++-v3/configure.ac +++ b/libstdc++-v3/configure.ac @@ -330,7 +330,6 @@ else AC_DEFINE(HAVE_TANF) AC_DEFINE(HAVE_TANHF) - AC_DEFINE(HAVE_ALIGNED_ALLOC) AC_DEFINE(HAVE_ICONV) AC_DEFINE(HAVE_MEMALIGN) else -- 2.30.2