From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1D4BA390CEAF; Sat, 17 Dec 2022 07:57:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1D4BA390CEAF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671263833; bh=VdqOI3cqWwXtZLBA+g6mviU6qk4DfFpK2cL+9AfuDGE=; h=From:To:Subject:Date:From; b=hZsiNeJItOhsXAndl1GdLpGYm2RxTQ1nK9i2Bgi3ZNT8ky/AOz7ptsWq88F3Fbbbw +ZpuxkoBkDO8q1uQ+X7ZzWWVFsOegZvKsNtBe+CMXvX4MaiqG6C+fkK2q3v3VGF+Mj dGhKRn2CG9hm0M1G+l6Akx379GvgkF4LggOfIzZs= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/108153] New: Profiled lto bootstrap failure with modula2 Date: Sat, 17 Dec 2022 07:57:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: modula2 X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gaius at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108153 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=3Dbootstrap-lto --enable-link-serialization=3D1 profiledbootstrap build. https://koji.fedoraproject.org/koji/getfile?taskID=3D95445665&volume=3DDEFA= ULT&name=3Dbuild.log&offset=3D-40000 https://koji.fedoraproject.org/koji/getfile?taskID=3D95448682&volume=3DDEFA= ULT&name=3Dbuild.log&offset=3D-40000 https://koji.fedoraproject.org/koji/getfile?taskID=3D95448683&volume=3DDEFA= ULT&name=3Dbuild.log&offset=3D-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 for instructions. Please submit a full bug report, with preprocessed source. Please include the complete backtrace with any bug report. See 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=