[vbox-dev] wrong error message with gcc-7

Frank Mehnert frank.mehnert at oracle.com
Wed May 17 11:27:59 UTC 2017

Hi Gianfranco,

On Mittwoch, 17. Mai 2017 09:06:22 CEST Gianfranco Costamagna wrote:
> configure:
> -log_failure "gcc version $cc_maj.$cc_min found, expected gcc 4.x, gcc 5.x or gcc 6.x" 
> +log_failure "gcc version $cc_maj.$cc_min found, expected gcc 4.x, gcc 5.x or gcc 7.x" 
> BTW gcc -dumpversion in debian experimental returns "7" and no minor version,
> so the cc_min is evaluated as "7" leading to an error such as:
> "gcc version 7.7 found, expected gcc 4.x, gcc 5.x or gcc 7.x"
> this seems really a gcc bug (because version is 7.1 right now), I'll investigate :)

correct. This error message was already fixed in


but this changeset was not yet backported to 5.1. Done now. Regarding the
'gcc-7 -dumpversion' problem: See


I've backported this changeset to 5.1 as well so it will be part of the next
5.1.x maintenance release.

Kind regards,

Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher

More information about the vbox-dev mailing list