Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/1] Support building binutils-gdb for an Android (bionic) host
@ 2026-10-29 12:41 trcrsired
  2026-10-29 12:41 ` [PATCH 1/1] " trcrsired
  0 siblings, 1 reply; 9+ messages in thread
From: trcrsired @ 2026-10-29 12:41 UTC (permalink / raw)
  To: binutils; +Cc: gdb-patches

This patch makes binutils-gdb build with --host=aarch64-linux-android30
against bionic: PATH_MAX is taken from <linux/limits.h>, UINTPTR_WIDTH no
longer relies on __UINTPTR_WIDTH__, _FORTIFY_SOURCE is not enabled for
C++, gdbserver auto-detects the auxv types, and gprofng is skipped on
Android.

The two gnulib/import edits are direct modifications.  If they must go
through update-gnulib.sh, I can rework them as a gnulib patch.

trcrsired (1):
  Support building binutils-gdb for an Android (bionic) host

 configure                 |  2 +-
 configure.ac              |  2 +-
 gdbserver/configure       | 17 +----------------
 gdbserver/configure.ac    | 23 ++++++-----------------
 gdbsupport/common-defs.h  |  2 +-
 gnulib/import/pathmax.h   |  8 ++++++++
 gnulib/import/rawmemchr.c |  8 +++++++-
 include/libiberty.h       |  8 ++++++++
 8 files changed, 33 insertions(+), 37 deletions(-)

-- 
2.56.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/1] Support building binutils-gdb for an Android (bionic) host
  2026-10-29 12:41 [PATCH 0/1] Support building binutils-gdb for an Android (bionic) host trcrsired
@ 2026-10-29 12:41 ` trcrsired
  2026-10-30 13:56   ` Jan Beulich
  2026-10-30 17:57   ` Tom Tromey
  0 siblings, 2 replies; 9+ messages in thread
From: trcrsired @ 2026-10-29 12:41 UTC (permalink / raw)
  To: binutils; +Cc: gdb-patches

Building with --host=aarch64-linux-android30 failed because bionic is not
glibc:

- The compiler's <limits.h> does not expose PATH_MAX (bionic defines it in
  <linux/limits.h>), while <sys/param.h> defines MAXPATHLEN as PATH_MAX.
  Make PATH_MAX available from libiberty.h and gnulib's pathmax.h for
  __ANDROID__.
- bionic's <stdint.h> defines UINTPTR_WIDTH in terms of
  __UINTPTR_WIDTH__, which GCC does not predefine.  Derive the width from
  the type in rawmemchr.c.
- bionic's fortify headers do not compile from C++ with the Android GCC
  port, so do not define _FORTIFY_SOURCE for __ANDROID__.
- Modern NDKs provide Elf32_auxv_t/Elf64_auxv_t, so stop assuming Android
  lacks them in gdbserver; linux-low.cc otherwise defines conflicting
  struct tags.
- gprofng needs glibc facilities (pthread cancellation, dlinfo), so do
  not build it for android targets.

	/
	* configure.ac (enable_gprofng): Do not build gprofng for android
	targets.
	* configure: Regenerate.

include/ChangeLog:

	* libiberty.h: Include <linux/limits.h> on Android when PATH_MAX
	is not defined.
---
 configure                 |  2 +-
 configure.ac              |  2 +-
 gdbserver/configure       | 17 +----------------
 gdbserver/configure.ac    | 23 ++++++-----------------
 gdbsupport/common-defs.h  |  2 +-
 gnulib/import/pathmax.h   |  8 ++++++++
 gnulib/import/rawmemchr.c |  8 +++++++-
 include/libiberty.h       |  8 ++++++++
 8 files changed, 33 insertions(+), 37 deletions(-)

diff --git a/configure b/configure
index 2861694673e..1648f8f60c1 100755
--- a/configure
+++ b/configure
@@ -3203,7 +3203,7 @@ fi
 
 if test "$enable_gprofng" = "yes"; then
   case "${target}" in
-    *-musl*)
+    *-musl* | *-android*)
       ;;
     x86_64-*-linux* | i?86-*-linux* | aarch64-*-linux* | riscv64-*-linux*)
     configdirs="$configdirs gprofng"
diff --git a/configure.ac b/configure.ac
index cae0042411b..4a7a9e4916d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -415,7 +415,7 @@ enable_gprofng=$enableval,
 enable_gprofng=yes)
 if test "$enable_gprofng" = "yes"; then
   case "${target}" in
