public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/113346] New: [14 Regression] epiphany-elf build failure
@ 2024-01-12  6:46 rguenth at gcc dot gnu.org
  2024-01-12  6:47 ` [Bug target/113346] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-01-12  6:46 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113346
           Summary: [14 Regression] epiphany-elf build failure
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

[  297s] libtool: compile: 
/home/abuild/rpmbuild/BUILD/gcc-14.0.0+git7159/obj-x
86_64-suse-linux/./gcc/xgcc
-B/home/abuild/rpmbuild/BUILD/gcc-14.0.0+git7159/obj
-x86_64-suse-linux/./gcc/ -B/usr/epiphany-elf/bin/ -B/usr/epiphany-elf/lib/
-isy
stem /usr/epiphany-elf/include -isystem /usr/epiphany-elf/sys-include
--sysroot=
/usr/epiphany-elf/sys-root -DHAVE_CONFIG_H -I.
-I../../../../../libstdc++-v3/src
/libbacktrace -I../.. -I ../../../../../libstdc++-v3/../include -I
../../../../.
./libstdc++-v3/../libgcc -I ../../../libgcc -I .. -I
../../../../../libstdc++-v3
 -I ../../../../../libstdc++-v3/../libbacktrace -I
../../../../../libstdc++-v3/.
./libiberty -include
../../../../../libstdc++-v3/src/libbacktrace/backtrace-rena
me.h -D_GNU_SOURCE -DHAVE_SYNC_FUNCTIONS=1 -DHAVE_FCNTL=1
-DBACKTRACE_ELF_SIZE=3
2 -W -Wall -Wwrite-strings -Wmissing-format-attribute -Wcast-qual
-Wstrict-proto
types -Wmissing-prototypes -Wold-style-definition -Wno-unused-but-set-variable
-
g -O2 -c elf.c -o std_stacktrace-elf.o
[  297s] elf.c: In function 'elf_zlib_verify_checksum':
[  297s] elf.c:2646:1: error: unable to generate reloads for:
[  297s]  2646 | }
[  297s]       | ^
[  297s] (insn 590 577 579 18 (parallel [
[  297s]             (set (reg:CC 349)
[  297s]                 (reg:CC 368 [349]))
[  297s]             (use (const_int -4337 [0xffffffffffffef0f]))
[  297s]             (clobber (reg:SI 369))
[  297s]         ]) 46 {*movcc_i}
[  297s]      (expr_list:REG_UNUSED (reg:SI 369)
[  297s]         (nil)))
[  297s] during RTL pass: reload
[  297s] elf.c:2646:1: internal compiler error: in curr_insn_transform, at
lra-constraints.cc:4234
[  297s] 0x424ed2 _fatal_insn(char const*, rtx_def const*, char const*, int,
char const*)
[  297s]        ../../gcc/rtl-error.cc:108
[  297s] 0x41d516 curr_insn_transform
[  297s]        ../../gcc/lra-constraints.cc:4234
[  297s] 0x88ba0f lra_constraints(bool)
[  297s]        ../../gcc/lra-constraints.cc:5437
[  297s] 0x8796ea lra(_IO_FILE*, int)
[  297s]        ../../gcc/lra.cc:2442
[  297s] 0x83500f do_reload
[  297s]        ../../gcc/ira.cc:5973
[  297s] 0x83500f execute
[  297s]        ../../gcc/ira.cc:6161


configured with

   31s] + ../configure 'CFLAGS= -O2 -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g'
'CXXFLAGS= -O2 -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -Werror=return-type -g' 'XCFLAGS= -O2 -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g'
'TCFLAGS= -O2 -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -Werror=return-type -g' 'GDCFLAGS= -O2 -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -g' --prefix=/usr
--infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64
--libexecdir=/usr/lib64 --enable-languages=c,c++ --enable-checking=release
--disable-werror --with-gxx-include-dir=/usr/include/c++/14
--with-libstdcxx-zoneinfo=/usr/share/zoneinfo --enable-ssp --disable-libssp
--disable-libvtv --enable-cet=auto --disable-libcc1 --disable-plugin
--with-bugurl=https://bugs.opensuse.org/ '--with-pkgversion=SUSE Linux'
--with-slibdir=/usr/epiphany-elf/sys-root/lib64 --with-system-zlib
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --with-gcc-major-version-only
--enable-linux-futex --enable-gnu-indirect-function --program-suffix=-14
--program-prefix=epiphany-elf- --target=epiphany-elf --disable-nls
--with-sysroot=/usr/epiphany-elf/sys-root
--with-build-sysroot=/usr/epiphany-elf/sys-root
--with-build-time-tools=/usr/epiphany-elf/bin --with-newlib --disable-bootstrap
--enable-link-serialization --disable-libsanitizer --build=x86_64-suse-linux
--host=x86_64-suse-linux

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

* [Bug target/113346] [14 Regression] epiphany-elf build failure
  2024-01-12  6:46 [Bug target/113346] New: [14 Regression] epiphany-elf build failure rguenth at gcc dot gnu.org
@ 2024-01-12  6:47 ` rguenth at gcc dot gnu.org
  2024-01-12  6:48 ` rguenth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-01-12  6:47 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code, ra
                 CC|                            |amylaar at gcc dot gnu.org
             Target|                            |epiphany-elf
   Target Milestone|---                         |14.0

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

* [Bug target/113346] [14 Regression] epiphany-elf build failure
  2024-01-12  6:46 [Bug target/113346] New: [14 Regression] epiphany-elf build failure rguenth at gcc dot gnu.org
  2024-01-12  6:47 ` [Bug target/113346] " rguenth at gcc dot gnu.org
