bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/30543] New: Cross-compile: wrong long -> jlong conversion


From: dieter dot verslype at intec dot ugent dot be
Subject: [Bug classpath/30543] New: Cross-compile: wrong long -> jlong conversion
Date: 22 Jan 2007 15:46:07 -0000

Hello,

I'm trying to crosscompile the JamVM and GNU Classpath for this platform:
- Xscale processor 533MHz Intel IXP42x
- Montavista 4.01 - Linux 2.6.10 kernel

I'm using the xscale_gcc_be compiler-tool, provided by MontaVista.

I configure Classpath as follows:

./configure CFLAGS="-L/work/montavista/pro/devkit/arm/xscale_be/target/usr/lib
-L/work/montavista/pro/devkit/arm/xscale_be/lib -L/app/COMMON/zlib-1.2.$

Everything looks fine, but some java apps do not work. I traced the errors of
one of them, discovering the conversion of java types to c types
in native calls fails in some way.

Example: when in gnu.java.nioVMChannel the method seek(long l) is called with
argument '0', the corresponding jlong does not hold the
value 0, but this: (HEX) 00 00 00 00 00 05 67 E4.

What can I do about this, do I use the wrong compiler flags, any help is
appreciated.
I'm am fairly new to the big crosscompiling thing.

regards,

dvrslype


-- 
           Summary: Cross-compile: wrong long -> jlong conversion
           Product: classpath
           Version: 0.93
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dieter dot verslype at intec dot ugent dot be


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30543





reply via email to

[Prev in Thread] Current Thread [Next in Thread]