RE: Using purify with lintool

2009-08-11 Thread Agrawal, Pankaj
The apache source tar is available at http://httpd.apache.org/download.cgi. Please download the Unix source for v2.2.13. -Original Message- From: Ralf Wildenhues [mailto:ralf.wildenh...@gmx.de] Sent: Wednesday, 12 August 2009 1:31 AM To: Agrawal, Pankaj Cc: libtool@gnu.org Subject: Re: Us

Re: libtool versioning and ABI

2009-08-11 Thread Vincent Torri
On Wed, 12 Aug 2009, Ralf Wildenhues wrote: * Vincent Torri wrote on Wed, Aug 12, 2009 at 07:15:16AM CEST: On Wed, 12 Aug 2009, Ralf Wildenhues wrote: * Vincent Torri wrote on Wed, Aug 12, 2009 at 12:33:47AM CEST: if i'm not mistaken, you can compute le libtool versioning from the version

Re: libtool versioning and ABI

2009-08-11 Thread Ralf Wildenhues
* Vincent Torri wrote on Wed, Aug 12, 2009 at 07:15:16AM CEST: > On Wed, 12 Aug 2009, Ralf Wildenhues wrote: > >* Vincent Torri wrote on Wed, Aug 12, 2009 at 12:33:47AM CEST: > >> > >>if i'm not mistaken, you can compute le libtool versioning from the > >>version of the software. If the version of

Re: libtool versioning and ABI

2009-08-11 Thread Vincent Torri
On Wed, 12 Aug 2009, Ralf Wildenhues wrote: * Vincent Torri wrote on Wed, Aug 12, 2009 at 12:33:47AM CEST: if i'm not mistaken, you can compute le libtool versioning from the version of the software. If the version of the software is X.Y.Z, the libtool version can be computed with : (X+Y).Z.

Re: libtool versioning and ABI

2009-08-11 Thread Ralf Wildenhues
* Vincent Torri wrote on Wed, Aug 12, 2009 at 12:33:47AM CEST: > > if i'm not mistaken, you can compute le libtool versioning from the > version of the software. If the version of the software is X.Y.Z, > the libtool version can be computed with : (X+Y).Z.Y No, it can not, for two reasons: 1) the

Re: libtool versioning and ABI

2009-08-11 Thread Charles Wilson
Michel Briand wrote: >> libavutil49-0.4.9-3.pre1.8994.2plf2008.0 >> ABI=49, pkgver=0.4.9 >> > > Please give me the way to learn those ABI number you cite. libavutil49-0.4.9- ^^ is usually used by the distribution (Red Hat? Debian?) to indicate that t

Re: libtool versioning and ABI

2009-08-11 Thread Daniel Herring
On Wed, 12 Aug 2009, Michel Briand wrote: Please give me the way to learn those ABI number you cite. I've looked into many OSS and found in Makefile.am only 2 cases : - version-info 1:0:0 (the guys there didn't want to bother with libtool versioning apparently... ;)) - version-info with the X

Re: libtool versioning and ABI

2009-08-11 Thread Vincent Torri
On Wed, 12 Aug 2009, Michel Briand wrote: I've looked into many OSS and found in Makefile.am only 2 cases : - version-info 1:0:0 (the guys there didn't want to bother with libtool versioning apparently... ;)) - version-info with the X.Y.Z version "back crafted" to make the soname version r

Re: libtool versioning and ABI

2009-08-11 Thread Michel Briand
Sorry for my last post : too quick answer :)) Charles Wilson - Tue, 11 Aug 2009 16:45:58 -0400 >Michel Briand wrote: > >> Thank you, but, sorry, I'm not convinced. Remember what I said a >> few mails ago: that's all of interface contract = same concept as >> your... >> >> Does anyone uses "10"

Re: libtool versioning and ABI

2009-08-11 Thread Michel Briand
The whole story is that I never wanted to use libtool in the first place. And, now, I know why :). ___ http://lists.gnu.org/mailman/listinfo/libtool

Re: libtool versioning and ABI

2009-08-11 Thread Charles Wilson
Michel Briand wrote: > Thank you, but, sorry, I'm not convinced. Remember what I said a > few mails ago: that's all of interface contract = same concept as > your... > > Does anyone uses "10" or "16" to refer to their ABI ? Hum... So those > numbers have to be managed somewhere... Yes. Here are

Re: rpath in later versions of libtool

2009-08-11 Thread Ralf Wildenhues
Hello John, * John R. Cary wrote on Fri, Aug 07, 2009 at 11:49:39PM CEST: > I am trying to use libtool to make a static executable: > > /bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -pipe -Wall > -Wno-unused-static -o uecxxst ../uebase/uedge.o libuecxxst.la > ../uestat/.libs/libues

Re: Using purify with lintool

