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

            Bug ID: 108153
           Summary: Profiled lto bootstrap failure with modula2
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: modula2
          Assignee: gaius at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

Some builds but not all fail for me in the distro
--with-build-config=bootstrap-lto --enable-link-serialization=1
profiledbootstrap build.
https://koji.fedoraproject.org/koji/getfile?taskID=95445665&volume=DEFAULT&name=build.log&offset=-40000
https://koji.fedoraproject.org/koji/getfile?taskID=95448682&volume=DEFAULT&name=build.log&offset=-40000
https://koji.fedoraproject.org/koji/getfile?taskID=95448683&volume=DEFAULT&name=build.log&offset=-40000
2 of them are on s390x, one on powerpc64le, all look like:
In function 'SYSTEM_ShiftVal':
cc1gm2: internal compiler error: the location value is corrupt
In function 'ShiftVal':
cc1gm2: internal compiler error: the location value is corrupt
0x11a3d2d m2assert_AssertLocation(unsigned int)
        ../../gcc/m2/gm2-gcc/m2assert.cc:40
0x11a3d2d m2assert_AssertLocation(unsigned int)
        ../../gcc/m2/gm2-gcc/m2assert.cc:40
0x11a3d2d m2assert_AssertLocation(unsigned int)
        ../../gcc/m2/gm2-gcc/m2assert.cc:32
0x11a3d2d m2statement_BuildAssignmentTree
        ../../gcc/m2/gm2-gcc/m2statement.cc:177
0x11a3d2d m2assert_AssertLocation(unsigned int)
        ../../gcc/m2/gm2-gcc/m2assert.cc:32
0x11a3d2d m2statement_BuildAssignmentTree
        ../../gcc/m2/gm2-gcc/m2statement.cc:177
0x11ff5d5 CodeModM2Check
        m2/gm2-compiler-boot/M2GenGCC.c:5078
0x11ff5d5 CodeModM2Checked
        m2/gm2-compiler-boot/M2GenGCC.c:5061
0x11ff5d5 CodeModM2Check
        m2/gm2-compiler-boot/M2GenGCC.c:5078
0x11ff5d5 CodeModM2Checked
        m2/gm2-compiler-boot/M2GenGCC.c:5061
0x11ff5d5 CodeStatement
        m2/gm2-compiler-boot/M2GenGCC.c:1775
0x11ff5d5 M2GenGCC_ConvertQuadsToTree
        m2/gm2-compiler-boot/M2GenGCC.c:8456
0x11ff5d5 CodeStatement
        m2/gm2-compiler-boot/M2GenGCC.c:1775
0x11ff5d5 M2GenGCC_ConvertQuadsToTree
        m2/gm2-compiler-boot/M2GenGCC.c:8456
0x122db9d M2Scope_ForeachScopeBlockDo
        m2/gm2-compiler-boot/M2Scope.c:660
0x122db9d M2Scope_ForeachScopeBlockDo
        m2/gm2-compiler-boot/M2Scope.c:660
0x11d007f M2Code_CodeBlock
        m2/gm2-compiler-boot/M2Code.c:511
0x11a1a43 Lists_ForeachItemInListDo
        m2/gm2-compiler-boot/Lists.c:393
0x11d0245 M2Code_CodeBlock
        m2/gm2-compiler-boot/M2Code.c:543
0x11e02d9 DoCodeBlock
        m2/gm2-compiler-boot/M2Code.c:270
0x11e02d9 M2Code_Code
        m2/gm2-compiler-boot/M2Code.c:474
0x11e1af1 Compile
        m2/gm2-compiler-boot/M2Comp.c:211
0x11e1af1 M2Comp_compile
        m2/gm2-compiler-boot/M2Comp.c:760
0x11d007f M2Code_CodeBlock
        m2/gm2-compiler-boot/M2Code.c:511
0x11a1a43 Lists_ForeachItemInListDo
        m2/gm2-compiler-boot/Lists.c:393
0x11d0245 M2Code_CodeBlock
        m2/gm2-compiler-boot/M2Code.c:543
0x11e02d9 DoCodeBlock
        m2/gm2-compiler-boot/M2Code.c:270
0x11e02d9 M2Code_Code
        m2/gm2-compiler-boot/M2Code.c:474
0x11e1af1 Compile
        m2/gm2-compiler-boot/M2Comp.c:211
0x11e1af1 M2Comp_compile
        m2/gm2-compiler-boot/M2Comp.c:760
0x1182b55 gm2_parse_input_files
        ../../gcc/m2/gm2-lang.cc:451
0x1182b55 gm2_langhook_parse_file
        ../../gcc/m2/gm2-lang.cc:458
0x1182b55 gm2_parse_input_files
        ../../gcc/m2/gm2-lang.cc:451
0x1182b55 gm2_langhook_parse_file
        ../../gcc/m2/gm2-lang.cc:458
Please submit a full bug report, with preprocessed source.
Please include the complete backtrace with any bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Please submit a full bug report, with preprocessed source.
Please include the complete backtrace with any bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
SYSTEM module creates type: LOC
SYSTEM module creates type: WORD
SYSTEM module creates type: BYTE
SYSTEM module creates type: ADDRESS
SYSTEM module creates type: INTEGER8
SYSTEM module creates type: INTEGER16
SYSTEM module creates type: INTEGER32
SYSTEM module creates type: INTEGER64
SYSTEM module creates type: CARDINAL8
SYSTEM module creates type: CARDINAL16
SYSTEM module creates type: CARDINAL32
SYSTEM module creates type: CARDINAL64
SYSTEM module creates type: WORD16
SYSTEM module creates type: WORD32
SYSTEM module creates type: WORD64
SYSTEM module creates type: BITSET8
SYSTEM module creates type: BITSET16
SYSTEM module creates type: BITSET32
SYSTEM module creates type: REAL32
SYSTEM module creates type: REAL64
SYSTEM module creates type: REAL128
SYSTEM module creates type: COMPLEX32
SYSTEM module creates type: COMPLEX64
SYSTEM module creates type: COMPLEX128
SYSTEM module creates type: CSIZE_T
SYSTEM module creates type: CSSIZE_T

Reply via email to