public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "slyfox at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/107064] New: gcc/config/t-i386 depends are incomplete: /gcc/config/i386/i386-builtins.h:25:10:      fatal error: i386-builtin-types.inc: No such file or directory
Date: Wed, 28 Sep 2022 06:26:50 +0000	[thread overview]
Message-ID: <bug-107064-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 107064
           Summary: gcc/config/t-i386 depends are incomplete:
                    /gcc/config/i386/i386-builtins.h:25:10:      fatal
                    error: i386-builtin-types.inc: No such file or
                    directory
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: slyfox at gcc dot gnu.org
  Target Milestone: ---

Filing https://gcc.gnu.org/pipermail/gcc-patches/2022-September/601708.html as
a bug to make sure it does not get lost.

i386-builtin-types.inc is included indirectly via i386-builtins.h
into 4 files: i386.cc i386-builtins.cc i386-expand.cc i386-features.cc

Only i386.cc dependency was present in gcc/config/t-i386 makefile.

As a result parallel builds occasionally fail as:

    g++ ... -o i386-builtins.o ...
../../gcc-13-20220911/gcc/config/i386/i386-builtins.cc
    In file included from
../../gcc-13-20220911/gcc/config/i386/i386-builtins.cc:92:
    ../../gcc-13-20220911/gcc/config/i386/i386-builtins.h:25:10:
     fatal error: i386-builtin-types.inc: No such file or directory
       25 | #include "i386-builtin-types.inc"
          |          ^~~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make[3]: *** [../../gcc-13-20220911/gcc/config/i386/t-i386:54:
i386-builtins.o]
      Error 1 shuffle=1663349189

gcc/
        * config/i386/t-i386: Add build-time dependencies against
        i386-builtin-types.inc to i386-builtins.o, i386-expand.o,
        i386-features.o.
---
 gcc/config/i386/t-i386 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gcc/config/i386/t-i386 b/gcc/config/i386/t-i386
index 4e2a0efc615..ffdbbdfe8ce 100644
--- a/gcc/config/i386/t-i386
+++ b/gcc/config/i386/t-i386
@@ -62,7 +62,12 @@ i386-features.o: $(srcdir)/config/i386/i386-features.cc
        $(COMPILE) $<
        $(POSTCOMPILE)

+# i386-builtin-types.inc is included into i386-builtins.h.
+# Below are direct users of i386-builtins.h:
 i386.o: i386-builtin-types.inc
+i386-builtins.o: i386-builtin-types.inc
+i386-expand.o: i386-builtin-types.inc
+i386-features.o: i386-builtin-types.inc

 i386-builtin-types.inc: s-i386-bt ; @true
 s-i386-bt: $(srcdir)/config/i386/i386-builtin-types.awk \

             reply	other threads:[~2022-09-28  6:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-28  6:26 slyfox at gcc dot gnu.org [this message]
2022-09-28  6:28 ` [Bug other/107064] " slyfox at gcc dot gnu.org
2022-10-03 21:00 ` [Bug target/107064] " slyfox at gcc dot gnu.org
2022-10-03 21:07 ` cvs-commit at gcc dot gnu.org
2022-10-03 21:07 ` cvs-commit at gcc dot gnu.org
2022-10-03 21:08 ` cvs-commit at gcc dot gnu.org
2022-10-03 21:09 ` slyfox at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-107064-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).