Cannot configure ARM64 (outdated wiki?)

Jinoh Kang jinoh.kang.kr at gmail.com
Sat Feb 19 06:28:39 CST 2022


On 2/16/22 23:35, Carlo Bramini wrote:
> Hello,
> I'm trying to build latest WINE.git for Aarch64.
> My system is:
> 
> uname -a
> Linux debian 5.14.0-4-amd64 #1 SMP Debian 5.14.16-1 (2021-11-03) x86_64 GNU/Linux
> 
> I compiled successfully WINE for AMD64, so I have the tools.
> Next, I installed the aarch64-linux-gnu cross compiler and the latest clang packages available.
> Finally, I configured with:
> 
> ../configure --host=aarch64-linux-gnu host_alias=aarch64-linux-gnu --with-wine-tools=../wine_amd64_build/ --without-freetype --without-x --enable-win64
> 
> as it is described here:
> 
> https://wiki.winehq.org/ARM64
> 
> but unfortunately it does not work.
> The configure process hangs with this message:
> 
> checking whether aarch64-linux-gnu-gcc supports __builtin_ms_va_list... no
> configure: error: You need clang >= 5.0 to build Wine for arm64.

You may want to use CROSSCC=clang.

> 
> It seems that I'm missing something and sadly the wiki does not give enough information.
> I suspect that those information are completely wrong or just outdated, if you need to use clang for building for ARM64.
> Can you give me some advice about which other packages I must install (if any) and/or if there are more things to do, like setting the clang options like target/sysroot/etc?
> 
> Talking about the build process, in my opinion it would be worth to integrate that wiki page with such information, if it's possible.
> 
> Sincerely.
> 


-- 
Sincerely,
Jinoh Kang



More information about the wine-devel mailing list