https://bugs.winehq.org/show_bug.cgi?id=56642
Bug ID: 56642 Summary: wine doesn't build on risc-v Product: Wine Version: 8.10 Hardware: x86-64 OS: Linux Status: NEW Keywords: source Severity: normal Priority: P2 Component: tools Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: Ubuntu
The GNU Compiler farm has a couple risc-v machines available.
Wine doesn't get very far, though: austin@cfarm92:~/wine$ ./configure checking build system type... riscv64-unknown-linux-gnu checking host system type... riscv64-unknown-linux-gnu ... config.status: executing tools/makedep commands In file included from tools/makedep.c:34: tools/tools.h: In function 'get_default_target': tools/tools.h:451:2: error: #error Unsupported CPU 451 | #error Unsupported CPU | ^~~~~
Since Windows doesn't (yet?) support risc-v, it would be a winelib only platform. I don't know if that's still something that we intend to support or not..
https://bugs.winehq.org/show_bug.cgi?id=56642
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|8.10 |9.7
https://bugs.winehq.org/show_bug.cgi?id=56642
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- There are no plans to do a winelib-only port, that's not useful.
It would be interesting to do an ARM64EC-style port, but that will require a PE compiler.
https://bugs.winehq.org/show_bug.cgi?id=56642
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Alexandre Julliard from comment #1)
There are no plans to do a winelib-only port, that's not useful.
In that case, I think we should stop advertising it in the FAQ: https://wiki.winehq.org/FAQ#Where_can_I_get_further_help?
https://wiki.winehq.org/FAQ#Is_Wine_an_emulator?_There_seems_to_be_disagreem... "Winelib can be used for porting Windows application source code to other operating systems that Wine supports to run on any processor, even processors that Windows itself does not support."
https://wiki.winehq.org/Winelib_User%27s_Guide#What_is_Winelib? "Another benefit is that a Winelib application can relatively easily be recompiled on a non-Intel architecture and run there without the need for a slow software emulation of the processor."
If winelib for non-Windows supported architectures is no longer supported, then we should remove these references / advertise it as such. Currently, for me, the top result on stackoverflow mentions that it's supported, for example: https://stackoverflow.com/questions/1937291/advantage-of-winelib
https://bugs.winehq.org/show_bug.cgi?id=56642
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Sure, it can be removed. It's certainly still possible to use the Wine code to port an app to some other platform, but that's not something that's going to work out of the box in upstream Wine. There are not enough use cases to make it worth the maintenance effort.