[Bug 280000] emulators/wine-devel: NtRaiseException
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 280000] emulators/wine-devel: NtRaiseException"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 Jul 2024 19:57:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280000 --- Comment #16 from Brendan Shanks <mrpippy@gmail.com> --- (In reply to Gerald Pfeifer from comment #15) Sure, I created https://gitlab.winehq.org/wine/wine/-/merge_requests/6179 for this. I looked into the problem more: this behavior in Clang is triggered by '-mrelax-all' which -O0 currently passes, -O1 and higher do not. It was intended to speed compile times, but doesn't seem to have a noticeable effect any more. Sure enough, if you build with -O0 and pass '-mno-relax-all', jmp uses the shorter form. Also, Clang 19 will no longer pass '-mrelax-all' for -O0: https://maskray.me/blog/2024-04-27-clang-o0-output-branch-displacement-and-size-increase This would be a good candidate for the wine-stable branch but those releases don't seem to be happening this year, I'm not sure why. For the wine stable port, maybe using '-mno-relax-all' is an option? Or just applying this patch. Also, does this port set CFLAGS or CROSSCFLAGS when building? Wine uses '-g -O2' by default, which prevents this bug from showing up. -- You are receiving this mail because: You are the assignee for the bug.