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

            Bug ID: 119095
           Summary: GCC in Ubuntu 20.04, 22.04 and 24.04 all have this
                    problem.
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wzis at hotmail dot com
  Target Milestone: ---

wzsgcreg.c:237:6: internal compiler error: in subspan, at input.h:68
  237 |      st.st_size, ptime, line);
      |      ^~
0x7f8f35858082 __libc_start_main
        ../csu/libc-start.c:308

As I tested the issue happened on Ubuntu 20.04, 24.04, that means it is from
GCC 9.4.0 all the way to 13.3.0。
The C statement that it complained about is as following:
                        sprintf(key, CERT_FMT_NORMAL,
                          licCRC, MaxCertSize, sha384sumf(line),
                          st.st_size, ptime, line);
Just for your info, this program has been compiled on many other versions of
Linux, and on AIX,Solaris,MacOS, with no issue.

I submitted the bug a few days ago, but I couldn't find it any more, in that
one, I was told it's a duplicate one, and the original one is fixed, ask me to
talk to Ubuntu, but I asked Ubuntu for this, they didn't recognize it.

Reply via email to