[Bug 1890435]

dcb 1890435 at bugs.launchpad.net
Sat Nov 16 17:06:24 UTC 2024


This C code also seems to generate the same error on 32 bit ARM:

void test_incomplete_array_fam() {
  struct FAM {
    char c;
    int data[]
  };
}
void test_single_element_array_possible_fam() {
  struct FAM {
    char c;
    int data[1]
  };
}

dcb at raspberrypi5:~/cvise $ /home/dcb/gcc/results.20241114/bin/gcc -w -g -c fam.c
dcb at raspberrypi5:~/cvise $ /home/dcb/gcc/results.20241116/bin/gcc -w -g -c fam.c
fam.c: In function ‘test_single_element_array_possible_fam’:
fam.c:12:1: error: ‘TYPE_CANONICAL’ is not compatible
   12 | }
      | ^


It seems to go wrong sometime between g:361050589b144913
and g:601a734188f3d2d3, so recent gcc trunk.

-- 
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 gcc:
  In Progress
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/gcc/+bug/1890435/+subscriptions




More information about the foundations-bugs mailing list