]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[gcn] Don't default to building target-libstdc++-v3 [PR92713]
authorThomas Schwinge <thomas@codesourcery.com>
Sat, 21 Mar 2020 10:46:02 +0000 (11:46 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Wed, 29 Apr 2020 07:28:01 +0000 (09:28 +0200)
... which hasn't been ported/fails to build when using newlib (with GCC commit
b73f69020f08208d2d969fcf8879bd294a6e3596 sources, and newlib commit
6d79e0a58866548f435527798fbd4a6849d05bc7, tag: newlib-3.3.0 sources):

    In file included from [...]/build-gcc-offload-amdgcn-amdhsa/amdgcn-amdhsa/libstdc++-v3/include/csetjmp:42,
                     from [...]/source-gcc/libstdc++-v3/include/precompiled/stdc++.h:42:
    [...]/source-gcc/newlib/libc/include/setjmp.h:15:6: error: variable or field 'longjmp' declared void
       15 | void longjmp (jmp_buf __jmpb, int __retval)
          |      ^~~~~~~
    [...]
    Makefile:1824: recipe for target 'amdgcn-amdhsa/bits/stdc++.h.gch/O2ggnu++0x.gch' failed
    make[3]: *** [amdgcn-amdhsa/bits/stdc++.h.gch/O2ggnu++0x.gch] Error 1

PR target/92713
* configure.ac ["${ENABLE_LIBSTDCXX}" = "default" && amdgcn*-*-*]
(noconfigdirs): Add 'target-libstdc++-v3'.
* configure: Regenerate.

ChangeLog
configure
configure.ac

index 3b667b18f9f1a2e4959d47f019317da2935fbe9c..a7fcf77b9b2638b2c77c2c2365f1f6c1c457693b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2020-04-29  Thomas Schwinge  <thomas@codesourcery.com>
+
+       PR target/92713
+       * configure.ac ["${ENABLE_LIBSTDCXX}" = "default" && amdgcn*-*-*]
+       (noconfigdirs): Add 'target-libstdc++-v3'.
+       * configure: Regenerate.
+
 2020-04-21  Stephen Casner  <casner@acm.org>
 
        PR 25830
index 815069c9856d0575382718294929c21b4f269ea2..4cc938ebb7d8dc3447a7bf7effda353b827b5b50 100755 (executable)
--- a/configure
+++ b/configure
@@ -3387,6 +3387,10 @@ if test "${ENABLE_LIBSTDCXX}" = "default" ; then
       # VxWorks uses the Dinkumware C++ library.
       noconfigdirs="$noconfigdirs target-libstdc++-v3"
       ;;
+    amdgcn*-*-*)
+      # Not ported/fails to build when using newlib.
+      noconfigdirs="$noconfigdirs target-libstdc++-v3"
+      ;;
     arm*-wince-pe*)
       # the C++ libraries don't build on top of CE's C libraries
       noconfigdirs="$noconfigdirs target-libstdc++-v3"
index b95532cae90f0317ba03932d5f68fe1a0889c2b7..c78d9cbea62d75c75e0ebe0f8efc6dbbe13c4fcc 100644 (file)
@@ -668,6 +668,10 @@ if test "${ENABLE_LIBSTDCXX}" = "default" ; then
       # VxWorks uses the Dinkumware C++ library.
       noconfigdirs="$noconfigdirs target-libstdc++-v3"
       ;;
+    amdgcn*-*-*)
+      # Not ported/fails to build when using newlib.
+      noconfigdirs="$noconfigdirs target-libstdc++-v3"
+      ;;
     arm*-wince-pe*)
       # the C++ libraries don't build on top of CE's C libraries
       noconfigdirs="$noconfigdirs target-libstdc++-v3"