You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Arfrever Frehtes Taifersar Arahesis <ar...@gmail.com> on 2008/03/23 02:38:16 UTC

[PATCH] Always pass --tag=CC / --tag=CXX option to libtool

config.status is created and executed by AC_OUTPUT.

From NEWS of libtool-2.2:
"* libtool script is now created by config.status.  Instead of interrogating
   `./libtool' from configure.ac after calling AC_PROG_LIBTOOL, use the
   variable names directly."

It means that when --enable-experimental-libtool option isn't used,
${abs_builddir}/libtool file doesn't exist earlier and the checking
if libtool supports --tag option gives false negative:

checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether libtool accepts --tag=XXX... ./configure: line 12165: ${PATH_TO_WORKING_COPY}/libtool: No such file or directory
no
checking whether libtool needs -no-undefined... no

[[[
Always pass --tag=CC / --tag=CXX option to libtool.

* configure.ac:
   Don't check if libtool supports --tag option.
* Makefile.in:
  (LTFLAGS): Replace @SVN_LT_CCTAG@ with --tag=CC.
  (LTCXXFLAGS): Replace @SVN_LT_CXXTAG@ with --tag=CXX.
]]]

-- 
Arfrever Frehtes Taifersar Arahesis

Re: [PATCH] Always pass --tag=CC / --tag=CXX option to libtool

Posted by Arfrever Frehtes Taifersar Arahesis <ar...@gmail.com>.
2008-03-23 03:37:53 Arfrever Frehtes Taifersar Arahesis napisał(a):
> config.status is created and executed by AC_OUTPUT.
> 
> From NEWS of libtool-2.2:
> "* libtool script is now created by config.status.  Instead of interrogating
>    `./libtool' from configure.ac after calling AC_PROG_LIBTOOL, use the
>    variable names directly."
> 
> It means that when --enable-experimental-libtool option isn't used,
> ${abs_builddir}/libtool file doesn't exist earlier and the checking
> if libtool supports --tag option gives false negative:
> 
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking whether libtool accepts --tag=XXX... ./configure: line 12165: ${PATH_TO_WORKING_COPY}/libtool: No such file or directory
> no
> checking whether libtool needs -no-undefined... no
> 
> [[[
> Always pass --tag=CC / --tag=CXX option to libtool.
> 
> * configure.ac:
>    Don't check if libtool supports --tag option.
> * Makefile.in:
>   (LTFLAGS): Replace @SVN_LT_CCTAG@ with --tag=CC.
>   (LTCXXFLAGS): Replace @SVN_LT_CXXTAG@ with --tag=CXX.
> ]]]

Committed in r30030.


-- 
Arfrever Frehtes Taifersar Arahesis

Re: [PATCH] Always pass --tag=CC / --tag=CXX option to libtool

Posted by Eric Gillespie <ep...@pretzelnet.org>.
Arfrever Frehtes Taifersar Arahesis <ar...@gmail.com> writes:

> > >  libtool-1.4 was released on 2001-04-26.
> > >  libtool-1.4.1 was released on 2001-09-03.
> > >  libtool-1.4.2 was released on 2001-09-11.
> > >  libtool-1.4.3 was released on 2003-11-27.
> > >  libtool-1.5 was released on 2003-11-27.
> > >  libtool-1.5.2 was released on 2004-01-25.
> > >  ...
> > >  libtool-1.5.26 was released on 2008-02-01.
> > >  libtool-2.2 was released on 2008-03-02.
> > 
> > The release dates are interesting, but I think a stronger argument
> > would be to list the version included in various distributions:

[release dates snipped]

Thanks, Arfrever; I think you're clear now.

-- 
Eric Gillespie <*> epg@pretzelnet.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] Always pass --tag=CC / --tag=CXX option to libtool

