From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 391 invoked by alias); 17 Aug 2007 13:09:55 -0000 Received: (qmail 32684 invoked by uid 22791); 17 Aug 2007 13:09:52 -0000 X-Spam-Check-By: sourceware.org Received: from alnrmhc16.comcast.net (HELO alnrmhc16.comcast.net) (206.18.177.56) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 17 Aug 2007 13:09:46 +0000 Received: from lucon.org ([24.6.230.138]) by comcast.net (alnrmhc16) with ESMTP id <20070817130944b1600qjcsce>; Fri, 17 Aug 2007 13:09:44 +0000 Received: by lucon.org (Postfix, from userid 500) id 9F120F81E8; Fri, 17 Aug 2007 06:09:44 -0700 (PDT) Date: Fri, 17 Aug 2007 13:09:00 -0000 From: "H.J. Lu" To: gcc-patches@gcc.gnu.org Subject: [hjl@lucon.org: Re: [Fwd: Failure in bootstrapping GFortran 4.3.0 on Cygwin]] Message-ID: <20070817130944.GA13631@lucon.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.14 (2007-02-12) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-08/txt/msg01104.txt.bz2 ----- Forwarded message from "H.J. Lu" ----- Date: Fri, 17 Aug 2007 06:04:29 -0700 From: "H.J. Lu" To: Paolo Carlini Subject: Re: [Fwd: Failure in bootstrapping GFortran 4.3.0 on Cygwin] User-Agent: Mutt/1.5.14 (2007-02-12) On Fri, Aug 17, 2007 at 01:18:36PM +0200, Paolo Carlini wrote: > HJ, > > please fix! > > Thanks, > Paolo. > > > -------- Original Message -------- > Subject: Failure in bootstrapping GFortran 4.3.0 on Cygwin > Date: Fri, 17 Aug 2007 08:55:38 +0200 > From: Angelo Graziosi > To: fortran@gcc.gnu.org > CC: gcc@gcc.gnu.org > > > > I want to flag that some changes in GCC 4.3.0 20070816 rev 127568: > > * Makefile.in (REVISION): New. > (REVISION_c): New. > (REVISION_s): New. > (version.o): Also depend on $(REVISION). Add > -DREVISION=$(REVISION_s). > > * version.c (version_string): Add REVISION. > > causes failure on Cygwin: > > > gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings > -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition > -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I/tmp/gcc/gcc > -I/tmp/gcc/gcc/. -I/tmp/gcc/gcc/../include > -I/tmp/gcc/gcc/../libcpp/include -I/tmp/gcc/gcc/../libdecnumber > -I/tmp/gcc/gcc/../libdecnumber/bid -I../libdecnumber > /tmp/gcc/gcc/varray.c -o varray.o > gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings > -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition > -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I/tmp/gcc/gcc > -I/tmp/gcc/gcc/. -I/tmp/gcc/gcc/../include > -I/tmp/gcc/gcc/../libcpp/include -I/tmp/gcc/gcc/../libdecnumber > -I/tmp/gcc/gcc/../libdecnumber/bid -I../libdecnumber /tmp/gcc/gcc/vec.c > -o vec.o > make[3]: *** No rule to make target /tmp/gcc/gcc/REVISION', needed by > version.o'. Stop. > make[3]: Leaving directory /tmp/gcc/build/gcc' > make[2]: *** [all-stage1-gcc] Error 2 > make[2]: Leaving directory /tmp/gcc/build' > make[1]: *** [stage1-bubble] Error 2 > make[1]: Leaving directory /tmp/gcc/build' > make: *** [all] Error 2 > > > Cheers, > > Angelo. > I am checking in this patch to fix it. Thanks. H.J. ---- 2007-08-17 H.J. Lu * Makefile.in (version.o): Depend on $(REVISION) only if REVISION_s is defined. --- Makefile.in.foo 2007-08-17 05:43:14.000000000 -0700 +++ Makefile.in 2007-08-17 05:58:42.000000000 -0700 @@ -1920,7 +1920,11 @@ gcc-options.o: options.c $(CONFIG_H) $(S dumpvers: dumpvers.c +ifdef REVISION_s version.o: version.c version.h $(REVISION) $(DATESTAMP) $(BASEVER) $(DEVPHASE) +else +version.o: version.c version.h $(DATESTAMP) $(BASEVER) $(DEVPHASE) +endif $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \ -DBASEVER=$(BASEVER_s) -DDATESTAMP=$(DATESTAMP_s) \ -DREVISION=$(REVISION_s) \ ----- End forwarded message -----