Summary: | app-emulation/virtualbox-modules-6.1.14 fails to compile with kernel 5.9 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fabio Coatti <fabio.coatti> |
Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ab4bd, audvare, bdouxx-gentoo, captaincrutches, finkandreas, fordfrog, jarausch, jstein, mplichta, ostroffjh, silvio.gerli, thican |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Linux 5.9 compatibility |
Description
Fabio Coatti
2020-10-12 08:16:50 UTC
The same problem, using kernel `5.9.0-gentoo` Portage 3.0.8 (python 3.7.9-final-0, default/linux/amd64/17.1/hardened, gcc-10.2.0, glibc-2.32-r2, 5.9.0-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.9.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-8750H_CPU_@_2.20GHz-with-gentoo-2.7 KiB Mem: 16233000 total, 13846344 free KiB Swap: 16777212 total, 16777212 free Head commit of repository gentoo: 7478cc9e5d3753f54d59b650f0eeac1b040738fe Timestamp of repository dotnet: Sat, 10 Oct 2020 17:05:05 +0000 Head commit of repository dotnet: 9626aa1ac9f8e579922c038a26583fe89d18efba Timestamp of repository lto-overlay: Tue, 06 Oct 2020 13:35:21 +0000 Head commit of repository lto-overlay: 3e7a867b0a18b943dd7a84995aa3b5c96513305d Timestamp of repository mv: Sat, 10 Oct 2020 09:05:05 +0000 Head commit of repository mv: 54a4cde6b159b52efb8fd6abdafa7958a9806afc Head commit of repository steam-overlay: 32f27e07e540110458c069965e8e027d7350fbd8 sh bash 5.0_p18 ld GNU ld (Gentoo 2.35.1 p1) 2.35.1 ccache version 3.7.12 [disabled] app-shells/bash: 5.0_p18::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 3.7.9-r1::lto-overlay, 3.8.6-r1::lto-overlay, 3.9.0-r1::lto-overlay dev-util/ccache: 3.7.12::gentoo dev-util/cmake: 3.18.4::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.35.1::gentoo sys-devel/gcc: 10.2.0-r2::gentoo sys-devel/gcc-config: 2.3.2::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.9::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r2::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo/gentoo.git priority: -1000 dotnet location: /var/db/repos/dotnet sync-type: git sync-uri: https://github.com/gentoo-mirror/dotnet.git masters: gentoo lto-overlay location: /var/db/repos/lto-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/lto-overlay.git masters: gentoo mv mv location: /var/db/repos/mv sync-type: git sync-uri: https://github.com/gentoo-mirror/mv.git masters: gentoo steam-overlay location: /usr/local/portage/steam-overlay sync-type: git sync-uri: https://github.com/anyc/steam-overlay.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -falign-functions=32 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe -falign-functions=32 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--jobs 6 --load-average 10.8 --with-bdeps y --complete-graph y" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-march=native -O2 -pipe -falign-functions=32 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=native -O2 -pipe -falign-functions=32 -pipe" GENTOO_MIRRORS="https://ftp.rnl.tecnico.ulisboa.pt/pub/gentoo/gentoo-distfiles/ http://ftp.rnl.tecnico.ulisboa.pt/pub/gentoo/gentoo-distfiles/ ftp://ftp.rnl.tecnico.ulisboa.pt/pub/gentoo/gentoo-distfiles/ rsync://ftp.rnl.tecnico.ulisboa.pt/pub/gentoo/gentoo-distfiles/ ftp://ftp.dei.uc.pt/pub/linux/gentoo/ http://ftp.dei.uc.pt/pub/linux/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j12 -l10.8" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X acl amd64 bluetooth bzip2 crypt dbus elogind graphite gtk hardened iconv ipv6 libglvnd libtirpc lto multilib ncurses nls nptl openmp pam pcre pgo pie pulseaudio readline seccomp split-usr ssl ssp unicode vulkan xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" QEMU_SOFTMMU_TARGETS="arm X86_64 sparc" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="intel i965 iris nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= app-emulation/virtualbox-modules-6.1.14::gentoo was built with the following: USE="-pax_kernel" ABI_X86="(64)" CFLAGS="-march=native -O2 -pipe -falign-functions=32 -pipe -Wl,-O1 -Wl,--as-needed" CXXFLAGS="-march=native -O2 -pipe -falign-functions=32 -pipe -Wl,-O1 -Wl,--as-needed" The attached patch makes it build. Not tested the run yet. If anyone wants to play with building and testing running of the virtualbox, please do let us know here if you face any issues. Created attachment 664933 [details, diff]
Linux 5.9 compatibility
(In reply to devsk from comment #3) > Created attachment 664933 [details, diff] [details, diff] > Linux 5.9 compatibility Tested and everything seems just as before. Things I did: 1) Install Windows 10 with UEFI enabled, no 3D acceleration 2) Install guest additions and checked these work (auto-resize of screen, etc) 3) Enabled 3D acceleration and tested more stuff within the Windows VM No detrimental effects from what I can tell. virtualbox-guest-additions needs a similar patch, see https://bugs.gentoo.org/show_bug.cgi?id=748489 There have been 8 release candidates. I wonder why the Oracle team, working on VirtualBox, isn't monitoring the changes in a new kernel. *** Bug 748489 has been marked as a duplicate of this bug. *** (In reply to devsk from comment #3) > Created attachment 664933 [details, diff] [details, diff] > Linux 5.9 compatibility With this patch it builds and runs without issue for me *** Bug 748489 has been marked as a duplicate of this bug. *** looks like patch is working, no problem with booting and using vbox-6.1.14 The patch from devsk works for me too (app-emulation/virtualbox-modules-6.1.14 and kernel 5.9) Works for me too, same configuration. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7268d121e797ed73ccb7485c0c576bea7ee9f93b commit 7268d121e797ed73ccb7485c0c576bea7ee9f93b Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2020-10-20 16:57:33 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2020-10-20 16:58:00 +0000 virtualbox packages: Bump to version 6.1.16 Closes: https://bugs.gentoo.org/750440 Closes: https://bugs.gentoo.org/747946 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> app-emulation/virtualbox-additions/Manifest | 1 + .../virtualbox-additions-6.1.16.ebuild | 34 ++ app-emulation/virtualbox-extpack-oracle/Manifest | 1 + .../virtualbox-extpack-oracle-6.1.16.140961.ebuild | 43 ++ app-emulation/virtualbox-guest-additions/Manifest | 1 + .../virtualbox-guest-additions-6.1.16.ebuild | 221 +++++++++ app-emulation/virtualbox-modules/Manifest | 1 + .../virtualbox-modules-6.1.16.ebuild | 55 +++ app-emulation/virtualbox/Manifest | 1 + app-emulation/virtualbox/virtualbox-6.1.16.ebuild | 512 +++++++++++++++++++++ 10 files changed, 870 insertions(+) |