-    *-musl*)
+    *-musl* | *-android*)
       ;;
     x86_64-*-linux* | i?86-*-linux* | aarch64-*-linux* | riscv64-*-linux*)
     configdirs="$configdirs gprofng"
diff --git a/gdbserver/configure b/gdbserver/configure
index e00e1e1c1c5..acb0eea610c 100755
--- a/gdbserver/configure
+++ b/gdbserver/configure
@@ -13269,20 +13269,7 @@ _ACEOF
 fi
 
 
-case "${target}" in
-  *-android*)
-    # Starting with NDK version 9, <elf.h> actually includes definitions
-    # of Elf32_auxv_t and Elf64_auxv_t. But sadly, <elf.h> includes
-    # <sys/exec_elf.h> which defines some of the ELF types incorrectly,
-    # leading to conflicts with the definitions from <linux/elf.h>.
-    # This makes it impossible for us to include both <elf.h> and
-    # <linux/elf.h>, which means that, in practice, we do not have
-    # access to Elf32_auxv_t and Elf64_auxv_t on this platform.
-    # Therefore, do not try to auto-detect availability, as it would
-    # get it wrong on this platform.
-    ;;
-  *)
-    ac_fn_c_check_type "$LINENO" "Elf32_auxv_t" "ac_cv_type_Elf32_auxv_t" "#include <elf.h>
+ac_fn_c_check_type "$LINENO" "Elf32_auxv_t" "ac_cv_type_Elf32_auxv_t" "#include <elf.h>
 
 "
 if test "x$ac_cv_type_Elf32_auxv_t" = xyes; then :
@@ -13305,8 +13292,6 @@ _ACEOF
 
 fi
 
-esac
-
 
 
 # Check whether --with-pkgversion was given.
diff --git a/gdbserver/configure.ac b/gdbserver/configure.ac
index 16a2520baf4..cc73c22a580 100644
--- a/gdbserver/configure.ac
+++ b/gdbserver/configure.ac
@@ -109,23 +109,12 @@ AC_CHECK_TYPES(socklen_t, [], [],
 #endif
 ])
 
-case "${target}" in
-  *-android*)
-    # Starting with NDK version 9, <elf.h> actually includes definitions
-    # of Elf32_auxv_t and Elf64_auxv_t. But sadly, <elf.h> includes
-    # <sys/exec_elf.h> which defines some of the ELF types incorrectly,
-    # leading to conflicts with the definitions from <linux/elf.h>.
-    # This makes it impossible for us to include both <elf.h> and
-    # <linux/elf.h>, which means that, in practice, we do not have
-    # access to Elf32_auxv_t and Elf64_auxv_t on this platform.
-    # Therefore, do not try to auto-detect availability, as it would
-    # get it wrong on this platform.
-    ;;
-  *)
-    AC_CHECK_TYPES([Elf32_auxv_t, Elf64_auxv_t], [], [],
-    #include <elf.h>
-    )
-esac
+# Modern NDKs expose Elf32_auxv_t/Elf64_auxv_t as typedefs in <elf.h>;
+# auto-detect them instead of assuming Android lacks them (the old NDK 9
+# <sys/exec_elf.h> conflict no longer exists).
+AC_CHECK_TYPES([Elf32_auxv_t, Elf64_auxv_t], [], [],
+#include <elf.h>
+)
 
 ACX_PKGVERSION([GDB])
 ACX_BUGURL([http://www.gnu.org/software/gdb/bugs/])
diff --git a/gdbsupport/common-defs.h b/gdbsupport/common-defs.h
index 1c0ae0ad9d1..b29a81ada40 100644
--- a/gdbsupport/common-defs.h
+++ b/gdbsupport/common-defs.h
@@ -79,7 +79,7 @@
    _FORTIFY_SOURCE there.  */
 
 #if (!defined _FORTIFY_SOURCE && defined __OPTIMIZE__ && __OPTIMIZE__ > 0 \
-     && !defined(__MINGW32__))
+     && !defined(__MINGW32__) && !defined(__ANDROID__))
 #define _FORTIFY_SOURCE 2
 #endif
 
diff --git a/gnulib/import/pathmax.h b/gnulib/import/pathmax.h
index 19b93d7eab1..6749e699e94 100644
--- a/gnulib/import/pathmax.h
+++ b/gnulib/import/pathmax.h
@@ -47,6 +47,14 @@
 #  define _POSIX_PATH_MAX 256
 # endif
 
