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: linux audio software using gcj&swt!


Norbert Frese writes:
 > 
 > > 
 > > Well, the question here is why libgcj is trying to load a library.
 > > There must be a reason, probably because some dependency in Display is
 > > trying to resolve something in a shared library.
 > > 
 > > Time to debug.
 > > 
 > > 
 > 
 > thanks - didn't know that loading shared libraries from a static binary is 
 > forbidden.

Well, it's a bug really.  Just a bug that I don't know how to fix...

 > Display is inside swt.jar and not libgcj. It tries to load the
 > native part of swt swtXXX.so, which is ok. So this is not a libgcj
 > problem (except that the mistake of trying to load a shared library
 > is not reported properly).

Ah, okay.  Well, I suspect that the shared library loader is trying to
resolve the symbols in swtXXX.so and failing for some reason, and then
the loader gets confused, probably because of a dependency on
libgcc.so.  It's not legal AFAIK to have static and dynamic versions
of libgcc.so in the same binary.

Andrew.


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