https://bugs.winehq.org/show_bug.cgi?id=47792
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC| |focht@gmx.net Summary|master wine doenst detect |configure doesn't detect |my clang on configure |clang which is required for | |aarch64 Wine build (CC | |defaults to gcc) Component|-unknown |build-env
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
adding some information here...
The clang requirement comes from bug 38886 ("AArch64 platforms: ABI Problems wrt varargs (needs arm64 specific __builtin_ms_va_list)").
https://source.winehq.org/git/wine.git/commitdiff/8fb8cc03c3edb599dd98f369e1... ("arm64: Use __builtin_ms_va_list and __attribute__((ms_abi)) on arm64.")
GCC project tracking bug:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87334
---
clang is a hard requirement for aarch64 target unless gcc implements '__builtin_ms_va_list' in about 10 years (given the interest so far).
Options:
(1) Assume people building Wine on/for aarch64 are knowledgeable enough to pass proper compiler environment to 'configure'. This obviously didn't work here otherwise there would be no bug report.
(2) Improve the error message by providing a hint how pass clang as compiler.
(3) Have 'configure' override CC with clang on aarch64 by default.
$ wine --version wine-6.0
Regards