From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C734B3858D20; Wed, 8 Feb 2023 22:56:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C734B3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675897003; bh=aNpOJtVAUdX54DnEuDe4SyTJjxZSILMu83ukBLIDyEc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=im/xRgalx1xpWjs7sHDoqNOEmftitDTg719vWRwxLqRZ98XGkLHqD7baZvLbS3t9X WPI/wYhK+MErxe/yiOfHUF8f7Ta6DMmiq26jrMS/GnAYVjsgNo614OHgXAiMsSBErC Wm2bQfL7yJ0VV3bCaPGQS9vG9/MwvtZwxFHEC3T4= From: "matt at immute dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug pch/108732] Pre-compiled headers cannot be output to /dev/null Date: Wed, 08 Feb 2023 22:56:43 +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: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: matt at immute dot net 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=3D108732 --- Comment #5 from Matt Hellige --- That makes sense, but it's just a strange inconsistency from a usability po= int of view. .so files are generally mmapped as well, I believe, aren't they? But I can still generate one to /dev/null if I like: $ gcc12.2.0 -o /dev/null -rdynamic -shared foo.o bar.o -lrt ... Works fine.=