Hello. Sending the same patch with more detailed commit message added.
Radek --- >From 5df85fa4e3a92d96fedc9ede03523b320e9be3db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Barto=C5=88?= <radek.bar...@microsoft.com> Date: Wed, 11 Jun 2025 23:07:21 +0200 Subject: [PATCH v2] Cygwin: dumper: port to AArch64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch allows to build winsup/utils/dumper.cc for AArch64 by handling target architecture condition in dumper::init_core_dump. Signed-off-by: Radek BartoĊ <radek.bar...@microsoft.com> --- winsup/utils/dumper.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/winsup/utils/dumper.cc b/winsup/utils/dumper.cc index 994f9b683..b3151e66d 100644 --- a/winsup/utils/dumper.cc +++ b/winsup/utils/dumper.cc @@ -700,8 +700,10 @@ dumper::init_core_dump () { bfd_init (); -#ifdef __x86_64__ +#if defined(__x86_64__) const char *target = "elf64-x86-64"; +#elif defined(__aarch64__) + const char *target = "elf64-aarch64"; #else #error unimplemented for this target #endif -- 2.50.1.vfs.0.0
v2-0001-Cygwin-dumper-port-to-AArch64.patch
Description: v2-0001-Cygwin-dumper-port-to-AArch64.patch