I meant no offense.  I just don't see any command line examples in it that 
would help with the problem at hand (his plugin not finding symbols in main 
with statically linked v8 library).

I also see no discussion of the loaded .so making calls to functions defined in 
the main program.

Peace

On Sep 28, 2012, at 6:44 AM, Stephan Beal <[email protected]> wrote:

> On Fri, Sep 28, 2012 at 3:39 PM, Michael Schwartz <[email protected]> wrote:
> I didn't see anything useful at the link.
> 
> It explains, for example, why static libs are sometimes problematic in 
> conjunction with C++ templates and plugins (because unreferenced symbols do 
> not get linked in to the client).
>  
> The issue is you have a .so that's getting loaded via dlopen().  That .so 
> needs to call functions in the v8 library that is statically linked into the 
> main program.
> 
> For example. And if those do not get referenced from client code then they 
> don't (or might not) get linked in.
> 
> -- 
> ----- stephan beal
> http://wanderinghorse.net/home/stephan/
> http://gplus.to/sgbeal
> 
> 
> -- 
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to