VMWare Workstation 15.5.1 on Kernel Linux 5.4.6 : fail to compile vmci-only

This post was originally published on this site

Hello,

 

I use a linux distro (Calculate Linux) and I have VMware Workstation 15.5.1.

All is fine with 4.9.x LTS Kernel.

 

Since i upgraded the kernel to 5.4.6, VMWare Workstation fails to compile modules.

 

Installation :

LANG=C ./VMware-Workstation-Full-15.5.1-15018445.x86_64.bundle

Extracting VMware Installer…done.

Installing VMware VMX 15.5.1

    Configuring…No rc*.d style init script directories were given to the installer.

You must manually add the necessary links to ensure that the vmware    ]  49%

service at /etc/init.d/vmware is automatically started and stopped on

Installing VMware Workstation 15.5.1

    Configuring…

[######################################################################] 100%

Installation was successful.

And compilation :

 

LANG=C vmware-modconfig –console –install-all

[..]

make[2]: *** [scripts/Makefile.build:265: /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.o] Error 1

/tmp/modconfig-SAUUuv/vmci-only/common/vmciDoorbell.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call

/tmp/modconfig-SAUUuv/vmci-only/common/vmciDoorbell.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.

/tmp/modconfig-SAUUuv/vmci-only/common/vmciQPair.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call

/tmp/modconfig-SAUUuv/vmci-only/common/vmciQPair.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.

/tmp/modconfig-SAUUuv/vmci-only/common/vmciQueuePair.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call

/tmp/modconfig-SAUUuv/vmci-only/common/vmciQueuePair.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.

make[1]: *** [Makefile:1652: /tmp/modconfig-SAUUuv/vmci-only] Error 2

make[1]: Leaving directory ‘/usr/src/linux-5.4.6-calculate’

make: *** [Makefile:117: vmci.ko] Error 2

make: Leaving directory ‘/tmp/modconfig-SAUUuv/vmci-only’

Unable to install all modules.  See log for details.

You can see the full log here : Paste #130754 | Pastebin Calculate Linux

 

If you have an idea !?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.