From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BB9E03857733; Sat, 15 Apr 2023 07:42:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB9E03857733 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681544578; bh=F7UiyaU6hfnKlCGTsASrFo0cJnFnnczDI5SpyHefdyY=; h=From:To:Subject:Date:From; b=LBoSf8BAqYD1kl+H1KSlkeXdRElcvTorJOdr9TO3Mmr+Uaa7pl4Vc8UsSG93z5NsB UwblSFb1pf1vsTHEnKHKSbepK+o3i9+FBWmHAlRtfq8v5xuoT/t2Gt5Hr69DPjmplI rTlC8z3/+AfBWD+XgDGMCqP5GYIUYFABwJZjb9qA= From: "xry111 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/109522] New: Spurious "cc1: error: no include path in which to search for stdc-predef.h" building a cross compiler Date: Sat, 15 Apr 2023 07:42:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: xry111 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 Bug ID: 109522 Summary: Spurious "cc1: error: no include path in which to search for stdc-predef.h" building a cross compiler Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: xry111 at gcc dot gnu.org Target Milestone: --- Build a cross compiler (with target libc not installed yet): ../gcc/configure --target=3Dloongarch64-linux-gnu --disable-multilib --with-system-zlib && make gcc Then a spurious message is outputted for macro_list: echo | /home/xry111/git-repos/gcc-la/./gcc/xgcc -B/home/xry111/git-repos/gcc-la/./gcc/ -E -dM - | \ sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \ -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \ sort -u > tmp-macro_list cc1: error: no include path in which to search for stdc-predef.h /bin/sh ../../gcc/gcc/../move-if-change tmp-macro_list macro_list Though the macro_list file is created successfully, the message can lead pe= ople to think something is wrong.=