From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 75DAC3858D3C; Sat, 6 May 2023 16:59:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 75DAC3858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683392367; bh=rYb2xcZcV2SDMK+jJZxy8CzpbxH3xtUItC81Apthbo0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZIioVeWLr5LW2Z8ahGxG7yxyU56CW4W9rmAEHEFi48ZyRj2nHopijVV4avVc0mmH7 gel2HsJR5CPNEY9HV5eXFp/Oh070LDLIi6fC8znXWsDdO1CmStpskB8F9q2ylhh2w7 hZgXtD5nHmh5A/rpC/dvTMp8Hb87hf6jMl0NP7nU= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/109522] Spurious "cc1: error: no include path in which to search for stdc-predef.h" building a cross compiler Date: Sat, 06 May 2023 16:59:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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=3D109522 --- Comment #4 from CVS Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:be6c13d5cef6fd9ca97dea7a6f5fbf93c51235b5 commit r14-544-gbe6c13d5cef6fd9ca97dea7a6f5fbf93c51235b5 Author: Xi Ruoyao Date: Sat Apr 15 19:55:50 2023 +0800 build: Use -nostdinc generating macro_list [PR109522] This prevents a spurious message building a cross-compiler when target libc is not installed yet: cc1: error: no include path in which to search for stdc-predef.h As stdc-predef.h was added to define __STDC_* macros by libc, it's unlikely the header will ever contain some bad definitions w/o "__" prefix so it should be safe. gcc/ChangeLog: PR other/109522 * Makefile.in (s-macro_list): Pass -nostdinc to $(GCC_FOR_TARGET).=