10 Replies Latest reply on Aug 1, 2020 8:35 PM by Recluce

    kernel 5.7.6 build failure

    alexopth1512 Lurker

      kernel modules won't build after upgrade to kernel 5.7.6-201.fc32.x86_64 in fedora

       

      [CODE]

      [theodore@teras vmmon-only]$ make

      Using kernel build system.

      make -C /lib/modules/5.7.6-201.fc32.x86_64/build/include/.. M=$PWD SRCROOT=$PWD/. \

        MODULEBUILDDIR= modules

      make[1]: Entering directory '/usr/src/kernels/5.7.6-201.fc32.x86_64'

        CC [M]  /home/theodore/Downloads/vmware1/vmware-vmx/lib/modules/source/vmmon-only/linux/driver.o

      /home/theodore/Downloads/vmware1/vmware-vmx/lib/modules/source/vmmon-only/linux/driver.c:668:1: warning: ‘always_inline’ function might not be inlinable [-Wattributes]

        668 | LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min

            | ^~~~~~~~~~~~~~~~~~~~~~~

      /home/theodore/Downloads/vmware1/vmware-vmx/lib/modules/source/vmmon-only/linux/driver.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call

      /home/theodore/Downloads/vmware1/vmware-vmx/lib/modules/source/vmmon-only/linux/driver.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.

      make[2]: *** [scripts/Makefile.build:267: /home/theodore/Downloads/vmware1/vmware-vmx/lib/modules/source/vmmon-only/linux/driver.o] Error 255

      make[2]: *** Deleting file '/home/theodore/Downloads/vmware1/vmware-vmx/lib/modules/source/vmmon-only/linux/driver.o'

      make[1]: *** [Makefile:1732: /home/theodore/Downloads/vmware1/vmware-vmx/lib/modules/source/vmmon-only] Error 2

      make[1]: Leaving directory '/usr/src/kernels/5.7.6-201.fc32.x86_64'

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

      [theodore@teras vmmon-only]$

      [/CODE]