Page MenuHomeFreeBSD

emulators/wine-devel: Add wow64 support
Needs RevisionPublic

Authored by monwarez_mailoo.org on Mar 31 2026, 7:44 AM.
Tags
None
Referenced Files
F156920976: D56178.id175863.diff
Sun, May 17, 9:11 AM
F156883859: D56178.id174603.diff
Sun, May 17, 1:48 AM
F156864737: D56178.id.diff
Sat, May 16, 11:40 PM
F156855055: D56178.diff
Sat, May 16, 10:32 PM
Unknown Object (File)
Fri, May 15, 5:37 PM
Unknown Object (File)
Fri, May 15, 4:24 PM
Unknown Object (File)
Fri, May 15, 4:24 PM
Unknown Object (File)
Fri, May 15, 3:26 PM

Details

Summary

This is a patch of wine-devel to add wow64 support.

It is mostly adapted from https://gitlab.winehq.org/wine/wine/-/merge_requests/8073 and updated to work on wine-devel 11.7

The current blocker is intel igpu for 32bit that got fixed by this commit in drm-kmod:

https://github.com/freebsd/drm-kmod/commit/a72c05b22dc21e4a68b0146d85d1ec0be4470931

Technically just returning gtt >= 4 is enough on 15.0 too.

So once 15.1 is out, we can start having wine-devel using the new wow64 mode since at least one release will have full support, and the older version will also have new wow64 working except for the intel igpu case (and on 32bit graphical application).

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

monwarez_mailoo.org created this revision.
monwarez_mailoo.org created this object with edit policy "Administrators".
monwarez_mailoo.org edited the summary of this revision. (Show Details)

This is the final working version for new wow64

pi changed the edit policy from "Administrators" to "committers (Project)".Sat, May 9, 4:51 AM
pi added subscribers: iwtcex_gmail.com, gerald.
gerald requested changes to this revision.Sun, May 10, 11:03 AM

I am very happy and very supportive of this change and believe it can go
in soon – hopefully getting key FreeBSD-specific changes upstream (or at
least submitted upstream).

My recommendation is to focus on getting dlls/ntdll/unix/signal_x86_64.c
upstream and at least submitting the configure.ac changes. Then I'd feel
comfortable approving this patchset (presumably for Wine 11.8 then)?

emulators/wine-devel/files/patch-configure.ac
2

Could this go upstream independently? Not to hold off this overall changset, it just seems important not to carry something like this locally, so at least seeing it submitted upstream seems important.

emulators/wine-devel/files/patch-dlls_ntdll_unix_signal__x86__64.c
2

This file is currently (for about a week) broken upstream after changes by Alexandre that only work on Linux and macOS.

My strong recommendation is to focus on this, get it upstream (so that no local patch to this file is required) and then make the switch. Carrying a local patch of this complexity and size looks like a big maintenance risk.

This revision now requires changes to proceed.Sun, May 10, 11:03 AM