@ 2024-01-12  6:48 ` rguenth at gcc dot gnu.org
  2024-01-12 10:07 ` pinskia at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-01-12  6:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
This was with r14-7159-g1a80e9558dd7fe

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

* [Bug target/113346] [14 Regression] epiphany-elf build failure
  2024-01-12  6:46 [Bug target/113346] New: [14 Regression] epiphany-elf build failure rguenth at gcc dot gnu.org
  2024-01-12  6:47 ` [Bug target/113346] " rguenth at gcc dot gnu.org
  2024-01-12  6:48 ` rguenth at gcc dot gnu.org
@ 2024-01-12 10:07 ` pinskia at gcc dot gnu.org
  2024-01-12 10:16 ` pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-01-12 10:07 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=108928

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
PR 108928 is definitely related.

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

* [Bug target/113346] [14 Regression] epiphany-elf build failure
  2024-01-12  6:46 [Bug target/113346] New: [14 Regression] epiphany-elf build failure rguenth at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2024-01-12 10:07 ` pinskia at gcc dot gnu.org
@ 2024-01-12 10:16 ` pinskia at gcc dot gnu.org
  2024-01-12 10:27 ` pinskia at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-01-12 10:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note this is mentioned in
https://gcc.gnu.org/pipermail/gcc-patches/2024-January/642328.html :
So I consider this port dead as it semi-randomly fails in reload due to 
unrelated changes earlier in the gimple and RTL pipelines.

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

* [Bug target/113346] [14 Regression] epiphany-elf build failure
  2024-01-12  6:46 [Bug target/113346] New: [14 Regression] epiphany-elf build failure rguenth at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2024-01-12 10:16 ` pinskia at gcc dot gnu.org
@ 2024-01-12 10:27 ` pinskia at gcc dot gnu.org
  2024-01-12 10:40 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-01-12 10:27 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2024-01-12
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So looking into movcc_i is defined is definitely seems broken.

What it is trying is make sure some bits of the `status register` is not
touched when loading in the CC (because it contains interrupt disable/enable
bit and a few others).

I am not so sure if this ever worked really.

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

* [Bug target/113346] [14 Regression] epiphany-elf build failure
  2024-01-12  6:46 [Bug target/113346] New: [14 Regression] epiphany-elf build failure rguenth at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2024-01-12 10:27 ` pinskia at gcc dot gnu.org
@ 2024-01-12 10:40 ` pinskia at gcc dot gnu.org
  2024-03-04  4:18 ` law at gcc dot gnu.org
  2024-05-07  7:43 ` [Bug target/113346] [14/15 " rguenth at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-01-12 10:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
"Lie to reload and it will have its revenge." --RTH

I think this is true here ....

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

* [Bug target/113346] [14 Regression] epiphany-elf build failure
  2024-01-12  6:46 [Bug target/113346] New: [14 Regression] epiphany-elf build failure rguenth at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2024-01-12 10:40 ` pinskia at gcc dot gnu.org
@ 2024-03-04  4:18 ` law at gcc dot gnu.org
  2024-05-07  7:43 ` [Bug target/113346] [14/15 " rguenth at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: law at gcc dot gnu.org @ 2024-03-04  4:18 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5
                 CC|                            |law at gcc dot gnu.org

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

* [Bug target/113346] [14/15 Regression] epiphany-elf build failure
  2024-01-12  6:46 [Bug target/113346] New: [14 Regression] epiphany-elf build failure rguenth at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2024-03-04  4:18 ` law at gcc dot gnu.org
@ 2024-05-07  7:43 ` rguenth at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-05-07  7:43 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|14.0                        |14.2

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 14.1 is being released, retargeting bugs to GCC 14.2.

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

end of thread, other threads:[~2024-05-07  7:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-12  6:46 [Bug target/113346] New: [14 Regression] epiphany-elf build failure rguenth at gcc dot gnu.org
2024-01-12  6:47 ` [Bug target/113346] " rguenth at gcc dot gnu.org
2024-01-12  6:48 ` rguenth at gcc dot gnu.org
2024-01-12 10:07 ` pinskia at gcc dot gnu.org
2024-01-12 10:16 ` pinskia at gcc dot gnu.org
2024-01-12 10:27 ` pinskia at gcc dot gnu.org
2024-01-12 10:40 ` pinskia at gcc dot gnu.org
2024-03-04  4:18 ` law at gcc dot gnu.org
2024-05-07  7:43 ` [Bug target/113346] [14/15 " rguenth at gcc dot gnu.org

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).