Bacula-users

Re: [Bacula-users] ld: warning: symbol `plugin_list' has differing sizes:

2011-09-26 10:33:08
Subject: Re: [Bacula-users] ld: warning: symbol `plugin_list' has differing sizes:
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 26 Sep 2011 15:29:57 +0100
>>>>> On Fri, 23 Sep 2011 17:16:31 -0400, Kim Culhan said:
> 
> On Fri, September 23, 2011 4:02 pm, Martin Simmons wrote:
> >>>>>> On Fri, 23 Sep 2011 10:34:51 -0400, Kim Culhan said:
> 
> >> Compiling bacula here does not produce libbac.so
> >
> > Ah, that's one reason why you don't get the same warnings as the OP!  I
> see
> > now that you are passing --disable-libtool, which will change things a
> little.
> >
> > OTOH, I would still expect the warning when linking bacula-dir.  What is
> the
> > output of the elfdump on that?  i.e.
> >
> > elfdump -s bacula-dir | grep plugin
> 
> Output is attached
> 
> As noted in a previous  message, with a correct libtool it now produces
> those warnings but
> not when compiling with --disable-libtool.

OK.

However, I would expect ld to give a warning when linking bacula-dir without
--disable-libtool too, because it also defines plugin_list globally.

__Martin

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users