public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/116774] New: ICE bootstrapping on cfarm92 (a riscv64 machine)
@ 2024-09-19  4:21 egallager at gcc dot gnu.org
  2024-09-19  4:24 ` [Bug rtl-optimization/116774] " pinskia at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: egallager at gcc dot gnu.org @ 2024-09-19  4:21 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 116774
           Summary: ICE bootstrapping on cfarm92 (a riscv64 machine)
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: egallager at gcc dot gnu.org
  Target Milestone: ---
              Host: riscv64-unknown-linux-gnu
            Target: riscv64-unknown-linux-gnu
             Build: riscv64-unknown-linux-gnu

No special arguments to configure, building with 2 make jobs, and I got this
ICE:
g++ -std=c++11  -fno-PIE -c   -g -DIN_GCC    -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-format -Wmissing-format-attribute -Wconditionally-supported
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings  -DHAVE_CONFIG_H -fno-PIE -I. -I. -I../../gcc
-I../../gcc/. -I../../gcc/../include  -I../../gcc/../libcpp/include
-I../../gcc/../libcody  -I../../gcc/../libdecnumber
-I../../gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/../libbacktrace  
-o insn-emit-5.o -MT insn-emit-5.o -MMD -MP -MF ./.deps/insn-emit-5.TPo
insn-emit-5.cc
during RTL pass: jump
insn-emit-5.cc: In function ‘rtx_def*
gen_pred_indexed_ustorervvm4x2bfrvvm2qi(rtx, rtx, rtx, rtx, rtx, rtx)’:
insn-emit-5.cc:65168:1: internal compiler error: Segmentation fault
65168 | }
      | ^
0x3f3b33a77b __libc_start_call_main
        ../sysdeps/nptl/libc_start_call_main.h:58
0x3f3b33a827 __libc_start_main_impl
        ./csu/libc-start.c:392
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-11/README.Bugs> for instructions.
make[3]: *** [Makefile:1194: insn-emit-5.o] Error 1
make[3]: *** Waiting for unfinished jobs....
rm gfdl.pod gcc.pod gcov-dump.pod gcov-tool.pod fsf-funding.pod gpl.pod cpp.pod
gcov.pod lto-dump.pod
make[3]: Leaving directory '/home/egallager/gcc/AAA_cfarm92.build/gcc'
make[2]: *** [Makefile:5053: all-stage1-gcc] Error 2
make[2]: Leaving directory '/home/egallager/gcc/AAA_cfarm92.build'
make[1]: *** [Makefile:25986: stage1-bubble] Error 2
make[1]: Leaving directory '/home/egallager/gcc/AAA_cfarm92.build'
make: *** [Makefile:1099: all] Error 2

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

* [Bug rtl-optimization/116774] ICE bootstrapping on cfarm92 (a riscv64 machine)
  2024-09-19  4:21 [Bug target/116774] New: ICE bootstrapping on cfarm92 (a riscv64 machine) egallager at gcc dot gnu.org
@ 2024-09-19  4:24 ` pinskia at gcc dot gnu.org
  2024-09-19  4:33 ` egallager at gcc dot gnu.org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-09-19  4:24 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |rtl-optimization
             Status|UNCONFIRMED                 |WAITING
           Keywords|                            |ice-on-valid-code
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-09-19

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> See <file:///usr/share/doc/gcc-11/README.Bugs> for instructions.


This is with the host compiler so this might not be something which we could
help with.

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

* [Bug rtl-optimization/116774] ICE bootstrapping on cfarm92 (a riscv64 machine)
  2024-09-19  4:21 [Bug target/116774] New: ICE bootstrapping on cfarm92 (a riscv64 machine) egallager at gcc dot gnu.org
  2024-09-19  4:24 ` [Bug rtl-optimization/116774] " pinskia at gcc dot gnu.org
@ 2024-09-19  4:33 ` egallager at gcc dot gnu.org
  2024-09-19  4:34 ` sjames at gcc dot gnu.org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: egallager at gcc dot gnu.org @ 2024-09-19  4:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
well, I mean, it *ought* to be possible to bootstrap with GCC 11 as the host
compiler, right? The "transition to C++14" thread on the mailing lists was just
talking about raising the requirement for the host compiler to GCC 5, which is
still significantly older than GCC 11...

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

* [Bug rtl-optimization/116774] ICE bootstrapping on cfarm92 (a riscv64 machine)
  2024-09-19  4:21 [Bug target/116774] New: ICE bootstrapping on cfarm92 (a riscv64 machine) egallager at gcc dot gnu.org
  2024-09-19  4:24 ` [Bug rtl-optimization/116774] " pinskia at gcc dot gnu.org
  2024-09-19  4:33 ` egallager at gcc dot gnu.org
@ 2024-09-19  4:34 ` sjames at gcc dot gnu.org
  2024-09-19  4:35 ` sjames at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-09-19  4:34 UTC (permalink / raw)
  To: gcc-bugs

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

Sam James <sjames at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sjames at gcc dot gnu.org

--- Comment #3 from Sam James <sjames at gcc dot gnu.org> ---
The problem is that it's riscv (so 11 is prehistoric in that context) and it's
also a huge generated file.

tbh, I suspect if you re-run the failing command, it might even succeed. The
riscv boards often aren't very stable..

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

