[Bug 47792] configure doesn't detect clang which is required for aarch64 Wine build (CC defaults to gcc)

WineHQ Bugzilla wine-bugs at winehq.org
Fri Jan 22 20:02:14 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=47792

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
                 CC|                            |focht at 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 at 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/8fb8cc03c3edb599dd98f369e14a08f899cbff95
("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

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list