./tools/objtool/objtool orc generate --module --no-fp "/var/tmp/portage/app-emulation/virtualbox-modules-5.2.14/work/vboxpci/.tmp_VBoxPci.o"; /var/tmp/portage/app-emulation/virtualbox-modules-5.2.14/work/vboxpci/linux/VBoxPci-linux.c: In function ‘vboxPciLinuxDevReset’: /var/tmp/portage/app-emulation/virtualbox-modules-5.2.14/work/vboxpci/linux/VBoxPci-linux.c:323:13: error: implicit declaration of function ‘pci_reset_function’; did you mean ‘present_section’? [-Werror=implicit-function-declaration] if (pci_reset_function(pIns->pPciDev)) ^~~~~~~~~~~~~~~~~~ present_section ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-gnome-systemd_20180708-172507 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python3.7 (fallback) [3] python2.7 (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) * [2] ruby25 (with Rubygems) java-config: The following VMs are available for generation-2: 1) IcedTea JDK 3.8.0 [icedtea-8] *) IcedTea JDK 3.8.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-8 [2] icedtea-bin-8 system-vm emerge -qpv app-emulation/virtualbox-modules [ebuild N ] app-emulation/virtualbox-modules-5.2.14 USE="-pax_kernel"
Created attachment 539728 [details] emerge-info.txt
Created attachment 539730 [details] app-emulation:virtualbox-modules-5.2.14:20180716-074339.log
Created attachment 539732 [details] emerge-history.txt
Created attachment 539734 [details] environment
Created attachment 539736 [details] etc.portage.tbz2
Created attachment 539738 [details] logs.tbz2
virtualbox-modules-5.2.14 is no longer in Gentoo and the oldest and newest versions seem to build fine with sys-devel/clang-16.0.0_pre20230107.
I compiled virtualbox and virtualbox-modules 7.0.6 with clang-16, it works fine. Most likely fixed upstream.