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

            Bug ID: 118459
           Summary: [15 regression] System.Object_Reader.Format_Error on
                    s390x
           Product: gcc
           Version: 15.0
               URL: https://kojipkgs.fedoraproject.org/work/tasks/7662/127
                    837662/build.log
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bj...@xn--rombobjrn-67a.se
                CC: dkm at gcc dot gnu.org
  Target Milestone: ---
              Host: s390x-redhat-linux-gnu
            Target: s390x-redhat-linux-gnu
             Build: s390x-redhat-linux-gnu

Rebuilding Fedora's GPRbuild package with GCC 15 on s390x, the compilation
appears to work, but the gprconfig executable it produces fails the smoke test:

gprconfig --batch -o /dev/null --validate
raised SYSTEM.OBJECT_READER.FORMAT_ERROR :
System.Object_Reader.ELF64_Ops.Initialize: unrecognized architecture
Load address: 0x2aa1b380000

The same version of GPRbuild (including gprconfig) works when built with
Fedora's gcc-gnat-14.2.1-6.fc42.s390x package. Thus I'm labeling this as a
regression.

Reply via email to