From 58da27c96589f502744a77b1288172ab75df052c Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Sat, 5 Feb 2022 13:26:29 -0800 Subject: Restrict bionic's GCC/GDB selections Refer to the comments in the code for the reason. Signed-off-by: Alexey Neyman --- config/libc/bionic.in | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'config/libc') diff --git a/config/libc/bionic.in b/config/libc/bionic.in index 558c2b47..a5b150ea 100644 --- a/config/libc/bionic.in +++ b/config/libc/bionic.in @@ -1,11 +1,20 @@ # bionic options + ## package android-ndk ## depends on ! WINDOWS && ! BARE_METAL ## depends on ARCH_ARM || ARCH_MIPS || ARCH_X86 ## depends on EXPERIMENTAL +# +# Patches to support bionic were not ported to GCC11 (or to GCC5 and below). ## select GCC_REQUIRE_6_or_later -## +## select GCC_REQUIRE_older_than_11 +# +# GDB10 imported a new drop from gnulib, which fails to build against bionic. +# Patch to support bionic was ported to 7.12 and newer. +## select GDB_REQUIRE_7_12_or_later +## select GDB_REQUIRE_older_than_10 + ## select LIBC_SUPPORT_THREADS_POSIX ## ## help Bionic is the Android C library. It is prebuilt, extracted from the Android NDK. -- cgit v1.2.3