[Bug 47792] New: master wine doenst detect my clang on configure
https://bugs.winehq.org/show_bug.cgi?id=47792 Bug ID: 47792 Summary: master wine doenst detect my clang on configure Product: Wine Version: 4.16 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: salva.liebana(a)gmail.com Distribution: --- [pi(a)pi wine]$ ./configure checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for cpp... cpp checking for ld... ld checking whether gcc supports __builtin_ms_va_list... no configure: error: You need clang >= 5.0 to build Wine for arm64. [pi(a)pi wine]$ clang --version clang version 8.0.1 (tags/RELEASE_801/final) Target: aarch64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47792 Salvador <salva.liebana(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86 |aarch64 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47792 --- Comment #1 from Alexandre Julliard <julliard(a)winehq.org> --- Please attach your config.log. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47792 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47792 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv(a)dawncrow.de --- Comment #2 from André H. <nerv(a)dawncrow.de> --- you need to set CC=clang -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47792 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(a)gmail.com --- Comment #3 from Austin English <austinenglish(a)gmail.com> --- (In reply to André H. from comment #2)
you need to set CC=clang
Maybe we should have configure assume CC=clang for arm64. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47792 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC| |focht(a)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(a)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 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47792 Jacek Caban <jacek(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek(a)codeweavers.com --- Comment #5 from Jacek Caban <jacek(a)codeweavers.com> --- Once we move all code that needs __builtin_ms_va_list to PE files (where we can just use default va_list), we will not need ms_abi attribute. I think that's the long term solution. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47792 --- Comment #6 from Fabian Maurer <dark.shadow4(a)web.de> --- What's the state on this? Seems to compile fine with gcc and llvm-mingw as soon as I had the latter installed. No change for CC needed. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47792 --- Comment #7 from Austin English <austinenglish(a)gmail.com> --- (In reply to Fabian Maurer from comment #6)
What's the state on this? Seems to compile fine with gcc and llvm-mingw as soon as I had the latter installed. No change for CC needed.
That's because you have llvm-mingw in your path, retry with just gcc and no clang/mingw. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47792 Neko-san <nekoNexus(a)protonmail.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus(a)protonmail.ch -- 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.
participants (1)
-
WineHQ Bugzilla