From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C11C6385842C; Fri, 3 Dec 2021 14:10:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C11C6385842C From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug pch/71934] pch cannot be disabled so gcc cannot be position independent Date: Fri, 03 Dec 2021 14:10:23 +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: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW 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 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: Fri, 03 Dec 2021 14:10:23 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D71934 --- Comment #15 from Iain Sandoe --- if it were only the main exe, I think we'd be OK on m32 Darwin too - but af= ter 10.7 everything gets ASLRd (kernel, DSOs, dynamic linker and exe) so even though each one is in a smallish range, the combined effect is to leave no really obvious window. On m64 - we have plenty of VMA to play with - and that looks OK. I suppose that if there were a graceful way to recover on m32 (so that it w= as just a performance hit not a compile fail) then that would be good enough.=