diff options
author | Alexey Neyman <stilor@att.net> | 2022-02-04 10:31:25 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2022-02-11 00:47:51 -0800 |
commit | 586c2d01565fca083837e09f217d61e8d7ca7ae2 (patch) | |
tree | 3542983d0e442310f97f7c0879f6f908704c8ff5 /config | |
parent | c48319e65f588179a640bc5b998b6c7ecec487f6 (diff) | |
download | crosstool-ng-586c2d01565fca083837e09f217d61e8d7ca7ae2.tar.gz crosstool-ng-586c2d01565fca083837e09f217d61e8d7ca7ae2.tar.bz2 crosstool-ng-586c2d01565fca083837e09f217d61e8d7ca7ae2.zip |
sparc-leon: restrict to GDB9
Starting with GDB10, it requires support for std::future<> in the
compiler. Such support has not been available on some architectures
until GCC9 (see PR 64735). I haven't determined the exact list of
affected architectures, so decided to make it a broad dependency: for
GDB10+, you need GCC9+.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config')
-rw-r--r-- | config/debug/gdb.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/debug/gdb.in b/config/debug/gdb.in index aa3235ed..b0b9d294 100644 --- a/config/debug/gdb.in +++ b/config/debug/gdb.in @@ -21,6 +21,13 @@ config GDB_DEP_CXX11 depends on !CONFIGURE_has_cxx11 select GDB_REQUIRE_older_than_8_0 +# GDB10 and newer require std::future<> which was not implemented on some +# architectures until GCC9; see GCC PR 64735. +config GDB_DEP_NO_STD_FUTURE + def_bool y + depends on !GCC_9_or_later + select GDB_REQUIRE_older_than_10_2 + # Does GDB need ps_get_thread_area with const qualifier? config GDB_CONST_GET_THREAD_AREA bool |