public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/18288] New: remaking existing build after cvs update gives configure recheck problems
@ 2004-11-03 20:13 mark at gcc dot gnu dot org
  2004-11-03 20:37 ` [Bug bootstrap/18288] " mark at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: mark at gcc dot gnu dot org @ 2004-11-03 20:13 UTC (permalink / raw)
  To: gcc-bugs

When updating a source try (through contrib/gcc_update) and typing make in the
build directory configure recheck fails often for the runtime libraries
(libc++-v3, libjava, boehmgc, libffi, etc.) Here is an example for libmudflap:

make[1]: Entering directory `/home/mark/src/gcc-obj/i686-pc-linux-gnu/libmudflap'
/bin/sh ./config.status --recheck
running /bin/sh /home/mark/src/gcc/libmudflap/configure 
--cache-file=./config.cache --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
--enable-multilib --enable-java-awt=gtk --prefix=/usr/local/gcc35
--with-gcc-version-trigger=/home/mark/src/gcc/gcc/version.c
--enable-languages=c,c++,java --program-transform-name=s,y,y,
--srcdir=../../../gcc/libmudflap --with-target-subdir=i686-pc-linux-gnu
CPPFLAGS=-O2 -g -O2 build_alias=i686-pc-linux-gnu host_alias=i686-pc-linux-gnu 
--no-create --no-recursion
configure: loading cache ./config.cache
configure: error: `target_alias' was not set in the previous run
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and start
overmake[1]: *** [config.status] Error 1
make[1]: Leaving directory
`/home/mark/src/gcc-obj/i686-pc-linux-gnu/libmudflap'make: ***
[all-target-libmudflap] Error 2

A workaround is deleting that whole subdirectory and trying make from the
toplevel build directory again.

-- 
           Summary: remaking existing build after cvs update gives configure
                    recheck problems
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mark at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug bootstrap/18288] remaking existing build after cvs update gives configure recheck problems
  2004-11-03 20:13 [Bug bootstrap/18288] New: remaking existing build after cvs update gives configure recheck problems mark at gcc dot gnu dot org
@ 2004-11-03 20:37 ` mark at gcc dot gnu dot org
  2004-11-03 20:39 ` fitzsim at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mark at gcc dot gnu dot org @ 2004-11-03 20:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mark at gcc dot gnu dot org  2004-11-03 20:37 -------
Another workaround (just told to me on irc, and verified) is to rerun you
configure statement in the top level build directory before doing a make in the
top level build dir.

-- 


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


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

* [Bug bootstrap/18288] remaking existing build after cvs update gives configure recheck problems
  2004-11-03 20:13 [Bug bootstrap/18288] New: remaking existing build after cvs update gives configure recheck problems mark at gcc dot gnu dot org
  2004-11-03 20:37 ` [Bug bootstrap/18288] " mark at gcc dot gnu dot org
@ 2004-11-03 20:39 ` fitzsim at redhat dot com
  2004-11-03 22:32 ` schwab at suse dot de
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: fitzsim at redhat dot com @ 2004-11-03 20:39 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fitzsim at redhat dot com


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


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

* [Bug bootstrap/18288] remaking existing build after cvs update gives configure recheck problems
  2004-11-03 20:13 [Bug bootstrap/18288] New: remaking existing build after cvs update gives configure recheck problems mark at gcc dot gnu dot org
  2004-11-03 20:37 ` [Bug bootstrap/18288] " mark at gcc dot gnu dot org
  2004-11-03 20:39 ` fitzsim at redhat dot com
@ 2004-11-03 22:32 ` schwab at suse dot de
  2005-04-28  3:48 ` mrs at apple dot com
  2005-04-28  4:44 ` mrs at apple dot com
  4 siblings, 0 replies; 6+ messages in thread
From: schwab at suse dot de @ 2004-11-03 22:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From schwab at suse dot de  2004-11-03 22:32 -------
You can also just remove the Makefile from the subdirectory to trigger 
reconfiguring from the toplevel. 

-- 


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


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

* [Bug bootstrap/18288] remaking existing build after cvs update gives configure recheck problems
  2004-11-03 20:13 [Bug bootstrap/18288] New: remaking existing build after cvs update gives configure recheck problems mark at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-11-03 22:32 ` schwab at suse dot de
@ 2005-04-28  3:48 ` mrs at apple dot com
  2005-04-28  4:44 ` mrs at apple dot com
  4 siblings, 0 replies; 6+ messages in thread
From: mrs at apple dot com @ 2005-04-28  3:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mrs at apple dot com  2005-04-28 03:48 -------
I can always reproduce this by touch zlib/configure && make all-target-zlib

The work around, would be to rm <targetdir>/*/config.cache

Also, I posted a patch for this in:

http://gcc.gnu.org/ml/gcc-patches/2005-04/msg02836.html

-- 


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


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

* [Bug bootstrap/18288] remaking existing build after cvs update gives configure recheck problems
  2004-11-03 20:13 [Bug bootstrap/18288] New: remaking existing build after cvs update gives configure recheck problems mark at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-04-28  3:48 ` mrs at apple dot com
@ 2005-04-28  4:44 ` mrs at apple dot com
  4 siblings, 0 replies; 6+ messages in thread
From: mrs at apple dot com @ 2005-04-28  4:44 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrs at apple dot com


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


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

end of thread, other threads:[~2005-04-28  4:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-03 20:13 [Bug bootstrap/18288] New: remaking existing build after cvs update gives configure recheck problems mark at gcc dot gnu dot org
2004-11-03 20:37 ` [Bug bootstrap/18288] " mark at gcc dot gnu dot org
2004-11-03 20:39 ` fitzsim at redhat dot com
2004-11-03 22:32 ` schwab at suse dot de
2005-04-28  3:48 ` mrs at apple dot com
2005-04-28  4:44 ` mrs at apple dot com

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).