Posted by Mark Phippard <ma...@gmail.com>.
On Mon, Mar 24, 2008 at 1:34 PM, Arfrever Frehtes Taifersar Arahesis
<ar...@gmail.com> wrote:
> 2008-03-24 17:38:56 Mark Phippard napisał(a):
>
> > On Mon, Mar 24, 2008 at 12:25 PM, Arfrever Frehtes Taifersar Arahesis
>  > <ar...@gmail.com> wrote:
>  > > 2008-03-24 09:54:19 Eric Gillespie napisa³(a):
>
> > >  > Arfrever Frehtes Taifersar Arahesis <ar...@gmail.com> writes:
>  > >  >
>  > >  > > If nobody objects, I would like to commit this patch tomorrow.
>  > >  >
>  > >  > I'm not sure everyone understands the consequences of this
>  > >  > change; I know I don't.  How does this affect developers still
>  > >  > using libtool 1.5 (like me).  What about releases?
>  > >
>  > >  --tag option is supported since libtool-1.5.
>  > >  I think that we don't need to support libtool-1.4.* or earlier.
>  > >
>  > >  ...
>  > >  libtool-1.4 was released on 2001-04-26.
>  > >  libtool-1.4.1 was released on 2001-09-03.
>  > >  libtool-1.4.2 was released on 2001-09-11.
>  > >  libtool-1.4.3 was released on 2003-11-27.
>  > >  libtool-1.5 was released on 2003-11-27.
>  > >  libtool-1.5.2 was released on 2004-01-25.
>  > >  ...
>  > >  libtool-1.5.26 was released on 2008-02-01.
>  > >  libtool-2.2 was released on 2008-03-02.
>  >
>  > The release dates are interesting, but I think a stronger argument
>  > would be to list the version included in various distributions:
>  >
>  > RHEL 3/4/5
>  > FreeBSD (popular versions)
>  > Debian (popular versions)
>  > OSX 10.4/10.5
>  > etc.
>
>  Gentoo:
>    x86 stable:          libtool-1.5.26
>    x86 testing:         libtool-1.5.26
>    x86 package.masked:  libtool-2.2
>
>  Debian:
>    Sarge:               libtool-1.5.6-6
>    Etch:                libtool-1.5.22-4
>    Lenny:               libtool-1.5.26-1
>    Sid:                 libtool-1.5.26-1
>    Experimental:        libtool-2.1a+cvs1.2525+20071016-1
>
>  FreeBSD:
>    5.2.0:               libtool-1.5
>    5.2.1:               libtool-1.5
>    5.3.0:               libtool-1.5.8
>    5.4.0:               libtool-1.5.10
>    5.5.0:               libtool-1.5.22
>    6.0.0:               libtool-1.5.18
>    6.1.0:               libtool-1.5.22
>    6.2.0:               libtool-1.5.22
>    6.3.0:               libtool-1.5.24
>    7.0.0:               libtool-1.5.24
>
>  CentOS:
>    5:                   libtool-1.5.22
>  RHEL:
>    5:          probably libtool-1.5.22
>
>  OS X:
>    10.4:                libtool-1.5
>
>  Ubuntu:
>    7.04:                libtool-1.5.22

Here a few more:

RHEL 3:  1.4.3
RHEL 4:  1.5.6
Solaris 10 (sparc): 1.5

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

Re: [PATCH] Always pass --tag=CC / --tag=CXX option to libtool

Posted by Arfrever Frehtes Taifersar Arahesis <ar...@gmail.com>.
2008-03-24 17:38:56 Mark Phippard napisał(a):
> On Mon, Mar 24, 2008 at 12:25 PM, Arfrever Frehtes Taifersar Arahesis
> <ar...@gmail.com> wrote:
> > 2008-03-24 09:54:19 Eric Gillespie napisa�(a):
> >  > Arfrever Frehtes Taifersar Arahesis <ar...@gmail.com> writes:
> >  >
> >  > > If nobody objects, I would like to commit this patch tomorrow.
> >  >
> >  > I'm not sure everyone understands the consequences of this
> >  > change; I know I don't.  How does this affect developers still
> >  > using libtool 1.5 (like me).  What about releases?
> >
> >  --tag option is supported since libtool-1.5.
> >  I think that we don't need to support libtool-1.4.* or earlier.
> >
> >  ...
> >  libtool-1.4 was released on 2001-04-26.
> >  libtool-1.4.1 was released on 2001-09-03.
> >  libtool-1.4.2 was released on 2001-09-11.
> >  libtool-1.4.3 was released on 2003-11-27.
> >  libtool-1.5 was released on 2003-11-27.
> >  libtool-1.5.2 was released on 2004-01-25.
> >  ...
> >  libtool-1.5.26 was released on 2008-02-01.
> >  libtool-2.2 was released on 2008-03-02.
> 
> The release dates are interesting, but I think a stronger argument
> would be to list the version included in various distributions:
> 
> RHEL 3/4/5
> FreeBSD (popular versions)
> Debian (popular versions)
> OSX 10.4/10.5
> etc.