2009-08-11 Thread Ralf Wildenhues
* Agrawal, Pankaj wrote on Tue, Aug 11, 2009 at 09:36:01PM CEST: > If I use the below two commands, it still doesn't work. I have pasted an > error snapshot. Thanks. > ./configure --disable-shared CC=gcc > make CCLD='purify gcc' > > /kassa04/softwares/agrpa02/httpd-2.2.12/srclib/apr/libtool --si

RE: Using purify with lintool

2009-08-11 Thread Agrawal, Pankaj
Hi Ralf, If I use the below two commands, it still doesn't work. I have pasted an error snapshot. ./configure --disable-shared CC=gcc make CCLD='purify gcc' /kassa04/softwares/ag

Re: libtool versioning and ABI

2009-08-11 Thread Michel Briand
Charles Wilson - Tue, 11 Aug 2009 14:50:33 -0400 >Michel Briand wrote: >> This last variable is crafted > >"crafted"? This is your mistake. > >> to reflect the usual versioning. I.e. if >> I want the version to 1.22.5, > >Why? Why do you CARE what the internal ABI version number is? It's just >

Re: LD_RUN_PATH and openmpi's mpicxx

2009-08-11 Thread Ralf Wildenhues
Hello John, * John R. Cary wrote on Tue, Aug 04, 2009 at 03:35:41PM CEST: > libtool uses LD_RUN_PATH on Linux to pass the runtime > link dirs. > > Unfortunately, OpenMPI's mpicxx ignores the envvar, does > not pass it through to g++. I'm not sure I understand. libtool exports this environment v

Re: libtool versioning and ABI

2009-08-11 Thread Charles Wilson
Michel Briand wrote: > This last variable is crafted "crafted"? This is your mistake. > to reflect the usual versioning. I.e. if > I want the version to 1.22.5, Why? Why do you CARE what the internal ABI version number is? It's just a tag; you shouldn't care WHAT it is, only that it changes ONL

Re: Using purify with lintool

2009-08-11 Thread Ralf Wildenhues
Hello Pankaj, please keep the mailing list in Cc:, and don't top-post; thank you. * Agrawal, Pankaj wrote on Tue, Aug 11, 2009 at 08:39:36PM CEST: > However, I am running still into troubles trying to use purify with > apache that uses libtool. > /bin/bash /kassa04/softwares/agrpa02/httpd-2.2.

Re: libtool versioning and ABI

2009-08-11 Thread Ralf Wildenhues
* Michel Briand wrote on Tue, Aug 11, 2009 at 07:53:50PM CEST: > Yes non-Linux system will have a different scheme. But if libtool wants > to help I'm sure a little more documentation could easier the task :). > # create shared lib > mylib_la_LDFLAGS = -version-info $(MYLIB_LTVERSION) > > This la

Re: libtool versioning and ABI

2009-08-11 Thread Michel Briand
Ralf Wildenhues - Tue, 11 Aug 2009 19:34:09 +0200 >Hello Michel, > >* Michel Briand wrote on Thu, Aug 06, 2009 at 12:46:00AM CEST: >> Personally I've always seen interface as a contract. >> A contract between a library writer and library user. > >Yes. > >> Why does libtool want to interfere with

Re: libtool versioning and ABI

2009-08-11 Thread Ralf Wildenhues
Hello Joseph, * Joseph Garvin wrote on Wed, Aug 05, 2009 at 11:32:31PM CEST: > I read a description of libtool's versioning here: > > http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html > > What's confusing to me is that this way of handling versioning doesn't seem >

Re: libtool versioning and ABI

2009-08-11 Thread Ralf Wildenhues
Hello Michel, * Michel Briand wrote on Thu, Aug 06, 2009 at 12:46:00AM CEST: > Personally I've always seen interface as a contract. > A contract between a library writer and library user. Yes. > Why does libtool want to interfere with this ... has always made me > scratching my head libtool

Re: Using purify with lintool

2009-08-11 Thread Ralf Wildenhues
Hello Pankaj, * Agrawal, Pankaj wrote on Tue, Aug 11, 2009 at 01:01:58PM CEST: > I want to instrument apache 2.0 with IBM Purify Plus. > > Given that Apache 2.0 uses libtool and the compilation and linking > happens in separate phases, we need to include purify in the link line > for the instrum

Re: creating specialized linking rules?

2009-08-11 Thread John Wohlbier
On Wed, Aug 5, 2009 at 8:04 PM, John Wohlbier wrote: > I'm using libtool in a project where I'm compiling code for the cell > processor. The cell requires different compilers to be used on sources > compiled for the PowerPC core (PPU) and the "synergistic processing unit" > (SPU). I'm building (tr

Using purify with lintool

2009-08-11 Thread Agrawal, Pankaj
Hi Folks, I want to instrument apache 2.0 with IBM Purify Plus. Given that Apache 2.0 uses libtool and the compilation and linking happens in separate phases, we need to include purify in the link line for the instrumentation to be successful. Can anybody tell me which file has to be modified f