From: John Wolfe Date: Fri, 7 Aug 2020 19:03:25 +0000 (-0700) Subject: Bump gcc baseline to 4.1 X-Git-Tag: stable-11.2.0~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57b3aa2a537fc1a7d5c6e04cdbbcb39e472f38af;p=thirdparty%2Fopen-vm-tools.git Bump gcc baseline to 4.1 --- diff --git a/open-vm-tools/lib/include/vm_basic_types.h b/open-vm-tools/lib/include/vm_basic_types.h index fd5b4c2ba..2ee482da3 100644 --- a/open-vm-tools/lib/include/vm_basic_types.h +++ b/open-vm-tools/lib/include/vm_basic_types.h @@ -727,14 +727,16 @@ typedef void * UserVA; /* * At present, we effectively require a compiler that is at least - * gcc-3.3 (circa 2003). Enforce this here, various things below + * gcc-4.1 (circa 2006). Enforce this here, various things below * this line depend upon it. * - * In practice, most things presently compile with gcc-4.1 or gcc-4.4. - * The various linux kernel modules may use older (gcc-3.3) compilers. + * Current oldest compilers: + * - guest tools: 4.1.2 (freebsd/solaris) + * - buildhost compiler: 4.4.3 + * - hosted kernel modules: 4.5 */ -#if defined __GNUC__ && (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 3)) -#error "gcc version is too old to compile assembly, need gcc-3.3 or better" +#if defined __GNUC__ && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1)) +#error "gcc version is too old to compile assembly, need gcc-4.1 or better" #endif /*