* [Bug rtl-optimization/116774] ICE bootstrapping on cfarm92 (a riscv64 machine)
  2024-09-19  4:21 [Bug target/116774] New: ICE bootstrapping on cfarm92 (a riscv64 machine) egallager at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2024-09-19  4:34 ` sjames at gcc dot gnu.org
@ 2024-09-19  4:35 ` sjames at gcc dot gnu.org
  2024-09-19  4:41 ` egallager at gcc dot gnu.org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-09-19  4:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Sam James <sjames at gcc dot gnu.org> ---
The difference is "code we might massage to make it compile" vs "no idea why
the host compiler is ICEing", i.e. language support vs bugginess.

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

* [Bug rtl-optimization/116774] ICE bootstrapping on cfarm92 (a riscv64 machine)
  2024-09-19  4:21 [Bug target/116774] New: ICE bootstrapping on cfarm92 (a riscv64 machine) egallager at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2024-09-19  4:35 ` sjames at gcc dot gnu.org
@ 2024-09-19  4:41 ` egallager at gcc dot gnu.org
  2024-09-19  4:43 ` sjames at gcc dot gnu.org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: egallager at gcc dot gnu.org @ 2024-09-19  4:41 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Sam James from comment #3)
> The problem is that it's riscv (so 11 is prehistoric in that context) and
> it's also a huge generated file.
> 
> tbh, I suspect if you re-run the failing command, it might even succeed. The
> riscv boards often aren't very stable..

Hm, indeed, I'm trying it without the `-j2` this time, and it seems to be
getting past that spot... maybe it was hitting some sort of resource limit due
to the parallelism?

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

* [Bug rtl-optimization/116774] ICE bootstrapping on cfarm92 (a riscv64 machine)
  2024-09-19  4:21 [Bug target/116774] New: ICE bootstrapping on cfarm92 (a riscv64 machine) egallager at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2024-09-19  4:41 ` egallager at gcc dot gnu.org
@ 2024-09-19  4:43 ` sjames at gcc dot gnu.org
  2024-09-19  8:48 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-09-19  4:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Sam James <sjames at gcc dot gnu.org> ---
If I had to bet, it's overheating.

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

* [Bug rtl-optimization/116774] ICE bootstrapping on cfarm92 (a riscv64 machine)
  2024-09-19  4:21 [Bug target/116774] New: ICE bootstrapping on cfarm92 (a riscv64 machine) egallager at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2024-09-19  4:43 ` sjames at gcc dot gnu.org
@ 2024-09-19  8:48 ` rguenth at gcc dot gnu.org
  2024-09-19 13:03 ` xry111 at gcc dot gnu.org
  2024-09-19 18:50 ` schwab@linux-m68k.org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-09-19  8:48 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
According to comment#5

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

* [Bug rtl-optimization/116774] ICE bootstrapping on cfarm92 (a riscv64 machine)
  2024-09-19  4:21 [Bug target/116774] New: ICE bootstrapping on cfarm92 (a riscv64 machine) egallager at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2024-09-19  8:48 ` rguenth at gcc dot gnu.org
@ 2024-09-19 13:03 ` xry111 at gcc dot gnu.org
  2024-09-19 18:50 ` schwab@linux-m68k.org
  8 siblings, 0 replies; 10+ messages in thread
From: xry111 at gcc dot gnu.org @ 2024-09-19 13:03 UTC (permalink / raw)
  To: gcc-bugs

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

Xi Ruoyao <xry111 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xry111 at gcc dot gnu.org
                URL|                            |https://www.bitwizard.nl/si
                   |                            |g11/

--- Comment #8 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
For any "segmentation fault" it's better to rule out hardware issues before
making a bug report.

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

* [Bug rtl-optimization/116774] ICE bootstrapping on cfarm92 (a riscv64 machine)
  2024-09-19  4:21 [Bug target/116774] New: ICE bootstrapping on cfarm92 (a riscv64 machine) egallager at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2024-09-19 13:03 ` xry111 at gcc dot gnu.org
@ 2024-09-19 18:50 ` schwab@linux-m68k.org
  8 siblings, 0 replies; 10+ messages in thread
From: schwab@linux-m68k.org @ 2024-09-19 18:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Andreas Schwab <schwab@linux-m68k.org> ---
The Unmatched has a temperature sensor that can be watched with sensors.

$ sensors
nvme-pci-0600
Adapter: PCI adapter
Composite:    +36.9°C  (low  =  -5.2°C, high = +79.8°C)
                       (crit = +84.8°C)

tmp451-i2c-0-4c
Adapter: i2c-ocores
temp1:        +40.6°C  (low  =  +0.0°C, high = +85.0°C)
                       (crit = +85.0°C, hyst = +75.0°C)
temp2:        +43.1°C  (low  =  +0.0°C, high = +85.0°C)
                       (crit = +108.0°C, hyst = +98.0°C)

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

end of thread, other threads:[~2024-09-19 18:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-19  4:21 [Bug target/116774] New: ICE bootstrapping on cfarm92 (a riscv64 machine) egallager at gcc dot gnu.org
2024-09-19  4:24 ` [Bug rtl-optimization/116774] " pinskia at gcc dot gnu.org
2024-09-19  4:33 ` egallager at gcc dot gnu.org
2024-09-19  4:34 ` sjames at gcc dot gnu.org
2024-09-19  4:35 ` sjames at gcc dot gnu.org
2024-09-19  4:41 ` egallager at gcc dot gnu.org
2024-09-19  4:43 ` sjames at gcc dot gnu.org
2024-09-19  8:48 ` rguenth at gcc dot gnu.org
2024-09-19 13:03 ` xry111 at gcc dot gnu.org
2024-09-19 18:50 ` schwab@linux-m68k.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).