Re: [PATCH] vbox: fix link error with 'gcc -Og'

2018-11-02 Thread Hans de Goede
Hi, On 11/2/18 4:38 PM, Arnd Bergmann wrote: With the new CONFIG_CC_OPTIMIZE_FOR_DEBUGGING option, we get a link error in the vboxguest driver, when that fails to optimize out the call to the compat handler: drivers/virt/vboxguest/vboxguest_core.o: In function `vbg_ioctl_hgcm_call': vboxguest_c

[PATCH] vbox: fix link error with 'gcc -Og'

2018-11-02 Thread Arnd Bergmann
With the new CONFIG_CC_OPTIMIZE_FOR_DEBUGGING option, we get a link error in the vboxguest driver, when that fails to optimize out the call to the compat handler: drivers/virt/vboxguest/vboxguest_core.o: In function `vbg_ioctl_hgcm_call': vboxguest_core.c:(.text+0x1f6e): undefined reference to `vb