From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0C43C3858C00; Tue, 23 May 2023 16:58:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0C43C3858C00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684861095; bh=a75inX0oXENBNOGQMLtiaJ9/5zn5/pYTwWoZ6o+QcI0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=C6Qto3sLkXeWI+cpzSq6+PXKKIR7xgAZiy1ztfQccIM+r6dH7uIz2UTxS50t59zCY QRh4ULnMZK8SpHbvLEd6JgbNnjxQvi6798Xp/+dvj5d9G5cMGrDWrXFiY+z3t8Sf5W M1IMv1bqz1wFVcasoUYJp5hqIn8uQEQ2tBJoaTAI= From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109927] Bootstrap fails for m68k in stage2 compilation of gimple-match.cc Date: Tue, 23 May 2023 16:58:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.1.1 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de 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: --- 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109927 --- Comment #9 from rguenther at suse dot de --- On Tue, 23 May 2023, userm57 at yahoo dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109927 >=20 > --- Comment #8 from Stan Johnson --- > > How much virtual memory does the m68k host have? >=20 > Swap space in the m68k virt VM is configurable; I'm using 1 GiB in two 51= 2 MiB > partitions. I noticed that compilation goes further with two 512 MiB part= itions > that with one 1 GiB partition, even though the second 512 MiB swap partit= ion > isn't used (see above). And I know I tested 2 GiB swap at one point, and = that > also failed. The virt VM is configured with 3399672K memory. The question is how much virtual memory is exposed to a user process, that is - how large is the address space? > While observing the failure, it appears to happen when the assembler "as" > becomes more active (so probably when cc1plus is about done). Assembler m= emory > increases quickly, and swap space is not really exhausted, despite the er= ror > message. That's odd, I never noticed the assembler taking much memory. > > Can you try current mainline to see if that's enough to pass native=20 > > bootstrap in qemu? >=20 > Native (manual) bootstrap of gcc-13.1 in QEMU (virt and q800) failed in G= entoo, > but the failure was slightly different (it failed in stage 3 instead of s= tage > 2). And I used Gentoo's configure options, as documented above. I could t= ry no > configure options, followed by "make bootstrap"; would that be helpful? I= f yes, > should I use Gentoo or Debian SID? Note mainline would be gcc 14.0, you can probably download a recent snapshot.=