Is this a bug? Problem with linking objects after compiling after latest patch

Hello. I am running VMWare Workstation 17 Pro on:
PRETTY_NAME=“Ubuntu 22.04.4 LTS”
NAME=“Ubuntu”
VERSION_ID=“22.04”
VERSION=“22.04.4 LTS (Jammy Jellyfish)”
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian

uname -r
6.8.0-40-generic

I just recently upgraded with the latest patches which included headers. As usual, I have to recompile the modules “vmmon and vmnet” with each kernel update. I have done this successfully since I built this computer in December. I keep it up to date with the latest patches.

With this latest patch, I get a failure when VMWare attempts to compile and link the components.

I looked at the log file and this seems to be where it goes wrong:
host-20596 BTF [M] /tmp/modconfig-Vtejn8/vmnet-only/vmnet.ko
host-20596 make[1]: Leaving directory ‘/usr/src/linux-headers-6.8.0-40-generic’
host-20596 /usr/bin/make -C $PWD SRCROOT=$PWD/.
host-20596 MODULEBUILDDIR= postbuild
host-20596 make[1]: Entering directory ‘/tmp/modconfig-Vtejn8/vmnet-only’
host-20596 make[1]: ‘postbuild’ is up to date.
host-20596 make[1]: Leaving directory ‘/tmp/modconfig-Vtejn8/vmnet-only’
host-20596 cp -f vmnet.ko ./…/vmnet.o
host-20596 make: Leaving directory ‘/tmp/modconfig-Vtejn8/vmnet-only’
host-20596 [AppLoader] GLib does not have GSettings support.
host-20596 Using kernel build system.
host-20596 warning: the compiler differs from the one used to build the kernel
host-20596 The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
host-20596 You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
host-20596 /tmp/modconfig-Vtejn8/vmmon-only/common/crosspage.o: warning: objtool: CrossPage_CodePage+0x207: ‘naked’ return found in RETHUNK build
host-20596 make[3]: *** [scripts/Makefile.build:243: /tmp/modconfig-Vtejn8/vmmon-only/common/crosspage.o] Error 255
host-20596 make[3]: *** Deleting file ‘/tmp/modconfig-Vtejn8/vmmon-only/common/crosspage.o’
host-20596 make[3]: *** Waiting for unfinished jobs…
host-20596 /tmp/modconfig-Vtejn8/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove()
host-20596 /tmp/modconfig-Vtejn8/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test()
host-20596 /tmp/modconfig-Vtejn8/vmmon-only/common/task.c:548:1: warning: no previous prototype for ‘TaskGetFlatWriteableDataSegment’ [-Wmissing-prototypes]
host-20596 548 | TaskGetFlatWriteableDataSegment(void)
host-20596 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It looks as if it is in the linking process of the objects with unreferenced prototypes. Are the new headers incomplete? It also complains that the kernel was compiled with a different version, so could I be waiting on a compiler update, but I thought you could cross compile.

The configurations and scripts are written by VMWare, but they have been working since December. The only variable is the latest Ubuntu patch.

Thanks in advance

Sounds like a good question for the VMWare folks.