http://bugs.winehq.org/show_bug.cgi?id=58269
Bug ID: 58269 Summary: Build regression in wine 10.7 using clang on aarch64 (error in backend: Invalid register name "x18") Product: Wine Version: 10.7 Hardware: aarch64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: lav@etersoft.ru Distribution: ---
When compiling wine for aarch64, a build regression appeared in Wine 10.7 when using clang (any version).
Error is that register x18 is used, and clang reports it as an hard error.
[00:04:11] fatal error: error in backend: Invalid register name "x18". [00:04:11] PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. [00:04:11] Stack dump: [00:04:11] 0. Program arguments: clang-19 -c -o dlls/msvcr100/crt_main.o dlls/msvcrt/crt_main.c -Idlls/msvcr100 -Idlls/msvcrt -Iinclude -Iinclude/msvcrt -D_MSVCR_VER=100 -D__WINESRC__ -D_CRTIMP= -Wall -pipe -fcf-protection=none -fvisibility=hidden -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Winit-self -Wpointer-arith -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wvla -Wwrite-strings -gdwarf-4 -fPIC -fasynchronous-unwind-tables -D_WIN32 -fno-builtin -fshort-wchar -Wno-format -pipe -Wall -g -O2 [00:04:11] 1. <eof> parser at end of file [00:04:11] 2. Code generation [00:04:11] 3. Running pass 'Function Pass Manager' on module 'dlls/msvcrt/crt_main.c'. [00:04:11] 4. Running pass 'AArch64 Instruction Selection' on function '@mainCRTStartup' [00:04:11] #0 0x0000ffff9b5805e8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-19.1/bin/../lib64/libLLVM.so.19.1+0x39705e8)
Simular bug discussed here https://bugs.winehq.org/show_bug.cgi?id=55051
http://bugs.winehq.org/show_bug.cgi?id=58269
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9cf835d3fecd8cf4faf54d18a45 | |cb6d24767efdc Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- Already fixed by 9cf835d3fecd8cf4faf54d18a45cb6d24767efdc.
http://bugs.winehq.org/show_bug.cgi?id=58269
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alex@alexrp.com
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- *** Bug 58303 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=58269
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.9.