This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/85922] bootstrapping fails with -O3 because gcc 8.1.0 generates unknown instruction pshufb
- From: "gcc at mailinator dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 May 2018 07:46:49 +0000
- Subject: [Bug bootstrap/85922] bootstrapping fails with -O3 because gcc 8.1.0 generates unknown instruction pshufb
- Auto-submitted: auto-generated
- References: <bug-85922-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85922
--- 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
gas/binutils"
> 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 2.16.91.0.5 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'.