See title. When passing -Wl,--gc-sections to LD, winecfg crashes with the error: 002c:err:unwind:segv_handler_early Got unexpected trap 14 during process initialization 0024:err:environ:run_wineboot failed to start wineboot c00000e5 0024:err:unwind:segv_handler_early Got unexpected trap 14 during process initialization No other wine components like wineboot launch, either. Filtering or removing the flag successfully launches wine. Have not tested this on a GCC+BFD build so I don't know if it happens there, too.
`emerge --info` and `emerge -pvqO wine-vanilla` for enabled USE? (can't reproduce from a quick try, so there's likely more to it)
(In reply to Ionen Wolkens from comment #1) > `emerge --info` and `emerge -pvqO wine-vanilla` for enabled USE? err, wine-staging*
(In reply to Ionen Wolkens from comment #1) > `emerge --info` and `emerge -pvqO wine-vanilla` for enabled USE? > > (can't reproduce from a quick try, so there's likely more to it) Or nevermind, I can -- think overlooked something while testing.
Can reproduce with bfd as well, figure I'll just filter it out.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25857e5110b5e1de7ef2c41d6b5eedad0e6dcc8a commit 25857e5110b5e1de7ef2c41d6b5eedad0e6dcc8a Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2024-05-07 07:05:08 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2024-05-07 07:18:16 +0000 app-emulation/wine-staging: filter -Wl,--gc-sections Is an issue with both lld and bfd that I can see, likely due to the linker tricks wine uses. Let's just filter it as it's fragile. Skipping revbump given the option is rarely used and shouldn't affect many. Closes: https://bugs.gentoo.org/931329 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> app-emulation/wine-staging/wine-staging-9.0.ebuild | 1 + app-emulation/wine-staging/wine-staging-9.5.ebuild | 1 + app-emulation/wine-staging/wine-staging-9.6.ebuild | 1 + app-emulation/wine-staging/wine-staging-9.7.ebuild | 1 + app-emulation/wine-staging/wine-staging-9.8.ebuild | 1 + app-emulation/wine-staging/wine-staging-9999.ebuild | 1 + 6 files changed, 6 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14fedbed424316e0287e11054aac509376ac226b commit 14fedbed424316e0287e11054aac509376ac226b Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2024-05-07 07:04:30 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2024-05-07 07:18:16 +0000 app-emulation/wine-proton: filter -Wl,--gc-sections Is an issue with both lld and bfd that I can see, likely due to the linker tricks wine uses. Let's just filter it as it's fragile. Skipping revbump given the option is rarely used and shouldn't affect many. Bug: https://bugs.gentoo.org/931329 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> app-emulation/wine-proton/wine-proton-7.0.6.ebuild | 1 + app-emulation/wine-proton/wine-proton-8.0.5c.ebuild | 1 + app-emulation/wine-proton/wine-proton-9.0.1.ebuild | 1 + app-emulation/wine-proton/wine-proton-9.0.9999.ebuild | 1 + 4 files changed, 4 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31461ff0a6ace8d613fb3c17ba8b9d4336930723 commit 31461ff0a6ace8d613fb3c17ba8b9d4336930723 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2024-05-07 07:03:26 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2024-05-07 07:18:16 +0000 app-emulation/wine-vanilla: filter -Wl,--gc-sections Is an issue with both lld and bfd that I can see, likely due to the linker tricks wine uses. Let's just filter it as it's fragile. Skipping revbump given the option is rarely used and shouldn't affect many. Bug: https://bugs.gentoo.org/931329 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> app-emulation/wine-vanilla/wine-vanilla-7.0.2.ebuild | 1 + app-emulation/wine-vanilla/wine-vanilla-8.0.2.ebuild | 1 + app-emulation/wine-vanilla/wine-vanilla-9.0.ebuild | 1 + app-emulation/wine-vanilla/wine-vanilla-9.5.ebuild | 1 + app-emulation/wine-vanilla/wine-vanilla-9.6.ebuild | 1 + app-emulation/wine-vanilla/wine-vanilla-9.7.ebuild | 1 + app-emulation/wine-vanilla/wine-vanilla-9.8.ebuild | 1 + app-emulation/wine-vanilla/wine-vanilla-9999.ebuild | 1 + 8 files changed, 8 insertions(+)
Thank you for testing GCC+BFD, glad I could help out.