Re: Creating and using GCJ ARM cross compiler

"Matthijs van de Water" <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
On Mon, Apr 21, 2008 at 5:08 PM, Andrew Haley <[email protected]> wrote:
>  I'm not sure.  Run
>
>
>  LD_LIBRARY_PATH=. ldd ./hello-shared
>
root@arm:~# LD_LIBRARY_PATH=. ldd ./hello-shared
        libgcc_s.so.1 => ./libgcc_s.so.1 (0x40025000)
        libgcj.so.81 => ./libgcj.so.81 (0x40037000)
        libm.so.6 => /lib/libm.so.6 (0x41e1f000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x41e93000)
        librt.so.1 => /lib/librt.so.1 (0x41eb1000)
        libdl.so.2 => /lib/libdl.so.2 (0x41ec0000)
        libstdc++.so.6 => ./libstdc++.so.6 (0x41ecb000)
        libc.so.6 => /lib/libc.so.6 (0x41f8a000)
        /lib/ld-linux.so.3 (0x40000000)

I cannot image any of the other libs to cause this...

Even so, I've built this entire rootfs with this 4.2.3 cross compiler,
so that should not be the problem...

From stepping through it in GDB, it is failing inside
_Jv_CreateJavaVM(), called from libjava/prims.cc _Jv_RunMain(). I'll
trace this some more and post a detailed log.

Regards,
Matthijs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.