public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/25670]  New: [4.2 Regression] build fail with 'make all-gcc'
@ 2006-01-04 14:06 loki at gcc dot gnu dot org
  2006-01-04 14:07 ` [Bug bootstrap/25670] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: loki at gcc dot gnu dot org @ 2006-01-04 14:06 UTC (permalink / raw)
  To: gcc-bugs

I've configured with:
./configure --prefix=.../install --disable-nls --disable-libgcj
--enable-languages=c


Executed:
make all-gcc


Output:
...
make[2]: Leaving directory `.../intl'
cat: stage_last: No such file or directory
make: invalid option -- a
Usage: make [options] [target] ...
...

It appeared after: Revision 108512

I think the problem is the missing check for 'stage_last' file
in the Makefile.

The following modification solved the problem, but I didn't 
test it very thoroughly.

Makefile.tpl:

-unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
+unstage = [ -f stage_current ] || if [ -f stage_last ]; then $(MAKE) `cat
stage_last`-start; fi


-- 
           Summary: [4.2 Regression] build fail with 'make all-gcc'
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: major
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: loki at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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



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

* [Bug bootstrap/25670] [4.2 Regression] build fail with 'make all-gcc'
  2006-01-04 14:06 [Bug bootstrap/25670] New: [4.2 Regression] build fail with 'make all-gcc' loki at gcc dot gnu dot org
@ 2006-01-04 14:07 ` pinskia at gcc dot gnu dot org
  2006-01-04 15:56 ` bonzini at gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-04 14:07 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bonzini at gnu dot org
           Severity|major                       |blocker
   Target Milestone|---                         |4.2.0


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



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

* [Bug bootstrap/25670] [4.2 Regression] build fail with 'make all-gcc'
  2006-01-04 14:06 [Bug bootstrap/25670] New: [4.2 Regression] build fail with 'make all-gcc' loki at gcc dot gnu dot org
  2006-01-04 14:07 ` [Bug bootstrap/25670] " pinskia at gcc dot gnu dot org
@ 2006-01-04 15:56 ` bonzini at gnu dot org
  2006-01-07 10:01 ` bonzini at gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bonzini at gnu dot org @ 2006-01-04 15:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bonzini at gnu dot org  2006-01-04 15:56 -------
Accepting this, but it is not a blocker as all-gcc is not even documented
anywhere.


-- 

bonzini at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |bonzini at gnu dot org
                   |dot org                     |
           Severity|blocker                     |normal
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-01-04 15:56:42
               date|                            |


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



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

* [Bug bootstrap/25670] [4.2 Regression] build fail with 'make all-gcc'
  2006-01-04 14:06 [Bug bootstrap/25670] New: [4.2 Regression] build fail with 'make all-gcc' loki at gcc dot gnu dot org
  2006-01-04 14:07 ` [Bug bootstrap/25670] " pinskia at gcc dot gnu dot org
  2006-01-04 15:56 ` bonzini at gnu dot org
@ 2006-01-07 10:01 ` bonzini at gnu dot org
  2006-01-09 13:08 ` amylaar at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bonzini at gnu dot org @ 2006-01-07 10:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from bonzini at gnu dot org  2006-01-07 10:01 -------
*** Bug 25694 has been marked as a duplicate of this bug. ***


-- 

bonzini at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amylaar at gcc dot gnu dot
                   |                            |org


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



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

* [Bug bootstrap/25670] [4.2 Regression] build fail with 'make all-gcc'
  2006-01-04 14:06 [Bug bootstrap/25670] New: [4.2 Regression] build fail with 'make all-gcc' loki at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-01-07 10:01 ` bonzini at gnu dot org
@ 2006-01-09 13:08 ` amylaar at gcc dot gnu dot org
  2006-01-09 13:10 ` amylaar at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2006-01-09 13:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from amylaar at gcc dot gnu dot org  2006-01-09 13:08 -------