+# if defined __ANDROID__ && !defined PATH_MAX
+/* bionic's <sys/param.h> defines MAXPATHLEN as PATH_MAX, but PATH_MAX
+   comes from <linux/limits.h> and may not be exposed by the compiler's
+   <limits.h>.  Include it here so that the MAXPATHLEN fallback below does
+   not define PATH_MAX in terms of itself.  */
+#  include <linux/limits.h>
+# endif
+
 /* Don't include sys/param.h if it already has been.  */
 # if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
 #  include <sys/param.h>
diff --git a/gnulib/import/rawmemchr.c b/gnulib/import/rawmemchr.c
index ea68c1bfc6a..50d5918ba07 100644
--- a/gnulib/import/rawmemchr.c
+++ b/gnulib/import/rawmemchr.c
@@ -35,7 +35,13 @@ rawmemchr (const void *s, int c_in)
   /* Change this typedef to experiment with performance.  */
   typedef uintptr_t longword;
   /* If you change the "uintptr_t", you should change UINTPTR_WIDTH to match.
-     This verifies that the type does not have padding bits.  */
+     This verifies that the type does not have padding bits.  bionic's
+     <stdint.h> defines UINTPTR_WIDTH in terms of __UINTPTR_WIDTH__, which GCC
+     does not predefine, so derive the width from the type in that case.  */
+#ifndef __UINTPTR_WIDTH__
+# undef UINTPTR_WIDTH
+# define UINTPTR_WIDTH (sizeof (uintptr_t) * CHAR_BIT)
+#endif
   verify (UINTPTR_WIDTH == UCHAR_WIDTH * sizeof (longword));
 
   const unsigned char *char_ptr;
