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: Creating and using GCJ ARM cross compiler


On Mon, Apr 21, 2008 at 5:08 PM, Andrew Haley <aph@redhat.com> 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


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