Re: Segmentation faults when calling into libjavanio.so
Andrew Haley <[email protected]> Tue, 21 Dec 2010 10:19:37 +0000
| Newsgroups | gmane.comp.java.classpath.devel |
|---|---|
| Message-ID | <[email protected]> |
On 12/21/2010 07:09 AM, Rob Hammond wrote: > Hi, I wonder if anyone could help me here. I have been trying to cross > compile classpath to Freescale MCP85xx using ELDK 4.1 toolchain. The > configuration of the toolchain& of classpath looks fine ( I can > provide it if nessisary ) but when I use it in conjunction with JamVM > I am getting a segmentation fault on the first call into the classpath > shared libraries ( gnu.java.nio.VMChannel.initID ). > I did an ObjDump of both Classpath& Jamvm headers to check I had > compiled it to PowerPC which it did.. It all works fine on x86. > > I suspect that the shared libraries are malformed in some way but I'm > kinda stuck now. I don't know what else to try. It seems there are > many people out there using these two packages cross-compiled to > powerpc and it has just worked for them. I don't understand why I'm > getting these problems. You're going to have to use gdb. Andrew.