public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/100832] New: s390x-linux-gnu: wrong number of alternatives in the output template
@ 2021-05-30 12:02 jbglaw@lug-owl.de
  2021-05-31  9:12 ` [Bug bootstrap/100832] " marxin at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jbglaw@lug-owl.de @ 2021-05-30 12:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100832

            Bug ID: 100832
           Summary: s390x-linux-gnu: wrong number of alternatives in the
                    output template
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jbglaw@lug-owl.de
  Target Milestone: ---

Hi!

Running automated tests again, I found that targeted for s390x-linux-gnu
(1a87f8381085de50726634e8cb4a651c05b272b5) won't build:


../gcc/configure --target=s390x-linux-gnu --enable-werror-always
--enable-languages=all --disable-gcov --disable-shared --disable-threads
--without-headers
--prefix=/var/lib/laminar/run/gcc-s390x-linux-gnu/1/toolchain-install
[...]

make all-gcc
[...]

[all 2021-05-30 10:17:14] /bin/bash ../../gcc/gcc/../move-if-change tmp-modes.c
insn-modes.c
[all 2021-05-30 10:17:14] echo timestamp > s-modes
[all 2021-05-30 10:17:14] /usr/lib/gcc-snapshot/bin/g++  -fno-PIE -c   -g -O2
-DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -I.
-I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include
-I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libcody 
-I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber -I../../gcc/gcc/../libbacktrace   -o insn-modes.o -MT
insn-modes.o -MMD -MP -MF ./.deps/insn-modes.TPo insn-modes.c
[all 2021-05-30 10:17:15] /usr/lib/gcc-snapshot/bin/g++  -fno-PIE -c   -g -O2
-DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -I.
-I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include
-I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libcody 
-I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber -I../../gcc/gcc/../libbacktrace   -o insn-opinit.o -MT
insn-opinit.o -MMD -MP -MF ./.deps/insn-opinit.TPo insn-opinit.c
[all 2021-05-30 10:17:35] /usr/lib/gcc-snapshot/bin/g++ -c   -g -O2 -DIN_GCC 
-DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H  -DGENERATOR_FILE
-fno-PIE -I. -Ibuild -I../../gcc/gcc -I../../gcc/gcc/build
-I../../gcc/gcc/../include  -I../../gcc/gcc/../libcpp/include  \
[all 2021-05-30 10:17:35]       -o build/genoutput.o ../../gcc/gcc/genoutput.c
[all 2021-05-30 10:17:36] /usr/lib/gcc-snapshot/bin/g++   -g -O2 -DIN_GCC 
-DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H  -DGENERATOR_FILE
-fno-PIE -static-libstdc++ -static-libgcc  -no-pie -o build/genoutput \
[all 2021-05-30 10:17:36]     build/genoutput.o build/rtl.o build/read-rtl.o
build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o
build/print-rtl.o build/hash-table.o build/sort.o build/read-md.o
build/errors.o ../build-x86_64-pc-linux-gnu/libiberty/libiberty.a
[all 2021-05-30 10:17:36] build/genoutput ../../gcc/gcc/common.md
../../gcc/gcc/config/s390/s390.md \
[all 2021-05-30 10:17:36]   insn-conditions.md > tmp-output.c
[all 2021-05-30 10:17:36] ../../gcc/gcc/config/s390/s390.md:9335:1: alternative
number mismatch: operand 0 has 4, operand 1 has 2
[all 2021-05-30 10:17:36] ../../gcc/gcc/config/s390/s390.md:9335:1: alternative
number mismatch: operand 0 has 4, operand 2 has 2
[all 2021-05-30 10:17:36] ../../gcc/gcc/config/s390/s390.md:9335:1: wrong
number of alternatives in the output template
[all 2021-05-30 10:17:36] ../../gcc/gcc/config/s390/s390.md:9349:1: alternative
number mismatch: operand 0 has 4, operand 1 has 2
[all 2021-05-30 10:17:36] ../../gcc/gcc/config/s390/s390.md:9349:1: alternative
number mismatch: operand 0 has 4, operand 2 has 2
[all 2021-05-30 10:17:36] ../../gcc/gcc/config/s390/s390.md:9349:1: wrong
number of alternatives in the output template
[all 2021-05-30 10:17:36] ../../gcc/gcc/config/s390/s390.md:9349:1: alternative
number mismatch: operand 0 has 4, operand 1 has 2
[all 2021-05-30 10:17:36] ../../gcc/gcc/config/s390/s390.md:9349:1: alternative
number mismatch: operand 0 has 4, operand 2 has 2
[all 2021-05-30 10:17:36] ../../gcc/gcc/config/s390/s390.md:9349:1: wrong
number of alternatives in the output template
[all 2021-05-30 10:17:36] make[1]: *** [Makefile:2468: s-output] Error 1
[all 2021-05-30 10:17:36] make[1]: Leaving directory
'/var/lib/laminar/run/gcc-s390x-linux-gnu/1/toolchain-build/gcc'
[all 2021-05-30 10:17:36] make: *** [Makefile:4418: all-gcc] Error 2

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/100832] s390x-linux-gnu: wrong number of alternatives in the output template
  2021-05-30 12:02 [Bug bootstrap/100832] New: s390x-linux-gnu: wrong number of alternatives in the output template jbglaw@lug-owl.de
@ 2021-05-31  9:12 ` marxin at gcc dot gnu.org
  2021-08-31 12:02 ` roger at nextmovesoftware dot com
  2021-09-03 13:28 ` jbglaw@lug-owl.de
  2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-05-31  9:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100832

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joern.rennecke at embecosm dot com
                   |                            |, marxin at gcc dot gnu.org
           Priority|P3                          |P1
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-05-31

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, started with r12-1104-gdd1ef00c45ba99ea10082f913c20319b1951defe.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/100832] s390x-linux-gnu: wrong number of alternatives in the output template
  2021-05-30 12:02 [Bug bootstrap/100832] New: s390x-linux-gnu: wrong number of alternatives in the output template jbglaw@lug-owl.de
  2021-05-31  9:12 ` [Bug bootstrap/100832] " marxin at gcc dot gnu.org
@ 2021-08-31 12:02 ` roger at nextmovesoftware dot com
  2021-09-03 13:28 ` jbglaw@lug-owl.de
  2 siblings, 0 replies; 4+ messages in thread
From: roger at nextmovesoftware dot com @ 2021-08-31 12:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100832

Roger Sayle <roger at nextmovesoftware dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roger at nextmovesoftware dot com

--- Comment #2 from Roger Sayle <roger at nextmovesoftware dot com> ---
I believe this issue was fixed by Ilya's patch back in May.
r12-1104-g22d834e32b509b22f68000b7f012d8e45d833ea8

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/100832] s390x-linux-gnu: wrong number of alternatives in the output template
  2021-05-30 12:02 [Bug bootstrap/100832] New: s390x-linux-gnu: wrong number of alternatives in the output template jbglaw@lug-owl.de
  2021-05-31  9:12 ` [Bug bootstrap/100832] " marxin at gcc dot gnu.org
  2021-08-31 12:02 ` roger at nextmovesoftware dot com
@ 2021-09-03 13:28 ` jbglaw@lug-owl.de
  2 siblings, 0 replies; 4+ messages in thread
From: jbglaw@lug-owl.de @ 2021-09-03 13:28 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100832

Jan-Benedict Glaw <jbglaw@lug-owl.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Jan-Benedict Glaw <jbglaw@lug-owl.de> ---
Confirmed with current trunk (8d34ffb4e8ed5300d0276b55f573add6db2517e8), this
error does no longer show up.

Thanks!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-03 13:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-30 12:02 [Bug bootstrap/100832] New: s390x-linux-gnu: wrong number of alternatives in the output template jbglaw@lug-owl.de
2021-05-31  9:12 ` [Bug bootstrap/100832] " marxin at gcc dot gnu.org
2021-08-31 12:02 ` roger at nextmovesoftware dot com
2021-09-03 13:28 ` jbglaw@lug-owl.de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).