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
  InstalledDir: /usr/bin

  CPU: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz (2691.32-MHz K8-class CPU)
    Origin="GenuineIntel"  Id=0x206a7  Family=0x6  Model=0x2a  Stepping=7
    
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
    
Features2=0x1fbae3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX>
    AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
    AMD Features2=0x1<LAHF>
    XSAVE Features=0x1<XSAVEOPT>
    VT-x: Basic Features=0xda0400<SMM,INS/OUTS,TRUE>
          Pin-Based Controls=0x7f<ExtINT,NMI,VNMI,PreTmr>
          Primary Processor 
Controls=0xfff9fffe<INTWIN,TSCOff,HLT,INVLPG,MWAIT,RDPMC,RDTSC,CR3-LD,CR3-ST,CR8-LD,CR8-ST,TPR,NMIWIN,MOV-DR,IO,IOmap,MTF,MSRmap,MONITOR,PAUSE>
          Secondary Processor 
Controls=0xff<APIC,EPT,DT,RDTSCP,x2APIC,VPID,WBINVD,UG>
          Exit Controls=0xda0400<PAT-LD,EFER-SV,PTMR-SV>
          Entry Controls=0xda0400
          EPT Features=0x6114141<XO,PW4,UC,WB,2M,INVEPT,single,all>
          VPID Features=0xf01<INVVPID,individual,single,all,single-globals>
    TSC: P-state invariant, performance statistics
  Data TLB0: 2-MByte or 4 MByte pages, 4-way set associative, 32 entries
  Data TLB: 4 KB pages, 4-way set associative, 64 entries
  Instruction TLB: 2M/4M pages, fully associative, 8 entries
  Instruction TLB: 4KByte pages, 4-way set associative, 64 entries
  64-Byte prefetching
  Shared 2nd-Level TLB: 4 KByte pages, 4-way associative, 512 entries
  L2 cache: 256 kbytes, 8-way associative, 64 bytes/line
  real memory  = 8589934592 (8192 MB)


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:
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/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);
                                     ^
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/src/recompiler/dyngen-exec.h:81:15:
 note: expanded from macro
      'AREG0'
#define AREG0 "r14"
              ^
In file included from 
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/src/recompiler/cpu-exec.c:30:
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/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);
                                     ^
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/src/recompiler/dyngen-exec.h:81:15:
 note: expanded from macro
      'AREG0'
#define AREG0 "r14"
              ^
1 error generated.
kmk: *** 
[/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/out/freebsd.amd64/release/obj/VBoxRemPrimary/cpu-exec.o]
 Error 1
The failing command:
@cc -c -O2 -g -pipe -O2 -mtune=generic -fno-omit-frame-pointer 
-fno-strict-aliasing -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN 
-DRT_USE_VISIBILITY_DEFAULT -fPIC -Wno-sign-compare 
-Werror-implicit-function-declaration -m64 
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/src/recompiler/Sun/crt
 
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/src/recompiler/Sun 
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/src/recompiler/target-i386
 
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/src/recompiler/tcg 
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/src/recompiler/fpu 
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/out/freebsd.amd64/release/obj/VBoxRemPrimary
 
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/src/VBox/VMM/include
 
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/src/recompiler/tcg/i386
 -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/src/recompiler 
 -I/usr/local/include 
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/out/freebsd.amd64/release/obj/VBoxRemPrimary/dtrace
 -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/include 
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/out/freebsd.amd64/release
 -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_REM 
-DVBOX_WITH_RAW_MODE -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD64__ 
-DVBOX_WITH_DEBUGGER -DVBOX_WITH_HARDENING 
-DRTPATH_APP_PRIVATE=\"/usr/local/share/virtualbox-ose\" 
-DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\" 
-DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\" 
-DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox-ose\" -DIN_RING3 
-DHC_ARCH_BITS=64 -DGC_ARCH_BITS=64 -DPIC -DIN_REM_R3 -DREM_INCLUDE_CPU_H 
-DNEED_CPU_H -DVBOX_WITH_NEW_APIC -DVBOX_WITH_RAW_MODE -DVBOX_WITH_RAW_RING1 
-DLOG_USE_C99 -D_BSD -D__x86_64__ 
-Wp,-MD,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/out/freebsd.amd64/release/obj/V
 BoxRemPrimary/cpu-exec.o.dep 
-Wp,-MT,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/out/freebsd.amd64/release/obj/VBoxRemPrimary/cpu-exec.o
 -Wp,-MP -o 
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/out/freebsd.amd64/release/obj/VBoxRemPrimary/cpu-exec.o
 
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.28/src/recompiler/cpu-exec.c
kmk: *** Waiting for unfinished jobs....

-- 
[SorAlx]  ridin' VN2000 Classic LT
_______________________________________________
freebsd-emulation@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"

Reply via email to