Gentoo:
   x86 stable:          libtool-1.5.26
   x86 testing:         libtool-1.5.26
   x86 package.masked:  libtool-2.2

Debian:
   Sarge:               libtool-1.5.6-6
   Etch:                libtool-1.5.22-4
   Lenny:               libtool-1.5.26-1
   Sid:                 libtool-1.5.26-1
   Experimental:        libtool-2.1a+cvs1.2525+20071016-1

FreeBSD:
   5.2.0:               libtool-1.5
   5.2.1:               libtool-1.5
   5.3.0:               libtool-1.5.8
   5.4.0:               libtool-1.5.10
   5.5.0:               libtool-1.5.22
   6.0.0:               libtool-1.5.18
   6.1.0:               libtool-1.5.22
   6.2.0:               libtool-1.5.22
   6.3.0:               libtool-1.5.24
   7.0.0:               libtool-1.5.24

CentOS:
   5:                   libtool-1.5.22
RHEL:
   5:          probably libtool-1.5.22

OS X:
   10.4:                libtool-1.5

Ubuntu:
   7.04:                libtool-1.5.22

-- 
Arfrever Frehtes Taifersar Arahesis

Re: [PATCH] Always pass --tag=CC / --tag=CXX option to libtool

Posted by Stefan Sperling <st...@elego.de>.
On Mon, Mar 24, 2008 at 12:39:19PM -0400, Mark Phippard wrote:
> On Mon, Mar 24, 2008 at 12:25 PM, Arfrever Frehtes Taifersar Arahesis
> >  ...
> >  libtool-1.4 was released on 2001-04-26.
> >  libtool-1.4.1 was released on 2001-09-03.
> >  libtool-1.4.2 was released on 2001-09-11.
> >  libtool-1.4.3 was released on 2003-11-27.
> >  libtool-1.5 was released on 2003-11-27.
> >  libtool-1.5.2 was released on 2004-01-25.
> >  ...
> >  libtool-1.5.26 was released on 2008-02-01.
> >  libtool-2.2 was released on 2008-03-02.
> 
> The release dates are interesting, but I think a stronger argument
> would be to list the version included in various distributions:
 
> FreeBSD (popular versions)

