From cc6b7fad46f5cb3d84cf87ae47c5f723803a67a3 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Wed, 5 Jan 2022 00:37:45 -0800 Subject: Retire obsoleted milestones ... and the code dependent on them, after the latest wave of obsolete package removals. This concludes the glorious history of the original uClibc (non-NG) with lots of kludges removed. There was a choice here, whether to call the resulting libc "uClibc" or "uClibc-ng". I opted in favor of giving uClibc-ng the recognition it deserves, although it had some ripple effect in the ct-ng code. Signed-off-by: Alexey Neyman --- config/debug/gdb.in.native | 8 ++++---- config/debug/ltrace.in | 7 ------- 2 files changed, 4 insertions(+), 11 deletions(-) (limited to 'config/debug') diff --git a/config/debug/gdb.in.native b/config/debug/gdb.in.native index 7ac8ec23..b4721c87 100644 --- a/config/debug/gdb.in.native +++ b/config/debug/gdb.in.native @@ -6,8 +6,8 @@ config GDB_NATIVE depends on ! BARE_METAL depends on ! LIBC_BIONIC depends on CC_LANG_CXX || !GDB_8_0_or_later - select LIBC_UCLIBC_WCHAR if LIBC_UCLIBC && GDB_8_0_or_later - select LIBC_UCLIBC_IPV6 if LIBC_UCLIBC && GDB_8_3_or_later + select LIBC_UCLIBC_WCHAR if LIBC_UCLIBC_NG && GDB_8_0_or_later + select LIBC_UCLIBC_IPV6 if LIBC_UCLIBC_NG && GDB_8_3_or_later select EXPAT_TARGET select NCURSES_TARGET select GMP_TARGET if GDB_11_1_or_later @@ -19,8 +19,8 @@ config GDB_GDBSERVER prompt "gdbserver" default y depends on ! BARE_METAL - select LIBC_UCLIBC_WCHAR if LIBC_UCLIBC && GDB_8_0_or_later - select LIBC_UCLIBC_IPV6 if LIBC_UCLIBC && GDB_8_3_or_later + select LIBC_UCLIBC_WCHAR if LIBC_UCLIBC_NG && GDB_8_0_or_later + select LIBC_UCLIBC_IPV6 if LIBC_UCLIBC_NG && GDB_8_3_or_later help Build and install a gdbserver for the target, to run on the target. diff --git a/config/debug/ltrace.in b/config/debug/ltrace.in index 1cdd1574..75bdf4f5 100644 --- a/config/debug/ltrace.in +++ b/config/debug/ltrace.in @@ -7,10 +7,3 @@ ## help It intercepts and records the dynamic library calls which are called by ## help the executed process and the signals which are received by that process. ## help It can also intercept and print the system calls executed by the program. - -# Ltrace 0.5.3 had a unique hand-crafted configure script that has to be -# run differently from any preceding or following releases. This serves -# as a reminder to remove that code once 0.5.3 support is dropped. -config LTRACE_0_5_3_CONFIGURE - bool - default y if LTRACE_V_0_5_3 -- cgit v1.2.3 From 586c2d01565fca083837e09f217d61e8d7ca7ae2 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Fri, 4 Feb 2022 10:31:25 -0800 Subject: 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 --- config/debug/gdb.in | 7 +++++++ samples/sparc-leon-linux-uclibc/crosstool.config | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'config/debug') 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 diff --git a/samples/sparc-leon-linux-uclibc/crosstool.config b/samples/sparc-leon-linux-uclibc/crosstool.config index 411ea7f4..0fd6360e 100644 --- a/samples/sparc-leon-linux-uclibc/crosstool.config +++ b/samples/sparc-leon-linux-uclibc/crosstool.config @@ -8,7 +8,6 @@ CT_KERNEL_LINUX=y CT_LINUX_V_3_10=y CT_LIBC_UCLIBC_NG=y CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}.config" -CT_LIBC_UCLIBC_IPV6=y CT_GCC_V_6=y CT_CC_GCC_EXTRA_CONFIG_ARRAY="--disable-libitm" CT_CC_LANG_CXX=y -- cgit v1.2.3 From 4c0d78bb64797bee5414bbc92b35dbbb3e57b34f Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Fri, 4 Feb 2022 11:35:52 -0800 Subject: gdb: use single-number versions/milestones for 9+ Starting with GDB9, the release number is only two numbers (with the last being patchlevel). Therefore, keep two numbers for releases 8 and below, but just a single number for 9 and up. Signed-off-by: Alexey Neyman --- config/debug/gdb.in | 4 ++-- config/debug/gdb.in.native | 2 +- packages/gdb/package.desc | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'config/debug') diff --git a/config/debug/gdb.in b/config/debug/gdb.in index b0b9d294..741eeaea 100644 --- a/config/debug/gdb.in +++ b/config/debug/gdb.in @@ -26,7 +26,7 @@ config GDB_DEP_CXX11 config GDB_DEP_NO_STD_FUTURE def_bool y depends on !GCC_9_or_later - select GDB_REQUIRE_older_than_10_2 + select GDB_REQUIRE_older_than_10 # Does GDB need ps_get_thread_area with const qualifier? config GDB_CONST_GET_THREAD_AREA @@ -37,4 +37,4 @@ config GDB_CONST_GET_THREAD_AREA # tarball (instead of a subdirectory of gdb) config GDB_GDBSERVER_TOPLEVEL def_bool y - depends on GDB_10_2_or_later + depends on GDB_10_or_later diff --git a/config/debug/gdb.in.native b/config/debug/gdb.in.native index b4721c87..fc79084d 100644 --- a/config/debug/gdb.in.native +++ b/config/debug/gdb.in.native @@ -10,7 +10,7 @@ config GDB_NATIVE select LIBC_UCLIBC_IPV6 if LIBC_UCLIBC_NG && GDB_8_3_or_later select EXPAT_TARGET select NCURSES_TARGET - select GMP_TARGET if GDB_11_1_or_later + select GMP_TARGET if GDB_11_or_later help Build and install a native gdb for the target, to run on the target. diff --git a/packages/gdb/package.desc b/packages/gdb/package.desc index 06efd376..bdd806ab 100644 --- a/packages/gdb/package.desc +++ b/packages/gdb/package.desc @@ -1,6 +1,6 @@ origin='GNU' repository='git git://sourceware.org/git/binutils-gdb.git' mirrors='$(CT_Mirrors GNU gdb) $(CT_Mirrors sourceware gdb/releases)' -relevantpattern='*.*|[a-z.]' -milestones='7.11 7.12 8.0 8.3 10.2 11.1' +relevantpattern='[78].*|. *|.' +milestones='7.11 7.12 8.0 8.3 10 11' archive_formats='.tar.xz .tar.gz' -- cgit v1.2.3