Bug 239326 - emulators/virtualbox-ose: 5.2.32 build fail
Summary: emulators/virtualbox-ose: 5.2.32 build fail
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Virtualbox Team (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2019-07-20 01:25 UTC by Ivan Rozhuk
Modified: 2019-11-04 01:14 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (vbox)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Rozhuk 2019-07-20 01:25:42 UTC
...
kBuild: Compiling VBoxRemPrimary - /tmp/ports/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/src/recompiler/exec.c
In file included from /tmp/ports/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/src/recompiler/cpu-exec.c:30:
/tmp/ports/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/src/recompiler/target-i386/exec.h:41:38: error: register 'r14' unsuitable for global register variables on this target
register struct CPUX86State *env asm(AREG0);
                                     ^
/tmp/ports/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.32/src/recompiler/dyngen-exec.h:81:15: note: expanded from macro 'AREG0'
#define AREG0 "r14"
...
Comment 1 Walter Schwarzenfeld freebsd_triage 2019-08-03 13:15:11 UTC
Which FreeBSD version and platform, please!
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2019-08-26 04:44:54 UTC
Thank you for your report. Please provide additional information, including:

- Full build log (as an attachment)
- pkg version -v output (as an attachment)
- /etc/make.conf contents (as an attachment)
- /var/run/dmesg.boot (as an attachment)
Comment 3 Ivan Rozhuk 2019-11-04 01:14:27 UTC
I fix this by using gcc instead of llvm then building kBuild port.