From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C1AD83858C53; Thu, 24 Aug 2023 21:03:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C1AD83858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692910981; bh=I3AZ28VMNqV6H/wqcSEsMS8IA+FZkh3roO+HjNT1WdA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dzESHMk9AfXGvalFvtkQrvQmQjlbRK0FBMb+Om4MUF/qdEi1DL3AUAoj9ovmabREM sDurjuEjJzd15mXC1E/OSX40asAVK7hFq5cNhVRbzkZvgLxvg/qqZvbatwgRotBodj InZKvNG0qJg7e0rgB+l65N+qhnWC+AhSOB/ko/Xk= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/111141] Compiling gcc-13.2.0 on Ubuntu 22.04.3 LTS, problem asm-generic/errno.h Date: Thu, 24 Aug 2023 21:03:01 +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: 13.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org 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=3D111141 --- Comment #2 from Andrew Pinski --- I think we should improve the toplevel configure to error out if including errno.h fails. So instead of: ``` echo "int main () { return 0; }" > conftest.c ``` We should do: ``` echo "#include " > conftest.c echo "int main () { return 0; }" >> conftest.c ``` I don't have a way to test this but this should at least cause the failure = to happen earlier during configure rather than later on.=