[Bug bootstrap/85922] bootstrapping fails with -O3 because gcc 8.1.0 generates unknown instruction pshufb

gcc at mailinator dot com gcc-bugzilla@gcc.gnu.org
Mon May 28 07:46:00 GMT 2018


--- Comment #4 from John Simon <gcc at mailinator dot com> ---
> No, it uses a correct instruction, but you have too old assembler that can't handle it.

I think in this case the "correct" thing to do would be a check of assembler
during configure and either:
1) only generate code that matches the feature set of the assembler
2) error with a reasonable "your system assembler is too old, please update

> Wonder how old your assembler is, because this instruction in question is part of SSSE3 and is supported in binutils since 2007.

$ as --version
GNU assembler 20051219 (SUSE Linux)
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i586-suse-linux'.

More information about the Gcc-bugs mailing list