public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* PATCH: [4.3 Regression] Make FAILURE in 4.3.0 - error: `CXX' has  changed since the previous run:
@ 2007-07-29  8:33 H.J. Lu
  2007-07-29 10:52 ` Matthias Klose
  2007-07-29 17:38 ` David Daney
  0 siblings, 2 replies; 7+ messages in thread
From: H.J. Lu @ 2007-07-29  8:33 UTC (permalink / raw)
  To: gcc-patches; +Cc: java-patches

aclocal.m4 was generated with wrong autom4te. This patch should work.


H.J.
----
2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>

	PR libgcj/32929
	* aclocal.m4: Regenerated.
	* configure: Likewise.

--- libjava/aclocal.m4.old	2007-07-28 16:43:25.000000000 -0700
+++ libjava/aclocal.m4	2007-07-29 00:32:37.000000000 -0700
@@ -7300,6 +7300,7 @@ AC_SUBST([am__untar])
 ]) # _AM_PROG_TAR
 
 m4_include([../config/acx.m4])
+m4_include([../config/confsubdir.m4])
 m4_include([../config/depstand.m4])
 m4_include([../config/enable.m4])
 m4_include([../config/gxx-include-dir.m4])

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

* Re: PATCH: [4.3 Regression] Make FAILURE in 4.3.0 - error: `CXX'  has  changed since the previous run:
  2007-07-29  8:33 PATCH: [4.3 Regression] Make FAILURE in 4.3.0 - error: `CXX' has changed since the previous run: H.J. Lu
@ 2007-07-29 10:52 ` Matthias Klose
  2007-07-29 13:42   ` H.J. Lu
  2007-07-29 17:38 ` David Daney
  1 sibling, 1 reply; 7+ messages in thread
From: Matthias Klose @ 2007-07-29 10:52 UTC (permalink / raw)
  To: H.J. Lu; +Cc: gcc-patches, java-patches

Thanks, I checked in the regenerated files after a bootstrap, and:

2007-07-29  Matthias Klose  <doko@ubuntu.com>

       * HACKING: Document regenerating configure.

Index: HACKING
===================================================================
--- HACKING     (revision 127036)
+++ HACKING     (working copy)
@@ -34,6 +34,15 @@

 --

+To regenerate libjava/configure, use:
+
+    aclocal -I . -I .. -I ../config -I libltdl
+    autoconf
+
+See the GCC documentation which auto* versions to use.
+
+--
+


H.J. Lu schrieb:
> aclocal.m4 was generated with wrong autom4te. This patch should work.
> 
> 
> H.J.
> ----
> 2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>
> 
> 	PR libgcj/32929
> 	* aclocal.m4: Regenerated.
> 	* configure: Likewise.
> 
> --- libjava/aclocal.m4.old	2007-07-28 16:43:25.000000000 -0700
> +++ libjava/aclocal.m4	2007-07-29 00:32:37.000000000 -0700
> @@ -7300,6 +7300,7 @@ AC_SUBST([am__untar])
>  ]) # _AM_PROG_TAR
>  
>  m4_include([../config/acx.m4])
> +m4_include([../config/confsubdir.m4])
>  m4_include([../config/depstand.m4])
>  m4_include([../config/enable.m4])
>  m4_include([../config/gxx-include-dir.m4])

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

* Re: PATCH: [4.3 Regression] Make FAILURE in 4.3.0 - error: `CXX'  has  changed since the previous run:
  2007-07-29 10:52 ` Matthias Klose
@ 2007-07-29 13:42   ` H.J. Lu
  0 siblings, 0 replies; 7+ messages in thread
From: H.J. Lu @ 2007-07-29 13:42 UTC (permalink / raw)
  To: Matthias Klose; +Cc: gcc-patches, java-patches

On Sun, Jul 29, 2007 at 12:13:56PM +0200, Matthias Klose wrote:
> Thanks, I checked in the regenerated files after a bootstrap, and:
> 
> 2007-07-29  Matthias Klose  <doko@ubuntu.com>
> 
>        * HACKING: Document regenerating configure.
> 
> Index: HACKING
> ===================================================================
> --- HACKING     (revision 127036)
> +++ HACKING     (working copy)
> @@ -34,6 +34,15 @@
> 
>  --
> 
> +To regenerate libjava/configure, use:
> +
> +    aclocal -I . -I .. -I ../config -I libltdl
> +    autoconf
> +
> +See the GCC documentation which auto* versions to use.
> +

I don't think "-I libltdl" is needed.



H.J.

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

* Re: PATCH: [4.3 Regression] Make FAILURE in 4.3.0 - error: `CXX'  has  changed since the previous run:
  2007-07-29  8:33 PATCH: [4.3 Regression] Make FAILURE in 4.3.0 - error: `CXX' has changed since the previous run: H.J. Lu
  2007-07-29 10:52 ` Matthias Klose