On FreeBSD 6.3-p1 (doesn't actually matter) with -current ports
tree:

stsp@ted [~] $ libtool --version
ltmain.sh (GNU libtool) 1.5.24 (1.1220.2.455 2007/06/24 02:13:29)

Seems to be the only available version.
http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/libtool15/

The other versions (devel/libtool, devel/libtool13, devel/libtool14)
are in their CVS, but in the Attic:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/libtool/
http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/libtool13/
http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/libtool14/


OpenBSD-current (with current ports, contrary to FreeBSD here you
are supposed to keep base and ports in sync at all times):

stsp@jack [~] $ libtool --version
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06

Same version will be on OpenBSD 4.3, the current 4.2 release
has the same libtool version.

http://www.openbsd.org/cgi-bin/cvsweb/ports/devel/libtool/

-- 
Stefan Sperling <st...@elego.de>                 Software Developer
elego Software Solutions GmbH                            HRB 77719
Gustav-Meyer-Allee 25, Gebaeude 12        Tel:  +49 30 23 45 86 96 
13355 Berlin                              Fax:  +49 30 23 45 86 95
http://www.elego.de                 Geschaeftsfuehrer: Olaf Wagner

Re: [PATCH] Always pass --tag=CC / --tag=CXX option to libtool

Posted by Mark Phippard <ma...@gmail.com>.
On Mon, Mar 24, 2008 at 12:25 PM, Arfrever Frehtes Taifersar Arahesis
<ar...@gmail.com> wrote:
> 2008-03-24 09:54:19 Eric Gillespie napisał(a):
>  > Arfrever Frehtes Taifersar Arahesis <ar...@gmail.com> writes:
>  >
>  > > If nobody objects, I would like to commit this patch tomorrow.
>  >
>  > I'm not sure everyone understands the consequences of this
>  > change; I know I don't.  How does this affect developers still
>  > using libtool 1.5 (like me).  What about releases?
>
>  --tag option is supported since libtool-1.5.
>  I think that we don't need to support libtool-1.4.* or earlier.
>
>  ...
>  libtool-1.4 was released on 2001-04-26.
>  libtool-1.4.1 was released on 2001-09-03.
>  libtool-1.4.2 was released on 2001-09-11.
>  libtool-1.4.3 was released on 2003-11-27.
>  libtool-1.5 was released on 2003-11-27.
>  libtool-1.5.2 was released on 2004-01-25.
>  ...
>  libtool-1.5.26 was released on 2008-02-01.
>  libtool-2.2 was released on 2008-03-02.

The release dates are interesting, but I think a stronger argument
would be to list the version included in various distributions:

RHEL 3/4/5
FreeBSD (popular versions)
Debian (popular versions)
OSX 10.4/10.5
etc.

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

Re: [PATCH] Always pass --tag=CC / --tag=CXX option to libtool

Posted by Arfrever Frehtes Taifersar Arahesis <ar...@gmail.com>.
2008-03-24 09:54:19 Eric Gillespie napisał(a):
> Arfrever Frehtes Taifersar Arahesis <ar...@gmail.com> writes:
> 
> > If nobody objects, I would like to commit this patch tomorrow.
> 
> I'm not sure everyone understands the consequences of this
> change; I know I don't.  How does this affect developers still
> using libtool 1.5 (like me).  What about releases?

--tag option is supported since libtool-1.5.
I think that we don't need to support libtool-1.4.* or earlier.

...
libtool-1.4 was released on 2001-04-26.
libtool-1.4.1 was released on 2001-09-03.
libtool-1.4.2 was released on 2001-09-11.
libtool-1.4.3 was released on 2003-11-27.
libtool-1.5 was released on 2003-11-27.
libtool-1.5.2 was released on 2004-01-25.
...
libtool-1.5.26 was released on 2008-02-01.
libtool-2.2 was released on 2008-03-02.

-- 
Arfrever Frehtes Taifersar Arahesis

Re: [PATCH] Always pass --tag=CC / --tag=CXX option to libtool

Posted by Eric Gillespie <ep...@pretzelnet.org>.
Arfrever Frehtes Taifersar Arahesis <ar...@gmail.com> writes:

> If nobody objects, I would like to commit this patch tomorrow.

I'm not sure everyone understands the consequences of this
change; I know I don't.  How does this affect developers still
using libtool 1.5 (like me).  What about releases?

-- 
Eric Gillespie <*> epg@pretzelnet.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] Always pass --tag=CC / --tag=CXX option to libtool

Posted by Arfrever Frehtes Taifersar Arahesis <ar...@gmail.com>.
2008-03-23 03:37:53 Arfrever Frehtes Taifersar Arahesis napisał(a):
> config.status is created and executed by AC_OUTPUT.
> 
> From NEWS of libtool-2.2:
> "* libtool script is now created by config.status.  Instead of interrogating
>    `./libtool' from configure.ac after calling AC_PROG_LIBTOOL, use the
>    variable names directly."
> 
> It means that when --enable-experimental-libtool option isn't used,
> ${abs_builddir}/libtool file doesn't exist earlier and the checking
> if libtool supports --tag option gives false negative:
> 
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking whether libtool accepts --tag=XXX... ./configure: line 12165: ${PATH_TO_WORKING_COPY}/libtool: No such file or directory
> no
> checking whether libtool needs -no-undefined... no
> 
> [[[
> Always pass --tag=CC / --tag=CXX option to libtool.
> 
> * configure.ac:
>    Don't check if libtool supports --tag option.
> * Makefile.in:
>   (LTFLAGS): Replace @SVN_LT_CCTAG@ with --tag=CC.
>   (LTCXXFLAGS): Replace @SVN_LT_CXXTAG@ with --tag=CXX.
> ]]]

If nobody objects, I would like to commit this patch tomorrow.

-- 
Arfrever Frehtes Taifersar Arahesis