[ovs-dev] [PATCH] Build: shared libraries and versioning

Ben Pfaff blp at nicira.com
Thu Oct 23 01:29:20 UTC 2014


On Wed, Oct 22, 2014 at 04:53:28PM -0700, Gurucharan Shetty wrote:
> > I seem to recall that there was a related bug a while back when we
> > added the existing shared library support.  I spent some time looking
> > through the mailing list and the Git history, though, and I couldn't
> > find it.
> Do you mean this one?
> commit 6a92c6f079f7f19c6a46d167af16ff600d3023d0
> Author: Gurucharan Shetty <gshetty at nicira.com>
> Date:   Thu Jul 17 18:15:17 2014 -0700
> 
>     ovsdb: Don't add ovsdb-server.c to libovsdb.
> 
>     Without this change, with shared libraries, VLOG
>     constructor for ovsdb-server would get called twice corrupting
>     the 'vlog_modules' list causing an infinite loop.
> 
>     Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
>     Reported-by: Gur Stavi <gstavi at mrv.com>
>     Acked-by: Ben Pfaff <blp at nicira.com

Yes.  Thank you for finding it!

If this has recurred, then it's probably the same kind of problem, and
probably a similar fix is appropriate.  Scott, do you have a more
specific report, so we can look for the source of it?



More information about the dev mailing list