diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2020-03-21 11:46:02 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2020-04-29 09:28:01 +0200 |
commit | afa3d80e86fb538ce7f5f1485fa774c11fdaf0f6 (patch) | |
tree | 9e474a871df1c80540340d8cf444f10dcc6009eb /configure | |
parent | 4912a04f8b35fadf65973bffc7037432ff7b7980 (diff) | |
download | gcc-afa3d80e86fb538ce7f5f1485fa774c11fdaf0f6.zip gcc-afa3d80e86fb538ce7f5f1485fa774c11fdaf0f6.tar.gz gcc-afa3d80e86fb538ce7f5f1485fa774c11fdaf0f6.tar.bz2 |
[gcn] Don't default to building target-libstdc++-v3 [PR92713]
... 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.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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" |