diff --git a/include/libiberty.h b/include/libiberty.h
index bdb491b9b37..6c1f31aa4f7 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -48,6 +48,14 @@ extern "C" {
 
 #include <stdio.h>
 
+/* bionic's <sys/param.h> defines MAXPATHLEN in terms of PATH_MAX, but
+   PATH_MAX lives in <linux/limits.h> and is not exposed by every
+   compiler's <limits.h>.  Make it available before any PATH_MAX or
+   MAXPATHLEN use.  */
+#if defined (__ANDROID__) && !defined PATH_MAX
+# include <linux/limits.h>
+#endif
+
 /* If the OS supports it, ensure that the supplied stream is setup to
    avoid any multi-threaded locking.  Otherwise leave the FILE pointer
    unchanged.  If the stream is NULL do nothing.  */
-- 
2.56.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/1] Support building binutils-gdb for an Android (bionic) host
  2026-10-29 12:41 ` [PATCH 1/1] " trcrsired
@ 2026-10-30 13:56   ` Jan Beulich
  2026-10-30 17:57   ` Tom Tromey
  1 sibling, 0 replies; 9+ messages in thread
From: Jan Beulich @ 2026-10-30 13:56 UTC (permalink / raw)
  To: trcrsired; +Cc: gdb-patches, binutils

On 29.10.2026 13:41, trcrsired wrote:
> Building with --host=aarch64-linux-android30 failed because bionic is not
> glibc:
> 
> - The compiler's <limits.h> does not expose PATH_MAX (bionic defines it in
>   <linux/limits.h>), while <sys/param.h> defines MAXPATHLEN as PATH_MAX.
>   Make PATH_MAX available from libiberty.h and gnulib's pathmax.h for
>   __ANDROID__.
> - bionic's <stdint.h> defines UINTPTR_WIDTH in terms of
>   __UINTPTR_WIDTH__, which GCC does not predefine.  Derive the width from
>   the type in rawmemchr.c.
> - bionic's fortify headers do not compile from C++ with the Android GCC
>   port, so do not define _FORTIFY_SOURCE for __ANDROID__.
> - Modern NDKs provide Elf32_auxv_t/Elf64_auxv_t, so stop assuming Android
>   lacks them in gdbserver; linux-low.cc otherwise defines conflicting
>   struct tags.
> - gprofng needs glibc facilities (pthread cancellation, dlinfo), so do
>   not build it for android targets.
> 
> 	/
> 	* configure.ac (enable_gprofng): Do not build gprofng for android
> 	targets.
> 	* configure: Regenerate.
> 
> include/ChangeLog:
> 
> 	* libiberty.h: Include <linux/limits.h> on Android when PATH_MAX
> 	is not defined.
> ---
>  configure                 |  2 +-
>  configure.ac              |  2 +-
>  gdbserver/configure       | 17 +----------------
>  gdbserver/configure.ac    | 23 ++++++-----------------
>  gdbsupport/common-defs.h  |  2 +-
>  gnulib/import/pathmax.h   |  8 ++++++++
>  gnulib/import/rawmemchr.c |  8 +++++++-
>  include/libiberty.h       |  8 ++++++++
>  8 files changed, 33 insertions(+), 37 deletions(-)

Top-level and libiberty changes want submitting to gcc-patches@, for
binutils to then sync. The remaining changes want submitting to
gdb-patches@.

Also there may need to be a Signed-off-by of yours, unless you have a
copyright assignment in place with the FSF.

Jan

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/1] Support building binutils-gdb for an Android (bionic) host
  2026-10-29 12:41 ` [PATCH 1/1] " trcrsired
  2026-10-30 13:56   ` Jan Beulich
@ 2026-10-30 17:57   ` Tom Tromey
  2026-10-30 19:51     ` Simon Marchi
  1 sibling, 1 reply; 9+ messages in thread
From: Tom Tromey @ 2026-10-30 17:57 UTC (permalink / raw)
  To: trcrsired; +Cc: binutils, gdb-patches

>>>>> trcrsired  <oyzawqgcfc@gmail.com> writes:

> Building with --host=aarch64-linux-android30 failed because bionic is not
> glibc:

Thanks for the patch.

In addition to what Jan said, I have a few minor comments.

> - The compiler's <limits.h> does not expose PATH_MAX (bionic defines it in
>   <linux/limits.h>), while <sys/param.h> defines MAXPATHLEN as PATH_MAX.
>   Make PATH_MAX available from libiberty.h and gnulib's pathmax.h for
>   __ANDROID__.

I'm curious why this is needed in libiberty.h specifically.

I somewhat thought gdb didn't need PATH_MAX.

> diff --git a/gdbserver/configure.ac b/gdbserver/configure.ac
> index 16a2520baf4..cc73c22a580 100644
> --- a/gdbserver/configure.ac
> +++ b/gdbserver/configure.ac
[...]

Here at AdaCore we have essentially this same patch in place.
If you sent this separately I would approve it.

> diff --git a/gdbsupport/common-defs.h b/gdbsupport/common-defs.h
> index 1c0ae0ad9d1..b29a81ada40 100644
> --- a/gdbsupport/common-defs.h
> +++ b/gdbsupport/common-defs.h

This one also seems fine to me.

> diff --git a/gnulib/import/rawmemchr.c b/gnulib/import/rawmemchr.c
> index ea68c1bfc6a..50d5918ba07 100644
> --- a/gnulib/import/rawmemchr.c
> +++ b/gnulib/import/rawmemchr.c

gnulib changes are a pain I'm afraid.

In addition to patching the tree, you have to add the patch itself to
gnulib/patches so they can potentially be reapplied by update-gnulib.sh.

Last time I tried to update gnulib, it was a total failure, though.
I recommend not trying this.

However what you could do is put the patch in patches, then run
update-gnulib.sh (using the existing hash) to verify that the patch
application works as intended.

I looked at upstream gnulib and it doesn't seem to have any relevant
change here.  So you might consider submitting this change to gnulib as
well.

thanks,
Tom

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/1] Support building binutils-gdb for an Android (bionic) host
  2026-10-30 17:57   ` Tom Tromey
