[Bug 1890435] Re: gcc-10 breaks on armhf (flaky): internal compiler error: Segmentation fault

Christian Ehrhardt  1890435 at bugs.launchpad.net
Thu Nov 26 09:29:17 UTC 2020


Ok, 20200507 almost immediately triggered the ICE

/root/qemu-5.0/linux-user/syscall.c: In function ‘do_syscall1’:
/root/qemu-5.0/linux-user/syscall.c:12479:1: internal compiler error: Segmentation fault
12479 | }
      | ^

0x5518cb crash_signal
	../../gcc/gcc/toplev.c:328
0x542673 avoid_constant_pool_reference(rtx_def*)
	../../gcc/gcc/simplify-rtx.c:237
0x515cad commutative_operand_precedence(rtx_def*)
	../../gcc/gcc/rtlanal.c:3482
0x515d6b swap_commutative_operands_p(rtx_def*, rtx_def*)
	../../gcc/gcc/rtlanal.c:3543
0x53cacb simplify_binary_operation(rtx_code, machine_mode, rtx_def*, rtx_def*)
	../../gcc/gcc/simplify-rtx.c:2333
0x53cb19 simplify_gen_binary(rtx_code, machine_mode, rtx_def*, rtx_def*)
	../../gcc/gcc/simplify-rtx.c:189
0x44d033 lra_constraints(bool)
	../../gcc/gcc/lra-constraints.c:4964
0x440653 lra(_IO_FILE*)
	../../gcc/gcc/lra.c:2440
0x411f05 do_reload
	../../gcc/gcc/ira.c:5523
0x411f05 execute
	../../gcc/gcc/ira.c:5709


This triggered on the first build. While waiting for some builds between r10-6080 and 20200507 I'll rerun this version to get some stats on how early to expect it.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-10 in Ubuntu.
https://bugs.launchpad.net/bugs/1890435

Title:
  gcc-10 breaks on armhf (flaky): internal compiler error: Segmentation
  fault

Status in Groovy:
  Confirmed
Status in gcc-10 package in Ubuntu:
  Confirmed

Bug description:
  Hi,
  this could be the same as bug 1887557 but as I don't have enough data I'm filing it as individual issue for now.

  I have only seen this happening on armhf so far.
  In 2 of 5 groovy builds of qemu 5.0 this week I have hit the issue, but it is flaky.

  Flakyness:
  1. different file
  first occurrence
  /<<PKGBUILDDIR>>/target/s390x/excp_helper.c:544:1: internal compiler error: Segmentation fault
  second occurrence
  /<<PKGBUILDDIR>>/linux-user/syscall.c:12479:1: internal compiler error: Segmentation fault

  Being so unreliable I can't provide mcuh more yet.
  I filed it mostly for awareness and so that I can be dup'ed onto the right but if there is a better one.

To manage notifications about this bug go to:
https://bugs.launchpad.net/groovy/+bug/1890435/+subscriptions



More information about the foundations-bugs mailing list