From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 48AD23874C3E; Tue, 9 Feb 2021 20:22:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 48AD23874C3E From: "mikpelinux at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/98860] [11 Regression] boostrap failure on MinGW-w64 windows 10 Date: Tue, 09 Feb 2021 20:22:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mikpelinux at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2021 20:22:36 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98860 --- Comment #31 from Mikael Pettersson --- Created attachment 50158 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D50158&action=3Dedit conftest.c (based configure's cross compilation test) This runs Ok when compiled with "-O2 -g -gdwarf-4", but fails with Windows error code 193 aka "Exec format error" when compiled with "-O2 -g -gdwarf-5= ". The error is reproducible with a x86_64-w64-mingw32 cross (just transfer the EXEs to Windows for execution). Compiling with -S shows differences in several .debug sections.=