@ 2026-10-30 19:51     ` Simon Marchi
  2026-10-30 20:31       ` coshvji cujmlqef
  2026-11-03 14:21       ` Tom Tromey
  0 siblings, 2 replies; 9+ messages in thread
From: Simon Marchi @ 2026-10-30 19:51 UTC (permalink / raw)
  To: Tom Tromey, trcrsired; +Cc: binutils, gdb-patches

Hi,

Could we determine (and ideally document) a baseline Android that we
need to support?  The other day when removing ancient hacks there were
some made for old Bionic verisons, and I had to guess whether they were
still needed or not.  If we had a clear policy (and I wish we had that
for other platforms), it would make it much easier.

Simon

On 10/30/26 1:57 PM, Tom Tromey wrote:
>>>>>> trcrsired  <oyzawqgcfc@gmail.com> writes:
> 
>> Building with --host=aarch64-linux-android30 failed because bionic is not
>> glibc:
> 
> Thanks for the patch.
> 
> In addition to what Jan said, I have a few minor comments.
> 
>> - The compiler's <limits.h> does not expose PATH_MAX (bionic defines it in
>>   <linux/limits.h>), while <sys/param.h> defines MAXPATHLEN as PATH_MAX.
>>   Make PATH_MAX available from libiberty.h and gnulib's pathmax.h for
>>   __ANDROID__.
> 
> I'm curious why this is needed in libiberty.h specifically.
> 
> I somewhat thought gdb didn't need PATH_MAX.
> 
>> diff --git a/gdbserver/configure.ac b/gdbserver/configure.ac
>> index 16a2520baf4..cc73c22a580 100644
>> --- a/gdbserver/configure.ac
>> +++ b/gdbserver/configure.ac
> [...]
> 
> Here at AdaCore we have essentially this same patch in place.
> If you sent this separately I would approve it.
> 
>> diff --git a/gdbsupport/common-defs.h b/gdbsupport/common-defs.h
>> index 1c0ae0ad9d1..b29a81ada40 100644
>> --- a/gdbsupport/common-defs.h
>> +++ b/gdbsupport/common-defs.h
> 
> This one also seems fine to me.
> 
>> diff --git a/gnulib/import/rawmemchr.c b/gnulib/import/rawmemchr.c
>> index ea68c1bfc6a..50d5918ba07 100644
>> --- a/gnulib/import/rawmemchr.c
>> +++ b/gnulib/import/rawmemchr.c
> 
> gnulib changes are a pain I'm afraid.
> 
> In addition to patching the tree, you have to add the patch itself to
> gnulib/patches so they can potentially be reapplied by update-gnulib.sh.
> 
> Last time I tried to update gnulib, it was a total failure, though.
> I recommend not trying this.
> 
> However what you could do is put the patch in patches, then run
> update-gnulib.sh (using the existing hash) to verify that the patch
> application works as intended.
> 
> I looked at upstream gnulib and it doesn't seem to have any relevant
> change here.  So you might consider submitting this change to gnulib as
> well.
> 
> thanks,
> Tom

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/1] Support building binutils-gdb for an Android (bionic) host
  2026-10-30 19:51     ` Simon Marchi
@ 2026-10-30 20:31       ` coshvji cujmlqef
  2026-11-03 14:21       ` Tom Tromey
  1 sibling, 0 replies; 9+ messages in thread
From: coshvji cujmlqef @ 2026-10-30 20:31 UTC (permalink / raw)
  To: Simon Marchi, Tom Tromey; +Cc: binutils, gdb-patches

[-- Attachment #1: Type: text/plain, Size: 2884 bytes --]

support android >= android api version 30 (aka android 10) would be great

Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: Simon Marchi <simark@simark.ca>
Sent: Saturday, 31 October 2026 03:51:40
To: Tom Tromey <tromey@adacore.com>; trcrsired <oyzawqgcfc@gmail.com>
Cc: binutils@sourceware.org <binutils@sourceware.org>; gdb-patches@sourceware.org <gdb-patches@sourceware.org>
Subject: Re: [PATCH 1/1] Support building binutils-gdb for an Android (bionic) host

Hi,

Could we determine (and ideally document) a baseline Android that we
need to support?  The other day when removing ancient hacks there were
some made for old Bionic verisons, and I had to guess whether they were
still needed or not.  If we had a clear policy (and I wish we had that
for other platforms), it would make it much easier.

Simon

On 10/30/26 1:57 PM, Tom Tromey wrote:
>>>>>> trcrsired  <oyzawqgcfc@gmail.com> writes:
>
>> Building with --host=aarch64-linux-android30 failed because bionic is not
>> glibc:
>
> Thanks for the patch.
>
> In addition to what Jan said, I have a few minor comments.
>
>> - The compiler's <limits.h> does not expose PATH_MAX (bionic defines it in
>>   <linux/limits.h>), while <sys/param.h> defines MAXPATHLEN as PATH_MAX.
>>   Make PATH_MAX available from libiberty.h and gnulib's pathmax.h for
>>   __ANDROID__.
>
> I'm curious why this is needed in libiberty.h specifically.
>
> I somewhat thought gdb didn't need PATH_MAX.
>
>> diff --git a/gdbserver/configure.ac b/gdbserver/configure.ac
>> index 16a2520baf4..cc73c22a580 100644
>> --- a/gdbserver/configure.ac
>> +++ b/gdbserver/configure.ac
> [...]
>
> Here at AdaCore we have essentially this same patch in place.
> If you sent this separately I would approve it.
>
>> diff --git a/gdbsupport/common-defs.h b/gdbsupport/common-defs.h
>> index 1c0ae0ad9d1..b29a81ada40 100644
>> --- a/gdbsupport/common-defs.h
>> +++ b/gdbsupport/common-defs.h
>
> This one also seems fine to me.
>
>> diff --git a/gnulib/import/rawmemchr.c b/gnulib/import/rawmemchr.c
>> index ea68c1bfc6a..50d5918ba07 100644
>> --- a/gnulib/import/rawmemchr.c
>> +++ b/gnulib/import/rawmemchr.c
>
> gnulib changes are a pain I'm afraid.
>
> In addition to patching the tree, you have to add the patch itself to
> gnulib/patches so they can potentially be reapplied by update-gnulib.sh.
>
> Last time I tried to update gnulib, it was a total failure, though.
> I recommend not trying this.
>
> However what you could do is put the patch in patches, then run
> update-gnulib.sh (using the existing hash) to verify that the patch
> application works as intended.
>
> I looked at upstream gnulib and it doesn't seem to have any relevant
> change here.  So you might consider submitting this change to gnulib as
> well.
>
> thanks,
> Tom