@ 2007-07-29 17:38 ` David Daney
  2007-07-29 18:53   ` H.J. Lu
  1 sibling, 1 reply; 7+ messages in thread
From: David Daney @ 2007-07-29 17:38 UTC (permalink / raw)
  To: H.J. Lu; +Cc: gcc-patches, java-patches

H.J. Lu wrote:
> aclocal.m4 was generated with wrong autom4te. This patch should work.
>
>   

Perhaps you could share the exact versions and command lines you used to 
generate aclocal.m4.

Noting the procedure in the HACKING file would be helpful as well.

Thanks
David Daney

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

* Re: PATCH: [4.3 Regression] Make FAILURE in 4.3.0 - error: `CXX'  has  changed since the previous run:
  2007-07-29 17:38 ` David Daney
@ 2007-07-29 18:53   ` H.J. Lu
  2007-07-29 20:36     ` Andreas Schwab
  0 siblings, 1 reply; 7+ messages in thread
From: H.J. Lu @ 2007-07-29 18:53 UTC (permalink / raw)
  To: David Daney; +Cc: gcc-patches, java-patches

On Sun, Jul 29, 2007 at 09:11:08AM -0700, David Daney wrote:
> H.J. Lu wrote:
> >aclocal.m4 was generated with wrong autom4te. This patch should work.
> >
> >  
> 
> Perhaps you could share the exact versions and command lines you used to 
> generate aclocal.m4.
> 
> Noting the procedure in the HACKING file would be helpful as well.
> 

You just need to do

# cd libjava
# rm aclocal.m4
# make aclocal.m4

and make sure that automake 1.9.6/autoconf 2.59 are really used. The
actual command is

# aclocal -I . -I .. -I ../config


H.J.

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

* Re: PATCH: [4.3 Regression] Make FAILURE in 4.3.0 - error: `CXX'  has  changed since the previous run:
  2007-07-29 18:53   ` H.J. Lu
@ 2007-07-29 20:36     ` Andreas Schwab
  2007-07-30 15:40       ` H.J. Lu
  0 siblings, 1 reply; 7+ messages in thread
From: Andreas Schwab @ 2007-07-29 20:36 UTC (permalink / raw)
  To: H.J. Lu; +Cc: David Daney, gcc-patches, java-patches

"H.J. Lu" <hjl@lucon.org> writes:

> You just need to do
>
> # cd libjava
> # rm aclocal.m4
> # make aclocal.m4

Except that aclocal.m4 lives in the source directory.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

* Re: PATCH: [4.3 Regression] Make FAILURE in 4.3.0 - error: `CXX'  has  changed since the previous run:
  2007-07-29 20:36     ` Andreas Schwab
@ 2007-07-30 15:40       ` H.J. Lu
  0 siblings, 0 replies; 7+ messages in thread
From: H.J. Lu @ 2007-07-30 15:40 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: David Daney, gcc-patches, java-patches

On Sun, Jul 29, 2007 at 10:08:05PM +0200, Andreas Schwab wrote:
> "H.J. Lu" <hjl@lucon.org> writes:
> 
> > You just need to do
> >
> > # cd libjava
> > # rm aclocal.m4
> > # make aclocal.m4
> 
> Except that aclocal.m4 lives in the source directory.

I am using

   cd libjava &&
   rm -f aclocal.m4 &&
   ACFLAGS=$(grep "^ACLOCAL_AMFLAGS" Makefile.in | sed -e "s/ACLOCAL_AMFLAGS[ \t ]*=//") && 
   aclocal-1.9 $ACFLAGS &&
   rm -f configure &&
   autoconf-2.59 &&
   rm -fr autom4te.cache

to simplify the step.

H.J.

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

end of thread, other threads:[~2007-07-30 14:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-29  8:33 PATCH: [4.3 Regression] Make FAILURE in 4.3.0 - error: `CXX' has changed since the previous run: H.J. Lu
2007-07-29 10:52 ` Matthias Klose
2007-07-29 13:42   ` H.J. Lu
2007-07-29 17:38 ` David Daney
2007-07-29 18:53   ` H.J. Lu
2007-07-29 20:36     ` Andreas Schwab
2007-07-30 15:40       ` H.J. Lu

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