Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Charles Wilson <libtool@cwilson.fastmail.fm>
To: bonzini@gnu.org
Cc: Steve Ellcey <sje@cup.hp.com>,
	 binutils@sourceware.org,   gcc-patches@gcc.gnu.org,
	 gdb-patches@gcc.gnu.org,   newlib@sourceware.org
Subject: Re: Patch to update libtool in GCC and Src trees
Date: Tue, 08 May 2007 03:47:00 -0000	[thread overview]
Message-ID: <463FF2AE.3000503@cwilson.fastmail.fm> (raw)
In-Reply-To: <463F873D.5000706@lu.unisi.ch>

Paolo Bonzini wrote:
> 
>> Attached are the various changelogs for GCC and the src tree, the one 
>> diff for src-release, and then an attachment with the ToT libtool that 
>> I have been using for testing.
> 
> What was the status of AIX testing?  If that and Cygwin (possibly 
> including winsup/newlib -- CCing Charles Wilson) are ok, the patch can 
> go in as far as I'm concerned.  Sorry if I'm being extra safe, but the 
> hardest to maintain parts are in now.

---- winsup/newlib, cygwin -----

Well, I just did a native build of a winsup/newlib tree (that is, module 
winsup checkout from src CVS repository) with Steve's ToT libtool 
changes applied at the toplevel.  I had no significant issues (well, two 
problems, but they were unrelated and quickly fixed, and the cognizant 
persons notified).

Which is unsurprising, because winsup itself doesn't use libtool; and 
newlib in /this/ configuration is also built sans libtool.

However: on other platforms (see src/newlib/configure.host: at present, 
only linux native) newlib may in fact use libtool.  It doesn't appear 
that any of Steve's patches address that:

   (1) src/newlib/configure.in says "AC_CONFIG_AUX_DIR(..)" so
       newlib will see the "new" ltmain.sh
   (2) src/newlib/Makefile.am says "ACLOCAL_AMFLAGS = -I ." so
       aclocal will use newlib/libtool.m4, which is "old", and NOT
       the "new" src/libtool.m4 and the other .m4 friends.

Unless copies of the new libtool.m4&friends are placed in the
newlib directory, or ACLOCAL_AMFLAGS is modified to search .. first, 
this is bound to cause problems (version skew in ../ltmain.sh vs. 
./libtool.m4) for some people -- even if I didn't experience any 
problems on cygwin.

It'd be nice to say "sure, go ahead and commit, and we'll take care of 
newlib-on-linux-native later".  But I think if we do that, we will 
actually break newlib-on-linux-native, which is bad.  So, there are two 
choices:

(1) change newlib's AC_CONFIG_AUX_DIR to '.' and copy everything it 
might need from src/. into src/newlib/. -- which would include the old 
ltmain.sh, ltconfig, and lt-*.sh files, and regenerate all affected 
files.  That is, postpone the newlib switchover to the new libtool.

(2) remove newlib/libtool.m4, change newlib/Makefile.am's 
ACLOCAL_AMFLAGS to '-I .. -I .', regenerate all affected files.  That 
is, switch newlib over to the new libtool now.

Either way, Steve's existing patch needs to be extended to do 
_something_ with newlib, and that means a few more days of shakedown so 
the linux-native-newlib guys can test it.



---- gcc, NON-combined tree, cygwin -----

I last bootstrapped gcc on cygwin with Steve's ToT libtool changes about 
a week ago, and had no issues then. I don't see where anything in the 
last week would have changed that.



---- question about external tools -----

Ralf W. and I have been working on some refinements for cygwin/mingw 
libtool in libtool's ToT over the last few weeks.  They are not yet 
ready, and I certainly do not want to hold back gcc progress waiting on 
libtool: the 20070318 libtool ToT included in Steve's update works fine 
as demonstrated above.  However, now that Steve's done all or most of 
the _hard_ work, what will be the policy going forward with regards to 
updating external, but embedded, tools like libtool?

How often will gcc re-import the latest libtool ToT?  Any chance of 
another -- less disruptive! -- update before 4.THREE.0 ships?

--
Chuck


  reply	other threads:[~2007-05-08  3:47 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-07 18:27 Steve Ellcey
2007-05-07 20:08 ` Paolo Bonzini
2007-05-08  3:47   ` Charles Wilson [this message]
2007-05-08  6:16     ` Paolo Bonzini
2007-05-08 15:19       ` Alexandre Oliva
     [not found] <200705111829.LAA24795@hpsje.cup.hp.com>
     [not found] ` <1178917335.26350.1189384841@webmail.messagingengine.com>
     [not found]   ` <46454D61.7050509@cwilson.fastmail.fm>
     [not found]     ` <orbqgoge6k.fsf@free.oliva.athome.lsd.ic.unicamp.br>
     [not found]       ` <46494FF1.2030304@cwilson.fastmail.fm>
     [not found]         ` <464A615E.4070005@cwilson.fastmail.fm>
2007-05-16  8:03           ` Paolo Bonzini
2007-05-16 13:08             ` Charles Wilson
2007-05-16 20:38             ` Steve Ellcey
2007-05-17  5:51               ` Charles Wilson
2007-05-18 17:09             ` Steve Ellcey
2007-05-21  7:41               ` Paolo Bonzini
2007-05-21 12:12                 ` Charles Wilson
2007-05-21 13:25                   ` Paolo Bonzini
2007-05-24 14:26                 ` libtool
2007-05-24 14:33                   ` Paolo Bonzini
2007-05-24 15:16                     ` Steve Ellcey
2007-05-24 15:39                       ` Jeff Johnston
2007-05-24 15:42                         ` Steve Ellcey
2007-05-24 16:00                           ` Jeff Johnston
     [not found] <200705172103.OAA10817@hpsje.cup.hp.com>
2007-05-17 23:44 ` libtool
2007-05-18 10:06   ` Dave Korn
2007-05-18 11:16     ` Daniel Jacobowitz

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=463FF2AE.3000503@cwilson.fastmail.fm \
    --to=libtool@cwilson.fastmail.fm \
    --cc=binutils@sourceware.org \
    --cc=bonzini@gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gdb-patches@gcc.gnu.org \
    --cc=newlib@sourceware.org \
    --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