[-- Attachment #2: Type: text/html, Size: 5000 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/1] Support building binutils-gdb for an Android (bionic) host
  2026-10-30 19:51     ` Simon Marchi
  2026-10-30 20:31       ` coshvji cujmlqef
@ 2026-11-03 14:21       ` Tom Tromey
  2026-11-03 14:58         ` Simon Marchi
  1 sibling, 1 reply; 9+ messages in thread
From: Tom Tromey @ 2026-11-03 14:21 UTC (permalink / raw)
  To: Simon Marchi; +Cc: Tom Tromey, trcrsired, gdb-patches

Simon> Could we determine (and ideally document) a baseline Android that
Simon> we need to support?

It would be nice but I don't have that information.
I'm not even sure which versions need the code currently in the tree and
which do not.

Tom

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/1] Support building binutils-gdb for an Android (bionic) host
  2026-11-03 14:21       ` Tom Tromey
@ 2026-11-03 14:58         ` Simon Marchi
  2026-11-17 18:43           ` Tom Tromey
  0 siblings, 1 reply; 9+ messages in thread
From: Simon Marchi @ 2026-11-03 14:58 UTC (permalink / raw)
  To: Tom Tromey; +Cc: trcrsired, gdb-patches

On 11/3/26 9:21 AM, Tom Tromey wrote:
> Simon> Could we determine (and ideally document) a baseline Android that
> Simon> we need to support?
> 
> It would be nice but I don't have that information.
> I'm not even sure which versions need the code currently in the tree and
> which do not.
> 
> Tom

I would propose to at least document the version at which both you and
OP build and test.

Simon

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/1] Support building binutils-gdb for an Android (bionic) host
  2026-11-03 14:58         ` Simon Marchi
@ 2026-11-17 18:43           ` Tom Tromey
  0 siblings, 0 replies; 9+ messages in thread
From: Tom Tromey @ 2026-11-17 18:43 UTC (permalink / raw)
  To: Simon Marchi; +Cc: Tom Tromey, trcrsired, gdb-patches

>> It would be nice but I don't have that information.
>> I'm not even sure which versions need the code currently in the tree and
>> which do not.

Simon> I would propose to at least document the version at which both you and
Simon> OP build and test.

Apparently here at AdaCore we use API level 29, aka Android 10.
I don't know what this means, this is just what I was told.

Tom

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-11-17 18:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-29 12:41 [PATCH 0/1] Support building binutils-gdb for an Android (bionic) host trcrsired
2026-10-29 12:41 ` [PATCH 1/1] " trcrsired
2026-10-30 13:56   ` Jan Beulich
2026-10-30 17:57   ` Tom Tromey
2026-10-30 19:51     ` Simon Marchi
2026-10-30 20:31       ` coshvji cujmlqef
2026-11-03 14:21       ` Tom Tromey
2026-11-03 14:58         ` Simon Marchi
2026-11-17 18:43           ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox