Re: [virtualbox-ose] Build failure: global register variable

2018-12-05 Thread soralx
I see that 'pkg-help' was added to devel/kBuild explaining the new GCC option. I think that the help text can be expanded to say that kBuild and virtualbox-ose can be compiled with clang (i.e., without using gcc) when the virtual machines use hardware virtualization (VT-x/AMD-V) exclusivel

Re: [virtualbox-ose] Build failure: global register variable

2017-09-28 Thread Jung-uk Kim
On 09/28/2017 05:55, sor...@cydem.org wrote: > > Jung-uk, > > [0] clang/lib/Basic/Targets/X86.h: > 860 bool validateGlobalRegisterVariable(StringRef RegName, > unsigned RegSize, 861 bool > &HasSizeMismatch) const override { 862 // rsp

Re: [virtualbox-ose] Build failure: global register variable

2017-09-28 Thread soralx
Jung-uk, > >>> [0] clang/lib/Basic/Targets/X86.h: > >>> 860 bool validateGlobalRegisterVariable(StringRef RegName, > >>> unsigned RegSize, 861 bool > >>> &HasSizeMismatch) const override { 862 // rsp and rbp are the > >>> only 64-bit registers the x86

Re: [virtualbox-ose] Build failure: global register variable

2017-09-25 Thread Jung-uk Kim
On 09/24/2017 21:06, sor...@cydem.org wrote: >> Alternatively, one can try changing 'r14' to 'rbp' in definition >>> of "AREG0" for amd64 at src/recompiler/dyngen-exec.h:81. This is >>> the only place where gcc is needed, as clang cannot handle r14 >>> for now [0]. >>> >>> I recompiled kBuild with

Re: [virtualbox-ose] Build failure: global register variable

2017-09-25 Thread soralx
> > Alternatively, one can try changing 'r14' to 'rbp' in definition > > of "AREG0" for amd64 at src/recompiler/dyngen-exec.h:81. This is > > the only place where gcc is needed, as clang cannot handle r14 > > for now [0]. > > > > I recompiled kBuild with clang, and succeeded compiling virtualbox-

Re: [virtualbox-ose] Build failure: global register variable

2017-09-23 Thread Jung-uk Kim
On 09/21/2017 19:00, sor...@cydem.org wrote: > >>> [...] >>> kBuild: Compiling VBoxRemPrimary >>> - >>> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/src/recompiler/target-i386/op_helper.c >>> In file included >>> from >>> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/s

Re: [virtualbox-ose] Build failure: global register variable

2017-09-21 Thread soralx
> > [...] > > kBuild: Compiling VBoxRemPrimary > > - > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/src/recompiler/target-i386/op_helper.c > > In file included > > from > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/src/recompiler/target-i386/op_helper.c:29: > >

Re: [virtualbox-ose] Build failure: global register variable

2017-09-21 Thread soralx
> Howdy! > > Any ideas on what could be a cause of the following build failure > on this machine? > > [...] > kBuild: Compiling VBoxRemPrimary > - > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/src/recompiler/target-i386/op_helper.c > In file included > from > /usr/ports/emulato

[virtualbox-ose] Build failure: global register variable

2017-09-18 Thread soralx
Howdy! Any ideas on what could be a cause of the following build failure on this machine? FreeBSD 12.0-CURRENT #0 r323633 amd64 # cc --version FreeBSD clang version 5.0.0 (tags/RELEASE_500/final 312559) (based on LLVM 5.0.0svn) Target: x86_64-unknown-freebsd12.0 Thread model: posix