VMware – Workstation Update 15.5.2 – Compiles with Warnings, with Kernel 5.5 and 5.6-rc.
VMware have released Workstation 15.5.2, and details are here: https://docs.vmware.com/en/VMware-Workstation-Pro/15.5/rn/VMware-Workstation-1552-Pro-Release-Notes.html
This compiles with Kernels 5.5.9 and 5.6-rc6, but with many ‘warnings’…
Kernel 5.5.9 (GCC 9) examples:
vmmon:
............................
/tmp/modconfig-rt8PSu/vmmon-only/common/memtrack.o: warning: objtool: .text.__x86_indirect_thunk_rbx+0x0: unsupported intra-function call
/tmp/modconfig-rt8PSu/vmmon-only/common/memtrack.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
/tmp/modconfig-rt8PSu/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Free() falls through to next function PhysTrack_Add()
/tmp/modconfig-rt8PSu/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove()
/tmp/modconfig-rt8PSu/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test()
In file included from /tmp/modconfig-rt8PSu/vmmon-only/./common/vmx86.h:32,
from /tmp/modconfig-rt8PSu/vmmon-only/vmcore/moduleloop.c:35:
/tmp/modconfig-rt8PSu/vmmon-only/./include/x86msr.h:134: warning: "MSR_MISC_FEATURES_ENABLES" redefined
134 | #define MSR_MISC_FEATURES_ENABLES 0x140
............................
./arch/x86/include/asm/msr-index.h:514: warning: "MSR_K7_HWCR_SMMLOCK" redefined
514 | #define MSR_K7_HWCR_SMMLOCK BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
|
In file included from /tmp/modconfig-rt8PSu/vmmon-only/common/vmx86.h:32,
from /tmp/modconfig-rt8PSu/vmmon-only/common/task.c:51:
/tmp/modconfig-rt8PSu/vmmon-only/./include/x86msr.h:474: note: this is the location of the previous definition
474 | #define MSR_K7_HWCR_SMMLOCK 0x00000001ULL // Lock SMM environment
.........................
vmnet:
.........................
/tmp/modconfig-rt8PSu/vmnet-only/vnetEvent.o: warning: objtool: .text.__x86_indirect_thunk_r12+0x0: unsupported intra-function call
/tmp/modconfig-rt8PSu/vmnet-only/vnetEvent.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
/tmp/modconfig-rt8PSu/vmnet-only/vnetUserListener.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
/tmp/modconfig-rt8PSu/vmnet-only/vnetUserListener.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
/tmp/modconfig-rt8PSu/vmnet-only/procfs.o: warning: objtool: .text.__x86_indirect_thunk_r10+0x0: unsupported intra-function call
/tmp/modconfig-rt8PSu/vmnet-only/procfs.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
/tmp/modconfig-rt8PSu/vmnet-only/hub.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
/tmp/modconfig-rt8PSu/vmnet-only/hub.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
.........................
Robert Gadsdon. March 12th 2020.
Does it still need a patch for kernels 5.5.x? I hope not and I hope it works, since 15.5.1 with the 5.5.x patches don’t work in my case.