From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 71615388C011; Sun, 18 Jul 2021 13:23:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 71615388C011 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/93758] Building x86_64-w64-mingw32-gcc (mingw-w64) on macOS Catalina results in "internal compiler error: Segmentation fault" Date: Sun, 18 Jul 2021 13:23:04 +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: 9.2.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Sun, 18 Jul 2021 13:23:04 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D93758 --- Comment #5 from Iain Sandoe --- (In reply to Mojca Miklavec from comment #4) > I'm sorry, I forgot about this ticket. I can confirm that building (versi= on > 11.1) in fact works on all macOS versions at the moment >=20 > https://ports.macports.org/port/x86_64-w64-mingw32-gcc/details/ >=20 > It's only broken for i686 on 10.6, but that's a completely different issue > that we need to investigate separately at some point. >=20 > (ld: illegal text-relocation to ___stdoutp in /usr/lib/libSystem.dylib fr= om > _main in build/gengenrtl.o for architecture i386) Is that using clang as the bootstrap compiler? I have a patch that works around the issue with -m32 -fno-PIE producing bro= ken relocations with clang - but I thought Ken had already applied it?=