public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/57683] New: Parallel build failure: generated prerequisite header not built in time (insn-opinit.h)
@ 2013-06-23  9:38 nix at binaryboy dot net
  2013-06-23  9:40 ` [Bug bootstrap/57683] " nix at binaryboy dot net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: nix at binaryboy dot net @ 2013-06-23  9:38 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57683

            Bug ID: 57683
           Summary: Parallel build failure: generated prerequisite header
                    not built in time (insn-opinit.h)
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nix at binaryboy dot net

Created attachment 30343
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30343&action=edit
Patch to generate header insn-opinit.h early

Bootstrap failure on parallel build of gcc cross compiler for ARM target.
Single job build unaffected and verified to work.
In my particular circumstance, the first pass builds successfully however the
second pass, which builds libgcc as well, fails due to above reason.

Build error:
In file included from <path_to_gcc_src>/gcc/lra-constraints.c:127:
<path_to_gcc_src>/gcc/optabs.h:24:25: error: insn-opinit.h: No such file or
directory

Reason: Prerequisite header file 'gcc/insn-opinit.h' not generated before being
required.

Solution: add 'insn-opinit.h' to 'generated_files' variable in
'gcc/Makefile.in' where prerequisite files are declared (obvious it should be
there) - see attached patch.

System: Darwin host.local 12.4.0 Darwin Kernel Version 12.4.0: Wed May  1
17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64 (OS X 10.8.4)
System GCC: gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build
2336.11.00)

Build GCC: gcc version 4.8.1 (crosstool-NG hg+unknown-20130621.174606)
Target Arch: ARM


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

* [Bug bootstrap/57683] Parallel build failure: generated prerequisite header not built in time (insn-opinit.h)
  2013-06-23  9:38 [Bug bootstrap/57683] New: Parallel build failure: generated prerequisite header not built in time (insn-opinit.h) nix at binaryboy dot net
@ 2013-06-23  9:40 ` nix at binaryboy dot net
  2013-11-21  2:32 ` zqchen at gcc dot gnu.org
  2021-10-02  8:06 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: nix at binaryboy dot net @ 2013-06-23  9:40 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57683

Nicolas Hannekum <nix at binaryboy dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nix at binaryboy dot net
           Severity|normal                      |major


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

* [Bug bootstrap/57683] Parallel build failure: generated prerequisite header not built in time (insn-opinit.h)
  2013-06-23  9:38 [Bug bootstrap/57683] New: Parallel build failure: generated prerequisite header not built in time (insn-opinit.h) nix at binaryboy dot net
  2013-06-23  9:40 ` [Bug bootstrap/57683] " nix at binaryboy dot net
@ 2013-11-21  2:32 ` zqchen at gcc dot gnu.org
  2021-10-02  8:06 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: zqchen at gcc dot gnu.org @ 2013-11-21  2:32 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57683

--- Comment #1 from zqchen at gcc dot gnu.org ---
Author: zqchen
Date: Thu Nov 21 02:32:51 2013
New Revision: 205189

URL: http://gcc.gnu.org/viewcvs?rev=205189&root=gcc&view=rev
Log:
2013-11-21  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

    PR bootstrap/57683
    Backport from mainline: r197467 and r198999.
    2013-04-03  Jeff Law  <law@redhat.com>

    * Makefile.in (lra-constraints.o): Depend on $(OPTABS_H).
    (lra-eliminations.o): Likewise.

    2013-05-16  Jeff Law  <law@redhat.com>

    * Makefile.in (tree-switch-conversion.o): Depend on $(OPTABS_H).

Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/Makefile.in


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

* [Bug bootstrap/57683] Parallel build failure: generated prerequisite header not built in time (insn-opinit.h)
  2013-06-23  9:38 [Bug bootstrap/57683] New: Parallel build failure: generated prerequisite header not built in time (insn-opinit.h) nix at binaryboy dot net
  2013-06-23  9:40 ` [Bug bootstrap/57683] " nix at binaryboy dot net
  2013-11-21  2:32 ` zqchen at gcc dot gnu.org
@ 2021-10-02  8:06 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-10-02  8:06 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.3
         Resolution|---                         |FIXED
           Keywords|                            |build
             Status|WAITING                     |RESOLVED

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed so closing.

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

end of thread, other threads:[~2021-10-02  8:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-23  9:38 [Bug bootstrap/57683] New: Parallel build failure: generated prerequisite header not built in time (insn-opinit.h) nix at binaryboy dot net
2013-06-23  9:40 ` [Bug bootstrap/57683] " nix at binaryboy dot net
2013-11-21  2:32 ` zqchen at gcc dot gnu.org
2021-10-02  8:06 ` pinskia 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).