On 11/09/16 11:55 +0200, Christophe Lyon wrote:
On 11 September 2016 at 11:38, Jonathan Wakely <jwak...@redhat.com> wrote:
Hmm, I'm not sure why it's not failing on all targets, but this should
I don't know either: the same target (arm-none-eabi) but
--with-cpu=cortex-a9 does build.

fix it. Could you test it?

It's not sufficient: I had to apply the same change to new_opvant.cc
for the build to complete.

Tested powerpc64le-linux.  Committed to trunk.

Thanks for the quick testing.



commit 8f127734ff660dabfe6c8f196e34ccc5dc436518
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Sun Sep 11 11:07:22 2016 +0100

    Fix bootstrap failure when ATOMIC_INT_LOCK_FREE < 2
    
    	* libsupc++/new_opant.cc: Include exception_defines.h.
    	* libsupc++/new_opvant.cc: Likewise.

diff --git a/libstdc++-v3/libsupc++/new_opant.cc b/libstdc++-v3/libsupc++/new_opant.cc
index c863d64..1c6ccab 100644
--- a/libstdc++-v3/libsupc++/new_opant.cc
+++ b/libstdc++-v3/libsupc++/new_opant.cc
@@ -24,6 +24,7 @@
 // <http://www.gnu.org/licenses/>.
 
 #include <bits/c++config.h>
+#include <bits/exception_defines.h>
 #include "new"
 
 _GLIBCXX_WEAK_DEFINITION void*
diff --git a/libstdc++-v3/libsupc++/new_opvant.cc b/libstdc++-v3/libsupc++/new_opvant.cc
index a32fec8..2b29547 100644
--- a/libstdc++-v3/libsupc++/new_opvant.cc
+++ b/libstdc++-v3/libsupc++/new_opvant.cc
@@ -24,6 +24,7 @@
 // <http://www.gnu.org/licenses/>.
 
 #include <bits/c++config.h>
+#include <bits/exception_defines.h>
 #include "new"
 
 _GLIBCXX_WEAK_DEFINITION void*

Reply via email to