delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/12/05/07:44:55

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5B5Cit9Y1291768
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 5B5Cit9Y1291768
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=t8T6k4hj
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D68FD4CCCA19
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1764938694;
bh=PFxAVujDt6HdvGunN1Uz70PXdhif9lAMO57FYlVO+ig=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=t8T6k4hjidZFVH4TfEQ0FtysJuYI5UbTMLA/+eYlE3Kz8Mvoe+mYC+ohUXcmIDbf6
P5eB7oE0L3b7K8v0q5Z/Yy6a5K1lZKqHv1BGjPBZ89PH/bHJIkO/05UDtywBcxrTTr
PnmDfjrcNxB2r1QlRbzo84m5wy5B9tCG22y+Wolo=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 819114BCA41B
Date: Fri, 5 Dec 2025 13:44:35 +0100
To: cygwin AT cygwin DOT com
Subject: Re: Support for aarch64-w64-mingw32 into windows-default-manifest
Message-ID: <aTLTs8WEmrdvfncH@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com, "Carlo B." <carlo DOT bramini AT gmail DOT com>
References: <CADt9576zVEQqozwKF=-a5KRMKAMwbw7thu=53QYEXfh2uoeHpQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CADt9576zVEQqozwKF=-a5KRMKAMwbw7thu=53QYEXfh2uoeHpQ@mail.gmail.com>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

On Dec  5 09:56, Carlo B. via Cygwin wrote:
> Hello,
> my aarch64-w64-mingw32 cross compiler requires
> windows-default-manifest for compiling itself, otherwise the linker
> prints an error because default-manifest.o is missing.
> I recovered windows-default-manifest package from here:
> 
> https://sourceware.org/git/cygwin-apps/windows-default-manifest.git
> 
> However, it requires a tiny fix for supporting also Windows for ARM64.
> I fixed it and I attached my patch here, but since it seems to be not
> touched in the last 11 years (at least from the logs), I'm not sure
> where I can send my patch and if there is a maintainer for eventually
> updating that package with my patch.

Sending it to this mailing list was the right thing to do.  Thanks for
the patch.  I'll update the package in the next couple of days.

I'm only a bit surprised.  Mingw-w64 supports aarch64 a bit longer
already, so I wonder that this hasn't been found earlier...


> Thank you very much.
> 
> Sincerely,
> 
> Carlo Bramini.
> 
> --- origsrc/windows-default-manifest/configure.ac    2025-12-04
> 14:57:18.000000000 +0100
> +++ src/windows-default-manifest/configure.ac    2025-12-05
> 09:36:32.509386400 +0100
> @@ -27,6 +27,9 @@ case "${host_cpu}" in
>    x86_64)
>      RC_FLAGS="-F pe-x86-64"
>      ;;
> +  aarch64)
> +    RC_FLAGS="-F pe-aarch64-little"
> +    ;;
>  esac
> 
>  AC_SUBST(RC_FLAGS)

Thanks,
Corinna

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019