(In reply to comment #1)
> Accepting this, but it is not a blocker as all-gcc is not even documented
> anywhere.
> 

If all-gcc is not documented that means only that we need not keep this as an
interface for users.
However, the functionality is crucial for testing cross-compilers and debugging
native compilers.
Also, I would be surprised if all-gcc is not documented somewhere for building
cross-compilers.


-- 


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



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

* [Bug bootstrap/25670] [4.2 Regression] build fail with 'make all-gcc'
  2006-01-04 14:06 [Bug bootstrap/25670] New: [4.2 Regression] build fail with 'make all-gcc' loki at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-01-09 13:08 ` amylaar at gcc dot gnu dot org
@ 2006-01-09 13:10 ` amylaar at gcc dot gnu dot org
  2006-01-09 13:14 ` bonzini at gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2006-01-09 13:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from amylaar at gcc dot gnu dot org  2006-01-09 13:10 -------
(In reply to comment #2)
> *** Bug 25694 has been marked as a duplicate of this bug. ***
> 

There is the further issue that the toplevel Makefile claims that 'all'
is a target to build a non-bootstrap compiler, but it isn't.


-- 


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



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

* [Bug bootstrap/25670] [4.2 Regression] build fail with 'make all-gcc'
  2006-01-04 14:06 [Bug bootstrap/25670] New: [4.2 Regression] build fail with 'make all-gcc' loki at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2006-01-09 13:10 ` amylaar at gcc dot gnu dot org
@ 2006-01-09 13:14 ` bonzini at gnu dot org
  2006-02-20  8:29 ` bonzini at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bonzini at gnu dot org @ 2006-01-09 13:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from bonzini at gnu dot org  2006-01-09 13:14 -------
Of course all-gcc is still doing the same thing for a cross compiler.  Anyway I
have a patch to restore the old functionality and, after that, I'll submit doc
fixes.

My comment was just meant to justify the lowering of priority.


-- 


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



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

* [Bug bootstrap/25670] [4.2 Regression] build fail with 'make all-gcc'
  2006-01-04 14:06 [Bug bootstrap/25670] New: [4.2 Regression] build fail with 'make all-gcc' loki at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2006-01-09 13:14 ` bonzini at gnu dot org
@ 2006-02-20  8:29 ` bonzini at gcc dot gnu dot org
  2006-02-20  8:36 ` bonzini at gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2006-02-20  8:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from bonzini at gnu dot org  2006-02-20 08:29 -------
Subject: Bug 25670

Author: bonzini
Date: Mon Feb 20 08:29:17 2006
New Revision: 111295

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111295
Log:
2006-02-20  Paolo Bonzini  <bonzini@gnu.org>

        PR bootstrap/25670

        * Makefile.tpl ([+compare-target+]): Print explanation messages.

        * Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass.
        * Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass.
        (EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES,
        BUILD_PREFIX, BUILD_PREFIX_1.
        * configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute.

        * Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too.
        * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too.

        * Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+],
        all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead
        of `cat stage_current`.  Always provide the `r' and `s' variables.
        (clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into
        a single shell execution.
        (configure-[+prefix+][+module+], all-[+prefix+][+module+]): For
        bootstrapped modules, make the stage1 module if the build was not
        started yet, else build the current stage.
        (all-host, all-target): Omit bootstrapped modules (if bootstrapping).
        (all-build, all-host, all-target, [+make_target+]-host,
        [+make_target+]-target): Do not use \-continued lines.
        (target modules): Depend on stage_last, not all-gcc, if bootstrapping.
        (current_stage, restrap, stage_last): New.

        * Makefile.in: Regenerate.
        * configure: Regenerate.

gcc:
2006-02-20  Paolo Bonzini  <bonzini@gnu.org>

        PR bootstrap/25476

        * Makefile.in (LDFLAGS): Define from autoconf substitution.

        * Makefile.in (BOOTSTRAPPING): New.
        (quickstrap): New definition if BOOTSTRAPPING=yes.

        * Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
        * configure.ac: Substitute all_selected_languages with the languages
        that were configured.  For all the other variables except
        lang_specs_files, include all the languages in the tree.
        * configure: Regenerate.

        * Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
        if there is one.  Run the commands to run fixincludes in the same
        subshell.

        * doc/makefile.texi: Document new makefile targets from toplevel
bootstrap.
        * doc/install.texi: Document exact conventions for searching target
tools.
        Document --with-build-time-tools.  Document toplevel bootstrap. 
Document
        something more about building an Ada cross-compiler.  Don't list GNU
Make
        requirements which affect all platforms.


Modified:
    trunk/ChangeLog
    trunk/Makefile.def
    trunk/Makefile.in
    trunk/Makefile.tpl
    trunk/configure
    trunk/configure.in
    trunk/gcc/ChangeLog
    trunk/gcc/Makefile.in
    trunk/gcc/configure
    trunk/gcc/configure.ac
    trunk/gcc/doc/install.texi
    trunk/gcc/doc/makefile.texi


-- 


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


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

* [Bug bootstrap/25670] [4.2 Regression] build fail with 'make all-gcc'
  2006-01-04 14:06 [Bug bootstrap/25670] New: [4.2 Regression] build fail with 'make all-gcc' loki at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2006-02-20  8:29 ` bonzini at gcc dot gnu dot org
@ 2006-02-20  8:36 ` bonzini at gnu dot org
  2006-02-20 17:35 ` pinskia at gcc dot gnu dot org
  2006-03-03 18:11 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: bonzini at gnu dot org @ 2006-02-20  8:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from bonzini at gnu dot org  2006-02-20 08:36 -------
Please confirm that your usual command-lines work.


-- 


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


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

* [Bug bootstrap/25670] [4.2 Regression] build fail with 'make all-gcc'
  2006-01-04 14:06 [Bug bootstrap/25670] New: [4.2 Regression] build fail with 'make all-gcc' loki at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2006-02-20  8:36 ` bonzini at gnu dot org
@ 2006-02-20 17:35 ` pinskia at gcc dot gnu dot org
  2006-03-03 18:11 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-20 17:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pinskia at gcc dot gnu dot org  2006-02-20 17:35 -------
*** Bug 25455 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org


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


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

* [Bug bootstrap/25670] [4.2 Regression] build fail with 'make all-gcc'
  2006-01-04 14:06 [Bug bootstrap/25670] New: [4.2 Regression] build fail with 'make all-gcc' loki at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2006-02-20 17:35 ` pinskia at gcc dot gnu dot org
@ 2006-03-03 18:11 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-03 18:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pinskia at gcc dot gnu dot org  2006-03-03 18:11 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2006-03-03 18:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-04 14:06 [Bug bootstrap/25670] New: [4.2 Regression] build fail with 'make all-gcc' loki at gcc dot gnu dot org
2006-01-04 14:07 ` [Bug bootstrap/25670] " pinskia at gcc dot gnu dot org
2006-01-04 15:56 ` bonzini at gnu dot org
2006-01-07 10:01 ` bonzini at gnu dot org
2006-01-09 13:08 ` amylaar at gcc dot gnu dot org
2006-01-09 13:10 ` amylaar at gcc dot gnu dot org
2006-01-09 13:14 ` bonzini at gnu dot org
2006-02-20  8:29 ` bonzini at gcc dot gnu dot org
2006-02-20  8:36 ` bonzini at gnu dot org
2006-02-20 17:35 ` pinskia at gcc dot gnu dot org
2006-03-03 18:11 ` pinskia at gcc dot gnu dot 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).