Bug 239326

Summary: emulators/virtualbox-ose: 5.2.32 build fail
Product: Ports & Packages Reporter: rozhuk.im
Component: Individual Port(s)Assignee: vbox
Status: Closed Works As Intended    
Severity: Affects Some People CC: rozhuk.im, w.schwarzenfeld
Priority: --- Keywords: needs-qa
Version: LatestFlags: bugzilla: maintainer-feedback? (vbox)
Hardware: Any   
OS: Any   

Description rozhuk.im 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 rozhuk.im 2019-11-04 01:14:27 UTC
I fix this by using gcc instead of llvm then building kBuild port.