https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63966
--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> --- Can you please test this patch: --cut here-- Index: lex.c =================================================================== --- lex.c (revision 217789) +++ lex.c (working copy) @@ -471,7 +471,11 @@ /* Check the CPU capabilities. */ +#if (GCC_VERSION >= 5000) #include "../gcc/config/i386/cpuid.h" +#else +#include <cpuid.h> +#endif typedef const uchar * (*search_line_fast_type) (const uchar *, const uchar *); static search_line_fast_type search_line_fast; --cut here--