This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: solib: URL patch


Tom Tromey writes:
 > >>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
 > 
 > >> This restriction will be lifted once we move to the new ABI.  Then we
 > >> will be able to load .so files privately (instead of RTLD_GLOBAL).
 > 
 > Andrew> Uh, we've decide this for sure, have we?  I mean, it sounds like a
 > Andrew> good idea, but have you dot a solid design in mind?  We still need a
 > Andrew> mechanism that will allow us to call .so files from CNI code, I guess.
 > 
 > I don't have a problem saying we've decided to move to the new ABI for
 > sure.  What else can we do?

I didn't realize that we'd agreed to load .so files privately (instead
of RTLD_GLOBAL).  Fair enough, we do need to do this, so it must be
part of the new ABI.

 > I don't know how to solve the CNI problem with the new ABI.
 > Modifying g++ seems like the best bet, but even this has some
 > problems (how do you tell the runtime what classes and methods are
 > needed by the CNI code?).

We could punt for the time being, allowing direct calls from C++.
We'll fix it later.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]