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"
Which FreeBSD version and platform, please!
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)
I fix this by using gcc instead of llvm then building kBuild port.