[Bug 285116] emulators/virtualbox-ose-70: fix compilation by adding USE_BINUTILS=yes

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 02 Mar 2025 20:30:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285116

            Bug ID: 285116
           Summary: emulators/virtualbox-ose-70: fix compilation by adding
                    USE_BINUTILS=yes
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: vbox@FreeBSD.org
          Reporter: tremere@cainites.net
             Flags: maintainer-feedback?(vbox@FreeBSD.org)
          Assignee: vbox@FreeBSD.org

When building the port using poudriere I ran into the following error:

kBuild: Linking VMMR0
c++: error: invalid linker name in argument '-fuse-ld=bfd'
kmk: ***
[/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11-70/work/VirtualBox-7.0.24/kBuild/footer-pass2-compiling-targets.kmk:776:
/wrkdirs/usr/ports/emulators/virtualbox-ose-nox11-70/work/VirtualBox-7.0.24/out/freebsd.amd64/release/obj/VMMR0/VMMR0.r0]
Error 1

After adding USE_BINUTILS=yes to the Makefile it builds and runs fine.

Q&A:
poudriere: builds ok (14.2-RELEASE-p2; amd64)
Makefile portfmt/clippy processed

-- 
You are receiving this mail because:
You are the assignee for the bug.