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:
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.
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.
Am Mittwoch, 16. Februar 2022, 17:35:41 EAT schrieb Carlo Bramini:
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?
I think this is very distro dependent. I think e.g. on my gentoo distro I'd be out of luck (https://bugs.gentoo.org/680652). https://clang.llvm.org/docs/ CrossCompilation.html has some distro independent docs. How to map that to something for $DISTRO is beyond Wine's documentation I'm afraid.
Personally, I have built Wine for aarch64 on aarch64 hosts (i.e., no cross compiling) Fairly simple to pass CC=clang there.
Also don't use --enable-win64 on aarch64; That's something we should fix in our docs :-)
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:
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.