Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661334 - app-emulation/virtualbox-modules-5.2.14 : /.../VBoxPci-linux.c:323:13: error: implicit declaration of function pci_reset_function
Summary: app-emulation/virtualbox-modules-5.2.14 : /.../VBoxPci-linux.c:323:13: error:...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Viorel Munteanu
URL:
Whiteboard: fixed in 7.0.6 at least
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2018-07-16 17:19 UTC by Toralf Förster
Modified: 2024-10-25 19:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.79 KB, text/plain)
2018-07-16 17:19 UTC, Toralf Förster
Details
app-emulation:virtualbox-modules-5.2.14:20180716-074339.log (app-emulation:virtualbox-modules-5.2.14:20180716-074339.log,606.76 KB, text/plain)
2018-07-16 17:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,250.10 KB, text/plain)
2018-07-16 17:19 UTC, Toralf Förster
Details
environment (environment,126.25 KB, text/plain)
2018-07-16 17:19 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.86 KB, application/x-bzip)
2018-07-16 17:19 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,824 bytes, application/x-bzip)
2018-07-16 17:19 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-07-16 17:19:34 UTC
   ./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"
Comment 1 Toralf Förster gentoo-dev 2018-07-16 17:19:37 UTC
Created attachment 539728 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-07-16 17:19:40 UTC
Created attachment 539730 [details]
app-emulation:virtualbox-modules-5.2.14:20180716-074339.log
Comment 3 Toralf Förster gentoo-dev 2018-07-16 17:19:43 UTC
Created attachment 539732 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-07-16 17:19:46 UTC
Created attachment 539734 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-07-16 17:19:49 UTC
Created attachment 539736 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-07-16 17:19:52 UTC
Created attachment 539738 [details]
logs.tbz2
Comment 7 Peter Levine 2023-02-11 05:28:03 UTC
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.
Comment 8 Viorel Munteanu gentoo-dev 2023-03-08 13:37:21 UTC
I compiled virtualbox and virtualbox-modules 7.0.6 with clang-16, it works fine.  Most likely fixed upstream.