Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 617660 - virtualbox*: gcc version check
Summary: virtualbox*: gcc version check
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
Depends on:
Blocks: gcc-7
  Show dependency tree
Reported: 2017-05-06 18:44 UTC by lekto
Modified: 2017-05-08 15:55 UTC (History)
0 users

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

VirtualBox-5.1.22-gcc_version_check_remove.patch (file_617660.txt,1.08 KB, text/plain)
2017-05-06 18:44 UTC, lekto

Note You need to log in before you can comment on or make changes to this bug.
Description lekto 2017-05-06 18:44:15 UTC
Created attachment 471828 [details]

app-emulation/virtualbox, app-emulation/virtualbox-guest-additions and x11-drivers/xf86-video-virtualbox are using VirtualBox-x.x.xx-tar.bz2, with configure script that suppory only gcc 4.x, 5.x or 6.x (confirmed with VirtualBox-5.1.22). After remove gcc version check, this programs are working with gcc-7.1.

This command:
sed -e "/\s*-o\s*\\\(\s*\$cc_maj\s*-eq\s*[5-9]\s*-a\s*\$cc_min\s*-gt\s*[0-5]\s*\\\)\s*\\\/d" -i configure || die
that is in src_prepare seems not working.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-05-08 15:55:03 UTC
commit f25c3154912b085e9caf70f77dada0e6a5ea0d92 (HEAD -> master, origin/master, origin/HEAD)
Author: Lars Wendler <>
Date:   Mon May 8 17:34:30 2017

    virtualbox packages: Don't even call useless gcc version check.
    Package-Manager: Portage-2.3.5, Repoman-2.3.2