public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* How is libtool updated in GCC?
@ 2014-11-10 21:06 FX
  2014-11-11  1:42 ` Joseph Myers
  0 siblings, 1 reply; 4+ messages in thread
From: FX @ 2014-11-10 21:06 UTC (permalink / raw)
  To: GCC Development

Hi,

libtool just released a new version to add support for OS X Yosemite (the old libtool had a poorly designed globbing pattern). It really is a one-line change (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63610#c7), but we need to incorporate it into the GCC code base and rebuild all our configure’s.

How is libtool handled in GCC? Do we import from upstream, or merge the changes that we need? It looks like it’s done manually and selectively, but I’d like confirmation of that.

Thanks,
FX

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

* Re: How is libtool updated in GCC?
  2014-11-10 21:06 How is libtool updated in GCC? FX
@ 2014-11-11  1:42 ` Joseph Myers
  2014-11-11  9:00   ` FX
  0 siblings, 1 reply; 4+ messages in thread
From: Joseph Myers @ 2014-11-11  1:42 UTC (permalink / raw)
  To: FX; +Cc: GCC Development

[-- Attachment #1: Type: text/plain, Size: 643 bytes --]

On Mon, 10 Nov 2014, FX wrote:

> How is libtool handled in GCC? Do we import from upstream, or merge the 
> changes that we need? It looks like it’s done manually and selectively, 
> but I’d like confirmation of that.

If you import rather than selectively merging one change you need (I 
think) to revert libtool commit 3334f7ed5851ef1e96b052f2984c4acdbf39e20c 
(incompatible with GCC handling of sysroots), as well as updating all 
three relevant repositories (GCC, binutils-gdb, src - I'm not sure if 
anything in binutils-gdb actually uses libtool but it has the files at 
toplevel).

-- 
Joseph S. Myers
joseph@codesourcery.com

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

* Re: How is libtool updated in GCC?
  2014-11-11  1:42 ` Joseph Myers
@ 2014-11-11  9:00   ` FX
  2014-11-11 13:26     ` Joseph Myers
  0 siblings, 1 reply; 4+ messages in thread
From: FX @ 2014-11-11  9:00 UTC (permalink / raw)
  To: Joseph Myers; +Cc: GCC Development

> If you import rather than selectively merging one change you need (I 
> think) to revert libtool commit 3334f7ed5851ef1e96b052f2984c4acdbf39e20c 
> (incompatible with GCC handling of sysroots), as well as updating all 
> three relevant repositories (GCC, binutils-gdb, src - I'm not sure if 
> anything in binutils-gdb actually uses libtool but it has the files at 
> toplevel).

So I’ve actually chosen to avoid the mess and selectly merge the one change that we need. Looking at the history of libtool.m4 in our tree, it looks like others have done that in the past, too.

Thanks for the feedback. On the src repository, is it documented somewhere how to change it? (I have probably done it in the past, but don’t remember)

FX

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

* Re: How is libtool updated in GCC?
  2014-11-11  9:00   ` FX
@ 2014-11-11 13:26     ` Joseph Myers
  0 siblings, 0 replies; 4+ messages in thread
From: Joseph Myers @ 2014-11-11 13:26 UTC (permalink / raw)
  To: FX; +Cc: GCC Development

[-- Attachment #1: Type: text/plain, Size: 1082 bytes --]

On Tue, 11 Nov 2014, FX wrote:

> > If you import rather than selectively merging one change you need (I 
> > think) to revert libtool commit 3334f7ed5851ef1e96b052f2984c4acdbf39e20c 
> > (incompatible with GCC handling of sysroots), as well as updating all 
> > three relevant repositories (GCC, binutils-gdb, src - I'm not sure if 
> > anything in binutils-gdb actually uses libtool but it has the files at 
> > toplevel).
> 
> So I’ve actually chosen to avoid the mess and selectly merge the one 
> change that we need. Looking at the history of libtool.m4 in our tree, 
> it looks like others have done that in the past, too.
> 
> Thanks for the feedback. On the src repository, is it documented 
> somewhere how to change it? (I have probably done it in the past, but 
> don’t remember)

The src repository in this context is about newlib / libgloss.  Update the 
shared files, regenerate affected files in subdirectories with whatever 
version of auto* was previously used (which may not be fully consistent 
everywhere).

-- 
Joseph S. Myers
joseph@codesourcery.com

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

end of thread, other threads:[~2014-11-11 13:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-10 21:06 How is libtool updated in GCC? FX
2014-11-11  1:42 ` Joseph Myers
2014-11-11  9:00   ` FX
2014-11-11 13:26     ` Joseph Myers

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