All,

Upgrading the kernel on Archlinux from linux-6.4.11 to linux-6.4.12 broke the dkms build of virtualbox 6.1.46 modules. Specifically from the log:

DKMS make.log for vboxhost-6.1.46_non_OSE for kernel 6.4.12-arch1-1 (x86_64)
Fri Aug 25 05:35:45 PM CDT 2023
   CC [M]
/var/lib/dkms/vboxhost/6.1.46_non_OSE/build/vboxnetflt/linux/VBoxNetFlt-linux.o
   CC [M]
/var/lib/dkms/vboxhost/6.1.46_non_OSE/build/vboxdrv/linux/SUPDrv-linux.o
/var/lib/dkms/vboxhost/6.1.46_non_OSE/build/vboxnetflt/linux/VBoxNetFlt-linux.c:
In function ‘vboxNetFltLinuxForwardToIntNetInner’:
/var/lib/dkms/vboxhost/6.1.46_non_OSE/build/vboxnetflt/linux/VBoxNetFlt-linux.c:1561:40:
error: implicit declaration of function ‘skb_gso_segment’; did you mean
‘skb_gso_reset’? [-Werror=implicit-function-declaration]
  1561 |             struct sk_buff *pSegment = skb_gso_segment(pBuf, 0
/*supported features*/);
       |                                        ^~~~~~~~~~~~~~~
       |                                        skb_gso_reset
/var/lib/dkms/vboxhost/6.1.46_non_OSE/build/vboxnetflt/linux/VBoxNetFlt-linux.c:1561:40:
warning: initialization of ‘struct sk_buff *’ from ‘int’ makes pointer from
integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:252:
/var/lib/dkms/vboxhost/6.1.46_non_OSE/build/vboxnetflt/linux/VBoxNetFlt-linux.o]
Error 1
make[1]: *** [scripts/Makefile.build:497:
/var/lib/dkms/vboxhost/6.1.46_non_OSE/build/vboxnetflt] Error 2
make[1]: *** Waiting for unfinished jobs....
   CC [M]  /var/lib/dkms/vboxhost/6.1.46_non_OSE/build/vboxdrv/SUPDrv.o
   CC [M]  /var/lib/dkms/vboxhost/6.1.46_non_OSE/build/vboxdrv/SUPDrvGip.o
In file included from ./include/linux/string.h:254,
                  from
/var/lib/dkms/vboxhost/6.1.46_non_OSE/build/vboxdrv/include/iprt/string.h:39,
                  from
/var/lib/dkms/vboxhost/6.1.46_non_OSE/build/vboxdrv/SUPDrvInternal.h:46,
                  from
/var/lib/dkms/vboxhost/6.1.46_non_OSE/build/vboxdrv/SUPDrv.c:33:
In function ‘fortify_memcpy_chk’,
     inlined from ‘supdrvIOCtlInnerUnrestricted’ at
/var/lib/dkms/vboxhost/6.1.46_non_OSE/build/vboxdrv/SUPDrv.c:1746:13,
     inlined from ‘supdrvIOCtl’ at
/var/lib/dkms/vboxhost/6.1.46_non_OSE/build/vboxdrv/SUPDrv.c:2698:14:
./include/linux/fortify-string.h:520:25: warning: call to
‘__write_overflow_field’ declared with attribute warning: detected write
beyond size of field (1st parameter); maybe use struct_group()?
[-Wattribute-warning]
   520 |                         __write_overflow_field(p_size_field, size);
       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  Should I open a virtualbox bug?

--
David C. Rankin, J.D.,P.E.


_______________________________________________
VBox-users-community mailing list
VBox-users-community@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe:  
mailto:vbox-users-community-requ...@lists.sourceforge.net?subject=unsubscribe

Reply via email to