https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63966
--- Comment #10 from Uroš Bizjak <ubizjak at gmail dot com> --- Alternative patch: --cut here-- Index: lex.c =================================================================== --- lex.c (revision 217830) +++ lex.c (working copy) @@ -270,7 +270,7 @@ search_line_acc_char (const uchar *s, const uchar extensions used, so SSE4.2 executables cannot run on machines that don't support that extension. */ -#if (GCC_VERSION >= 4005) && (defined(__i386__) || defined(__x86_64__)) && !(defined(__sun__) && defined(__svr4__)) +#if (GCC_VERSION >= 4005) && (__GNUC__ >= 5 || !defined(__PIC__)) && (defined(__i386__) || defined(__x86_64__)) && !(defined(__sun__) && defined(__svr4__)) /* Replicated character data to be shared between implementations. Recall that outside of a context with vector support we can't --cut here--