public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/25435] New: stage build no longer works
@ 2005-12-15 22:18 hjl at lucon dot org
2005-12-16 7:22 ` [Bug bootstrap/25435] " hjl at lucon dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: hjl at lucon dot org @ 2005-12-15 22:18 UTC (permalink / raw)
To: gcc-bugs
I used to be able to do
# cd gcc
# make unstage1
# make restage1
But now ./prev-gcc/xgcc is used to rebuild stage 1 compiler, not the
system compiler.
--
Summary: stage build no longer works
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl at lucon dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25435
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/25435] stage build no longer works
2005-12-15 22:18 [Bug bootstrap/25435] New: stage build no longer works hjl at lucon dot org
@ 2005-12-16 7:22 ` hjl at lucon dot org
2005-12-16 7:37 ` hjl at lucon dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl at lucon dot org @ 2005-12-16 7:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from hjl at lucon dot org 2005-12-16 07:22 -------
It is very very annoying now. I can no longer do
# cd gcc
# make restage3
I got
...
+ echo stage3_build
make LANGUAGES="c gcov gcov-dump c++ fortran java objc" BOOT_CFLAGS="-g -O2"
stage3_build
make[1]: Entering directory
`/export/build/gnu/gcc-blended/build-x86_64-linux/stage3-gcc'
make CC="/export/build/gnu/gcc-blended/build-x86_64-linux/./prev-gcc/xgcc
-B/export/build/gnu/gcc-blended/build-x86_64-linux/./prev-gcc/
-B/usr/gcc-4.2-blended/x86_64-unknown-linux-gnu/bin/"
libdir=/usr/gcc-4.2-blended/lib LANGUAGES="c " \
CFLAGS="-g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING" \
MAKEINFO="makeinfo --split-size=5000000 --split-size=5000000"
MAKEINFOFLAGS="--no-split" \
...
/export/build/gnu/gcc-blended/build-x86_64-linux/./prev-gcc/xgcc
-B/export/build/gnu/gcc-blended/build-x86_64-linux/./prev-gcc/
-B/usr/gcc-4.2-blended/x86_64-unknown-linux-gnu/bin/ -c -g -DENABLE_CHECKING
-DENABLE_ASSERT_CHECKING -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -Werror
-DHAVE_CONFIG_H -I. -I. -I/export/gnu/src/gcc-blended/gcc/gcc
-I/export/gnu/src/gcc-blended/gcc/gcc/.
-I/export/gnu/src/gcc-blended/gcc/gcc/../include
-I/export/gnu/src/gcc-blended/gcc/gcc/../libcpp/include
-I/export/gnu/src/gcc-blended/gcc/gcc/../libdecnumber \
/export/gnu/src/gcc-blended/gcc/gcc/config/i386/i386.c -o i386.o
...
main.o libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a
../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
libbackend.a(i386.o): In function
`VEC_edge_base_index':/export/gnu/src/gcc-blended/gcc/gcc/basic-block.h:147:
undefined reference to `vec_assert_fail'
collect2: ld returned 1 exit status
make[2]: *** [cc1-dummy] Error 1
The wrong CFLAGS was used.
--
hjl at lucon dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bonzini at gnu dot org
Severity|normal |major
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25435
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/25435] stage build no longer works
2005-12-15 22:18 [Bug bootstrap/25435] New: stage build no longer works hjl at lucon dot org
2005-12-16 7:22 ` [Bug bootstrap/25435] " hjl at lucon dot org
@ 2005-12-16 7:37 ` hjl at lucon dot org
2005-12-16 8:02 ` paolo dot bonzini at lu dot unisi dot ch
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl at lucon dot org @ 2005-12-16 7:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from hjl at lucon dot org 2005-12-16 07:37 -------
I made a change to i386.c. I just want to rebuild the final compiler with the
stage 2 compiler. I don't want to rebootstrap the whole gcc. What should I do?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25435
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/25435] stage build no longer works
2005-12-15 22:18 [Bug bootstrap/25435] New: stage build no longer works hjl at lucon dot org
2005-12-16 7:22 ` [Bug bootstrap/25435] " hjl at lucon dot org
2005-12-16 7:37 ` hjl at lucon dot org
@ 2005-12-16 8:02 ` paolo dot bonzini at lu dot unisi dot ch
2006-01-04 8:50 ` bonzini at gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: paolo dot bonzini at lu dot unisi dot ch @ 2005-12-16 8:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from paolo dot bonzini at lu dot unisi dot ch 2005-12-16 08:02 -------
Subject: Re: stage build no longer works
hjl at lucon dot org wrote:
>------- Comment #2 from hjl at lucon dot org 2005-12-16 07:37 -------
>I made a change to i386.c. I just want to rebuild the final compiler with the
>stage 2 compiler. I don't want to rebootstrap the whole gcc. What should I do?
>
>
You can do "make all-stage3" (which is the new name of restageN). Or
just do "make" which will do the equivalent of a bubblestrap (it does
not recompile everything, but it does percolate the change through the
whole set of stages, so that you do not get spurious comparison failures).
Paolo
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25435
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/25435] stage build no longer works
2005-12-15 22:18 [Bug bootstrap/25435] New: stage build no longer works hjl at lucon dot org
` (2 preceding siblings ...)
2005-12-16 8:02 ` paolo dot bonzini at lu dot unisi dot ch
@ 2006-01-04 8:50 ` bonzini at gnu dot org
2006-03-21 8:25 ` bonzini at gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bonzini at gnu dot org @ 2006-01-04 8:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from bonzini at gnu dot org 2006-01-04 08:50 -------
H.J., can we close this?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25435
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/25435] stage build no longer works
2005-12-15 22:18 [Bug bootstrap/25435] New: stage build no longer works hjl at lucon dot org
` (3 preceding siblings ...)
2006-01-04 8:50 ` bonzini at gnu dot org
@ 2006-03-21 8:25 ` bonzini at gnu dot org
2006-03-21 15:09 ` hjl at lucon dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bonzini at gnu dot org @ 2006-03-21 8:25 UTC (permalink / raw)
To: gcc-bugs
--
bonzini at gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25435
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/25435] stage build no longer works
2005-12-15 22:18 [Bug bootstrap/25435] New: stage build no longer works hjl at lucon dot org
` (4 preceding siblings ...)
2006-03-21 8:25 ` bonzini at gnu dot org
@ 2006-03-21 15:09 ` hjl at lucon dot org
2006-03-21 15:53 ` paolo dot bonzini at lu dot unisi dot ch
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl at lucon dot org @ 2006-03-21 15:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from hjl at lucon dot org 2006-03-21 15:09 -------
When I make a backend change, "make" at the top level still tries to rebuild
all libraries, even though nothing in library will be recompiled. When Java
is enabled, it may take a while just to check if libjava needs to be
recompiled.
Is there an option to say I only want to rebuild compiler, not libraries?
--
hjl at lucon dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|0000-00-00 00:00:00 |2006-03-21 15:09:33
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25435
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/25435] stage build no longer works
2005-12-15 22:18 [Bug bootstrap/25435] New: stage build no longer works hjl at lucon dot org
` (5 preceding siblings ...)
2006-03-21 15:09 ` hjl at lucon dot org
@ 2006-03-21 15:53 ` paolo dot bonzini at lu dot unisi dot ch
2006-03-21 16:27 ` hjl at lucon dot org
2006-03-21 16:27 ` hjl at lucon dot org
8 siblings, 0 replies; 10+ messages in thread
From: paolo dot bonzini at lu dot unisi dot ch @ 2006-03-21 15:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from paolo dot bonzini at lu dot unisi dot ch 2006-03-21 15:53 -------
Subject: Re: stage build no longer works
hjl at lucon dot org wrote:
> ------- Comment #5 from hjl at lucon dot org 2006-03-21 15:09 -------
> When I make a backend change, "make" at the top level still tries to rebuild
> all libraries, even though nothing in library will be recompiled. When Java
> is enabled, it may take a while just to check if libjava needs to be
> recompiled.
> Is there an option to say I only want to rebuild compiler, not libraries?
>
One particular stage: "make all-stageN"
All stages: "make stageN-bubble"
(usually N=3 of course)
All this is now documented in gcc's manual.
Paolo
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25435
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/25435] stage build no longer works
2005-12-15 22:18 [Bug bootstrap/25435] New: stage build no longer works hjl at lucon dot org
` (6 preceding siblings ...)
2006-03-21 15:53 ` paolo dot bonzini at lu dot unisi dot ch
@ 2006-03-21 16:27 ` hjl at lucon dot org
2006-03-21 16:27 ` hjl at lucon dot org
8 siblings, 0 replies; 10+ messages in thread
From: hjl at lucon dot org @ 2006-03-21 16:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from hjl at lucon dot org 2006-03-21 16:27 -------
Fixed.
--
hjl at lucon dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25435
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/25435] stage build no longer works
2005-12-15 22:18 [Bug bootstrap/25435] New: stage build no longer works hjl at lucon dot org
` (7 preceding siblings ...)
2006-03-21 16:27 ` hjl at lucon dot org
@ 2006-03-21 16:27 ` hjl at lucon dot org
8 siblings, 0 replies; 10+ messages in thread
From: hjl at lucon dot org @ 2006-03-21 16:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from hjl at lucon dot org 2006-03-21 16:27 -------
Fixed.
--
hjl at lucon dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25435
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2006-03-21 16:27 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-15 22:18 [Bug bootstrap/25435] New: stage build no longer works hjl at lucon dot org
2005-12-16 7:22 ` [Bug bootstrap/25435] " hjl at lucon dot org
2005-12-16 7:37 ` hjl at lucon dot org
2005-12-16 8:02 ` paolo dot bonzini at lu dot unisi dot ch
2006-01-04 8:50 ` bonzini at gnu dot org
2006-03-21 8:25 ` bonzini at gnu dot org
2006-03-21 15:09 ` hjl at lucon dot org
2006-03-21 15:53 ` paolo dot bonzini at lu dot unisi dot ch
2006-03-21 16:27 ` hjl at lucon dot org
2006-03-21 16:27 ` hjl at lucon 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).