Building app-emulation/virtualbox-7.0.14-r2 with sys-devel/mold-2.4.0 is successful but running VirtualBoxVM results in this: code] alex@cobalt ~/.VirtualBox $ VirtualBoxVM --startvm "MS-DOS 6.22" VirtualBoxVM: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib64/virtualbox/VirtualBoxVM.so",) failed: /usr/lib64/virtualbox/UICommon.so: undefined symbol: _ZN8QPrinterC1ENS_11PrinterModeE alex@cobalt ~/.VirtualBox $ c++filt _ZN8QPrinterC1ENS_11PrinterModeE QPrinter::QPrinter(QPrinter::PrinterMode) [/code] Please add this as a blocker for bug #830404 (https://bugs.gentoo.org/show_bug.cgi?id=830404)
Version 7.0.18-r1 still suffers with the current stable mold version (2.30.0).
Fixed in the eclass. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d141fdf8928615cb394cc7da03c2299a69c612e
As I understand this, you now disallow use of the mold linker if it is in use with this package? Isn't that like using a sticky plaster to hide the issue when it is mold that needs fixing?
Yes. This is not really a fix, it's only avoiding the issue. I'll change its status to WONTFIX.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d29494e273481027c03ce37785895241e21c6fd commit 3d29494e273481027c03ce37785895241e21c6fd Author: Viorel Munteanu <ceamac@gentoo.org> AuthorDate: 2024-08-18 13:30:56 +0000 Commit: Viorel Munteanu <ceamac@gentoo.org> CommitDate: 2024-08-18 13:32:19 +0000 app-emulation/virtualbox: fix linking with mold Bug: https://bugs.gentoo.org/925347 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org> .../files/virtualbox-7.1.0_beta1-link-with-mold.patch | 13 +++++++++++++ app-emulation/virtualbox/virtualbox-7.1.0_beta1.ebuild | 5 +++-- 2 files changed, 16 insertions(+), 2 deletions(-)
I think I found the cause, I've added a patch for virtualbox 7.1.0. I won't test it with 7.0.20 now (and it's due for stabilization anyway), but chances are it works. You can test it if you want (you'll have to remove tc-ld-force-bfd from the ebuild). I'll test and apply the patch when upstream releases the next version.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2498b1e8704286041627b759f818bf120b3b09be commit 2498b1e8704286041627b759f818bf120b3b09be Author: Viorel Munteanu <ceamac@gentoo.org> AuthorDate: 2024-09-15 11:26:40 +0000 Commit: Viorel Munteanu <ceamac@gentoo.org> CommitDate: 2024-09-15 13:01:51 +0000 app-emulation/virtualbox: add 7.1.0 This is the new 7.1 branch. I will not stabilize this version, let's wait for 7.1.1. Closes: https://bugs.gentoo.org/925347 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org> app-emulation/virtualbox/Manifest | 4 +- ...tualbox-7.1.0-disable-rebuild-iPxeBiosBin.patch | 18 + app-emulation/virtualbox/virtualbox-7.1.0.ebuild | 744 +++++++++++++++++++++ 3 files changed, 765 insertions(+), 1 deletion(-)