public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/109522] New: Spurious "cc1: error: no include path in which to search for stdc-predef.h" building a cross compiler
@ 2023-04-15  7:42 xry111 at gcc dot gnu.org
  2023-04-15  7:53 ` [Bug other/109522] " jakub at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: xry111 at gcc dot gnu.org @ 2023-04-15  7:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109522

            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=loongarch64-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 people
to think something is wrong.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-05-06 17:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-15  7:42 [Bug other/109522] New: Spurious "cc1: error: no include path in which to search for stdc-predef.h" building a cross compiler xry111 at gcc dot gnu.org
2023-04-15  7:53 ` [Bug other/109522] " jakub at gcc dot gnu.org
2023-04-15 11:45 ` xry111 at gcc dot gnu.org
2023-04-15 12:02 ` xry111 at gcc dot gnu.org
2023-05-06 16:59 ` cvs-commit at gcc dot gnu.org
2023-05-06 17:01 ` xry111 at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).