From: Charles Wilson <libtool@cwilson.fastmail.fm>
To: Steve Ellcey <sje@cup.hp.com>
Cc: bonzini@gnu.org, drow@false.org, binutils@sourceware.org,
gcc-patches@gcc.gnu.org, gdb-patches@gcc.gnu.org,
newlib@sourceware.org, Ralf.Wildenhues@gmx.de,
aoliva@redhat.com, fxcoudert@gmail.com, schwab@suse.de
Subject: Re: Final(?) patch to update libtool in GCC and src trees
Date: Fri, 13 Apr 2007 20:19:00 -0000 [thread overview]
Message-ID: <461FCF83.10103@cwilson.fastmail.fm> (raw)
In-Reply-To: <200704131824.LAA20935@hpsje.cup.hp.com>
Steve Ellcey wrote:
> This feels backwards to me.
>
> I think we should do a Src tree only patch (GCC tree doesn't need this
> change) to set ACLOCAL_AMFLAGS and to remove the use of sinclude before
> doing anything else with libtool.
>
> Then, when we go to update libtool, no other changes should be needed in
> the src tree. In other words, do the clean up first.
This is logical -- but I think the other posters are worried that your
existing patch has gone thru several weeks of testing, on some
non-homogeneous set of platforms/targets/configurations. Your proposed
change has not.
I suspect that if you want to pursue this order-of-commits, you will be
asked to get the "cleanup" patches validated by a similar test regime,
and that will only extend the time you must maintain the libtool-centric
patches out-of-tree.
> I'll even go further and say that we should move the m4 macros that are
> currently in bfd and used by other components over to the config
> directory as part of this patch. These files are acinclude.m4, bfd.m4,
> and warning.m4. That way we don't have to put -I ../bfd in the
> ACLOCAL_AMFLAGS variable at all. We set ACLOCAL_AMFLAGS to "-I .. -I
> ../config" and we are done with it.
Agree with respect to bfd.m4 and warning.m4 (subject to the concerns
above). But acinclude.m4 is intended to be specific to each
independently configured project (or subproject with its own
configure.[ac|in]). That's why there are a lot of acinclude.m4 files in
the src/ tree:
-rw-r--r-- 1 cwilson None 2948 Mar 24 18:04 ./bfd/acinclude.m4
-rw-r--r-- 1 cwilson None 30 May 15 2005 ./binutils/acinclude.m4
-rwxr-xr-x 1 cwilson None 66436 Jan 14 2004 ./config/acinclude.m4
-rw-r--r-- 1 cwilson None 2658 Mar 24 18:06 ./gas/acinclude.m4
-rw-r--r-- 1 cwilson None 505 Mar 24 18:06 ./gprof/acinclude.m4
-rw-r--r-- 1 cwilson None 30 May 15 2005 ./ld/acinclude.m4
-rw-r--r-- 1 cwilson None 534 May 31 2006 ./opcodes/acinclude.m4
-rw-r--r-- 1 cwilson None 1174 May 24 2006 ./winsup/acinclude.m4
-rw-r--r-- 1 cwilson None 7319 Feb 5 17:57 ./newlib/acinclude.m4
<maybe more in modules I do not have checked out>
Frankly, The Right Thing To Do is to take each acinclude.m4, and split
them up into functionally-independent my-descriptive-name.m4's. Then,
perhaps move (common ones? identical ones that appeared in multiple
acinclude's? all of them?) into config/, do away with all acinclude.m4's
and let aclocal do its job. [caveat: except perhaps if there are any
cases where automake/aclocal are not used to maintain the existing
aclocal.m4 file; it does not appear to me that any of the components in
src/ meet that exception]
But that is an large effort, and one that is completely orthogonal to
your existing patches, and should be handled separately. And getting
modern libtool support into the tree should not be predicated on this
separate effort, IMO.
> Would such a patch, done before any of the other libtool changes, be
> acceptable?
See above.
--
Chuck
next prev parent reply other threads:[~2007-04-13 18:45 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-10 18:25 Steve Ellcey
2007-04-10 18:42 ` Andrew Pinski
2007-04-10 20:04 ` Steve Ellcey
2007-04-10 20:02 ` Dave Korn
2007-04-10 20:07 ` Steve Ellcey
2007-04-10 20:58 ` Dave Korn
2007-04-11 1:13 ` Dave Korn
2007-04-11 7:36 ` Paolo Bonzini
2007-04-11 8:47 ` Andreas Schwab
2007-04-11 8:51 ` Paolo Bonzini
2007-04-11 8:57 ` Ralf Wildenhues
2007-04-11 8:59 ` Paolo Bonzini
2007-04-11 9:23 ` Dave Korn
2007-04-11 9:25 ` Paolo Bonzini
2007-04-11 10:00 ` Dave Korn
2007-04-11 10:19 ` Paolo Bonzini
2007-04-11 21:41 ` Christopher Faylor
2007-04-12 10:42 ` Dave Korn
2007-04-11 2:38 ` Charles Wilson
2007-04-12 6:36 ` Charles Wilson
2007-04-12 7:03 ` Paolo Bonzini
2007-04-12 15:13 ` Steve Ellcey
2007-04-12 18:02 ` Charles Wilson
2007-04-13 7:18 ` Paolo Bonzini
2007-04-13 17:27 ` Steve Ellcey
2007-04-13 18:05 ` Daniel Jacobowitz
2007-04-13 18:18 ` Paolo Bonzini
2007-04-13 18:27 ` Steve Ellcey
2007-04-13 18:38 ` Paolo Bonzini
2007-04-13 18:44 ` Steve Ellcey
2007-04-13 20:19 ` Charles Wilson [this message]
2007-04-13 18:24 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=461FCF83.10103@cwilson.fastmail.fm \
--to=libtool@cwilson.fastmail.fm \
--cc=Ralf.Wildenhues@gmx.de \
--cc=aoliva@redhat.com \
--cc=binutils@sourceware.org \
--cc=bonzini@gnu.org \
--cc=drow@false.org \
--cc=fxcoudert@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=gdb-patches@gcc.gnu.org \
--cc=newlib@sourceware.org \
--cc=schwab@suse.de \
--cc=sje@cup.hp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox