From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 90C833858C2B; Thu, 20 Jul 2023 03:08:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 90C833858C2B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689822485; bh=hfUW2YOSRG/Di7dRMahvhozI2JYYgEuFwHmeeC6gzOc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=N6Nv32AbbTspvxOCUVgl9deuPtySF26LctjJMH0Br4k0/DK/mRCZEOK5DX5D7JXJR difTqmLZq399I3u2k3FzBBpOE6FqbIHRxrYZLQ8lAdtsUgI8C9prGGAR+ZPnuPjibZ MON3AyBNQ9C4wc411KIJAZU52KxOoweXRpXvaOAc= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug pch/110746] gcc-12 fails: sorry, unimplemented: PCH allocation failure Date: Thu, 20 Jul 2023 03:08:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: pch X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: component short_desc 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=3D110746 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c++ |pch Summary|gcc-12 and gcc-13 fails: |gcc-12 fails: sorry, |sorry, unimplemented: PCH |unimplemented: PCH |allocation failure |allocation failure --- Comment #8 from Andrew Pinski --- result =3D host_hooks.gt_pch_use_address (mmi.preferred_base, mmi.size, fileno (f), mmi.offset); /* We could not mmap or otherwise allocate the required memory at the address needed. */ if (result < 0) { sorry_at (input_location, "PCH allocation failure"); /* There is no point in continuing from here, we will only end up with a crashed (most likely hanging) compiler. */ exit (-1); }=