Re: [Plplot-devel] Unnecessary library linkage

2011-11-23 Thread Alan W. Irwin
On 2011-11-23 19:27-0800 Alan W. Irwin wrote: > Here are my further plans: > > Implement the NON_TRANSITIVE option for our build system that will > drop transitive linking for the CMake case and replace Requires: by > Requires.private: for the pkg-config case. This option will be > experimental an

Re: [Plplot-devel] Unnecessary library linkage

2011-11-23 Thread Alan W. Irwin
On 2011-11-23 17:48-0700 Orion Poplawski wrote: Hi Orion: Thanks for those tests. Let's start with C++ to try and understand what is going on in that case. > > /usr/lib/ccache/c++ x17.cc -o x17 `pkg-config --cflags --libs plplotd-c++` > /usr/bin/ld: /tmp/ccUpkDBH.o: undefined reference to symbo

Re: [Plplot-devel] Unnecessary library linkage

2011-11-23 Thread Orion Poplawski
On 11/23/2011 04:52 PM, Orion Poplawski wrote: > On 11/23/2011 01:06 PM, Alan W. Irwin wrote: >> On 2011-11-23 08:48-0700 Orion Poplawski wrote: >> >>> Don't forget about the pkg-config issue as well. >>> >> >> The pkg-config man page gives the reason why we get transitive linking >> in that case:

Re: [Plplot-devel] Unnecessary library linkage

2011-11-23 Thread Orion Poplawski
On 11/23/2011 01:06 PM, Alan W. Irwin wrote: > On 2011-11-23 08:48-0700 Orion Poplawski wrote: > >> Don't forget about the pkg-config issue as well. >> > > The pkg-config man page gives the reason why we get transitive linking > in that case: > > Requires: > This is a comma-separated list of packag

Re: [Plplot-devel] Unnecessary library linkage

2011-11-23 Thread Alan W. Irwin
On 2011-11-23 08:48-0700 Orion Poplawski wrote: >> Meanwhile, could you give me a complete list of PLplot libraries which >> generate the rpmlint warnings about unused direct dependencies? > > Attached. Hi Orion: Thanks for that. I was concerned that rpmlint would complain about our driver plug

Re: [Plplot-devel] Unnecessary library linkage

2011-11-23 Thread Orion Poplawski
On 11/23/2011 02:35 AM, Alan W. Irwin wrote: Hi Orion: Thanks for reporting this issue. More below. On 2011-11-22 16:00-0700 Orion Poplawski wrote: ldd without any options just lists all direct and indirect links which doesn't tell you anything about overlinking. Instead, use the -u option

Re: [Plplot-devel] Unnecessary library linkage

2011-11-23 Thread Alan W. Irwin
Hi Orion: Thanks for reporting this issue. More below. On 2011-11-22 16:00-0700 Orion Poplawski wrote: > In my Fedora packages, the various language binding libraries are linked as > follows: > > # ldd /usr/lib/libplplotcxxd.so > linux-gate.so.1 => (0x00fbe000) > libplplotd.so.