>>>>> "Eric" == Eric Sunshine <[EMAIL PROTECTED]> writes:

Hi,

    Eric> On 1/15/07, Pablo Martin <[EMAIL PROTECTED]> wrote:
    >> Sorry, I think i didn't describe the actual problem
    >> appropriately. The problem is just that blpython includes both
    >> _cspace.so and _blcelc.so by initing those modules
    >> internally. Both python module dlls get linked in the plugins
    >> (cspython.so and blpython.so).  In the new situation to get the
    >> same result, we'd have to link in all the modules dlls
    >> (_csutil.so, _cstool.so...). It is not clear to me whether this
    [snip]

The problem, at least on linux/powerpc, is that there are not enough
room for all the symbols at link time, because of the -fPIC
implementation. You get only 64K of GOT entries for the ELF format on
this architecture.

I think that there are two ways of solving this problem : enhancing the
linker or splitting the big library into smaller ones.

I've already reported the bug to the gcc team some months ago (
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28904 ) but it
doesn't seem to be simple to solve.

Also, every time we will try to link CS bindings object files to a
single shared object, the link will fail. So I think splitting the
bindings into smaller libraries is the right way to solve the problem.

Morever, if somebody wants to modify the bindings, it's a lot more
confortable not to have to recompile everything.

Hope this helps...

Bye,

Guillaume (dukez)


Attachment: pgpsgYPSPScin.pgp
Description: PGP signature

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Crystal-main mailing list
Crystal-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to