Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902567 - binary wine ebuild request
Summary: binary wine ebuild request
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-22 00:36 UTC by Blake Batson
Modified: 2023-03-22 03:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Blake Batson 2023-03-22 00:36:22 UTC
Since newer versions of wine are able to use wow64 for 32-bit support they only need 32 bit libs at runtime. Unfortunately this is not very useful if the user is the one compiling it, since they would need the 32-bit libs installed to compile it. If a binary version of wine available it could offer 32-bit support without needing a bunch of packages to have abi_x86_32 set, which would be a nice option.
Comment 1 Blake Batson 2023-03-22 00:39:31 UTC
(In reply to Blake Batson from comment #0)
> Since newer versions of wine are able to use wow64 for 32-bit support they
> only need 32 bit libs at runtime. Unfortunately this is not very useful if
> the user is the one compiling it, since they would need the 32-bit libs
> installed to compile it. If a binary version of wine available it could
> offer 32-bit support without needing a bunch of packages to have abi_x86_32
> set, which would be a nice option.

Typo: I meant to say they *DONT* need 32 bit libs at runtime.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-22 01:09:50 UTC
I'm not sure it's going to be worth someone going through the effort of building this and the commitment to do so indefinitely just so someone doesn't have to build these. But I'll let wine@ decide. For all I know, there may be some way to handle wow64 differently anyway.
Comment 3 Ionen Wolkens gentoo-dev 2023-03-22 03:19:15 UTC
>Typo: I meant to say they *DONT* need 32 bit libs at runtime.
I don't know where this keeps coming from (I get this all the time but nobody has shown me a build that doesn't need 32bit ELF libs while keeping full 32bit support). wine-8.0 only laid the ground work for this, may or may not become possible during wine-9 development.

From the wine-8.0 changelog:
>- WoW64 thunks are implemented for essentially all Unix libraries, enabling a
>  32-bit PE module to call a 64-bit Unix library. Once the remaining direct
>  PE/Unix calls have been removed, this will make it fully possible to run
>  32-bit Windows applications without any 32-bit Unix library.
Note the "once the remaining direct..." and "will" implies that it is /not/ currently possible.

Until further notice, a binary build would that doesn't depend on 32bit libs would just mean that the libraries were bundled and aren't getting updated normally anymore.
Comment 4 Ionen Wolkens gentoo-dev 2023-03-22 03:41:47 UTC
Also, in theory it probably won't need abi_x86_32 at build time either when it's fully implemented. afaik the idea is for 32bit PE files to be able to indirectly call /64bit/ ELF libraries, as such 32bit ELF are never needed at any stages. All you'd need in theory is 32bit support on mingw64-toolchain.

So.. I don't think making a binary build for this purpose is something that will come up. At best a wine-bin would make sense if we wanted to shorten build time for users, but I don't think building wine is all that bad, and with all the variants/options it'd be a headache to make everyone happy.

If I'm misunderstanding something, please inform me.. but please don't base this on things you've heard and aren't sure of. Until further notice, I'll close this.
Comment 5 Nick Sarnie gentoo-dev 2023-03-22 03:55:44 UTC
Just adding I agree with ionen and I also don't expect you will need 32 bit libs at build time.