On Tue, Sep 04, 2001 at 08:24:48 -0700, C I wrote:
> I am far from an
> expert on this so if you could be explicit in your
> explannation that would be appreciated.
Use latest snapshot. Download it from http://egp.free.fr/kaffe
--
Edouard G. Parmelan
http://egp.free.fr
(and Makefile.in or read FAQ/FAQ.automake).
"make check" run all regression tests.
--
Edouard G. Parmelan
http://egp.free.fr
on Darwin and
GNU/Linux PowerPC. I think about a kernel issue related to handle a
signal while handling another signal and syscalls.
You may got some Undefined PLT symbol. This is a NetBSD ELF dynamic
linker error common to all platforms and not a Kaffe bug.
--
Edouard G. Parmelan
http://egp.free.fr
On Fri, Aug 31, 2001 at 10:11:28 -0400, Stuart Ballard wrote:
> > I think this problem is solved in current Kaffe CVS Tree.
>
> Yup! Thank you.
>
> Any idea when there will be a new release containing this fix?
You can use snapshot, download them from http://egp.free.fr/ka
es in TVT Kaffe will break others in kaffe.org.
Giving that, you can mix code.
--
Edouard G. Parmelan
http://egp.free.fr
rvative()
Did alignment of local variable differ from alignement of fields in
structure ?
--
Edouard G. Parmelan
http://egp.free.fr
e is that BigInteger doesn't return consistant hashcode
> values
Thanks, I will commit it latter.
--
Edouard G. Parmelan
http://egp.free.fr
On Wed, Aug 29, 2001 at 17:48:15 -0400, Stuart Ballard wrote:
> I'm using the debian package of kaffe, version 1.0.6-3.
I think this problem is solved in current Kaffe CVS Tree.
--
Edouard G. Parmelan
http://egp.free.fr
jar.
I also add FAQ/FAQ.kjc to explain how new versions of KJC are tested before
inclusion in Kaffe CVS Tree.
--
Edouard G. Parmelan
http://egp.free.fr
Never
fill-paragraph NOR reformat them.
This is the Preface of "Porting Kaffe to a new platform" the document I'm
writing.
Read working draft here http://egp.free.fr/port-kaffe/port-kaffe.html
Download SGML sources here: http://egp.free.fr/kaffe.
--
Edouard G. Parmelan
http://egp.free.fr
e could help..
Implementations of functions spill_Rxx, fspill_Rxx etc are in
files config/$cpu/jit-$cpu.def.
--
Edouard G. Parmelan
http://egp.free.fr
e; }
> }
> ==
>
> Compile all three, then remove test/bar.class.
>
> Expected output:
> Hello World!
> no Bar needed
>
> Actual output:
> Hello World!
> java.lang.NoClassDefFoundError: test/bar
This was fixed (I don't remember when).
I think your verifier patch will break it again :-(
--
Edouard G. Parmelan
http://egp.free.fr
has been successfully ported on
qnx. But I can not find anyone so far.
Do you know anyone who successfully port kaffe on qnx ?
Thanks for your help!
Ron
- End forwarded message -
--
Edouard G. Parmelan
http://egp.free.fr
d kaffe/kaffeh
$ make
$ cp -p kaffeh $HOME/bin
2. Clean your build tree and setup your environment for
cross-compiling.
$ make distclean
$ CC=cross-cc AR=cross-ar LD=cross-ld KAFFESRC/configure --host=target-host-alias
$ make
Hope this help.
--
Edouard G. Parmelan
http://egp.free.fr
yError.java:43)
> ---
This class is not java.lang.OutOfMemoryError of Kaffe. There is no line
43 in OutOfMemoryError.java (located in libraries/javalib/java/lang),
nor method _hanfleOutOfMemory.
> Anybody has an idea what this is about.
Bad CLASSPATH ?
--
Edouard G. Parmelan
http://egp.free.fr
t; access to?
http://egp.free.fr/kaffe/kaffe-snap-20010622.tar.bz2
--
Edouard G. Parmelan
http://egp.free.fr
t 11 10:20:07 MDT 2000.
I send you his fix in a separate mail.
I suggest you to use current CVS Tree. To checkout it, reads
http://www.kaffe.org/CVS.html.
--
Edouard G. Parmelan
http://egp.free.fr
Linux).
- Include new release of KJC kjc-1.5A.
Other TODO before or after next release:
- Port to Darwin (Mac OS X).
- Merge libraries with tvt-kaffe.
- Study backlog of patches.
- Solve random (and hard to reproduce) SEGV on FreeBSD/Intel.
--
Edouard G. Parmelan
http://egp.free.fr
Philippe Laporte wrote:
> A plus tard
En privé ou en Anglais pour les non francophones de la liste :-)
--
Edouard G. Parmelan
http://egp.free.fr
Thierry Rochelet wrote:
> I have a few question about bytecode analyse and the Kaffe development.
>
> What about using tools such as Flex/Bison ?
> Why don't you choose that way ?
Because Kaffe does not need lexical scanner nor syntaxic parser.
--
Edouard G. Parmelan
http://egp.free.fr
oad bekaffe
sources.
> Is anyone looking at the BeOS-native version at all? If so, I'd like to
> give some help - if not, it's something I'd like to give a little time
> to, at the very least to get things going again.
--
Edouard G. Parmelan
http://egp.free.fr
:Total 1841Passed 1459Skipped 40 Failed 342
Enjoy.
--
Edouard G. Parmelan
http://egp.free.fr
I'm looking for documentations about `Calling Convensions' on
PowerPC and various OS. (GNU/Linux seems to pass 8 float/double in
register where AIX pass 13).
I plan to write JIT for PowerPC (I will have a PowerPC in few weeks).
--
Edouard G. Parmelan
http://egp.free.fr
le using Kaffe, the inner class can access the variables in its containing
> class; secondly, if I compile the java file using kjc, then run it using
> jdk, the jdk throws verify error exception.
I think you can use Jikes as javac compiler :-(
--
Edouard G. Parmelan
http://egp.free.fr
#!
te Klasses.jar
> error compiling:
> main program: Undefined PLT symbol "munmap" (reloc type = 21, symnum = 197)
What is your cpu ? PowerPC ?
--
Edouard G. Parmelan
http://egp.free.fr
> > Trying to rebuild Klasses.jar with jikes 1.1.3 I get the following error:
Note that current release of Jikes is 1.13 and I use Debian package
jikes-1.12.20010116-2. With this version, it compiles.
Patrick, I guess that Flest Pseudo-User use Jikes to rebuild
Klasses.jar. What his version number ?
--
Edouard G. Parmelan
http://egp.free.fr
Carlos Valiente wrote:
> The jar utility from jdk 1.30. adds an entry for the directory META-INF,
> whose size and CRC is zero. kaffe's jar incorrectly barfs at this. I've
> attached a diff to solve this problem.
Thanks, commited.
--
Edouard G. Parmelan
http://egp.free.fr
Carlos Valiente wrote:
> Here's another fix for a problem regarding the creation of zip files. Kaffe
> fails to create compressed zip files. apart from the diff, I have included a
> small test program to reproduce the bug and test the fix.
Thanks commited.
--
Edouard G.
move special
definition of sysdepCallMethod in config/i386/qnx/md.h as new version of
this macro let's GCC handle return value in registers or in other place.
Hope this help.
--
Edouard G. Parmelan
http://egp.free.fr
config.sub.diff.gz
/i386/oskit/config.frag or in config/arm/linux/config.frag, you
can find a list of variables that configure can't guess when Kaffe is
cross-compiled ($cross_compiling = yes).
--
Edouard G. Parmelan
http://egp.free.fr
f(long long) or sizeof(__int64) must
> be 8"
You must define av_cv_sizeof_* in your config.cache or in a config.frag
file.
--
Edouard G. Parmelan
http://egp.free.fr
ive ChangeLog at
> <http://klomp.org/KopiSusu/changes.html>
> Hopefully we can merge the kjc 1.5 and KiopiSusu 1.9 releases.
I hope so.
--
Edouard G. Parmelan
http://egp.free.fr
ttp://egp.free.fr/kaffe. There are snapshot of KOPI CVS Tree with
minor fixes.
Note also that I'm currently testing alpha release of kjc-1.5 from KOPI
CVS Tree with Thomas Graf, upstream author.
--
Edouard G. Parmelan
http://egp.free.fr
forName(Class.java:52)
> Aborted (core dumped)
>
> i found that the classpath is as follows:
> [...]:/usr/java/jdk/jdk116_v5/lib/classes.zip:[...]
You _must_ remove Sun JDK classes from your class path.
--
Edouard G. Parmelan
http://egp.free.fr
Stringized is true)
I agree
> and new buffer length (newLength) is larger
> than obsoleted buffer length (buffer.length).
No, _OR_ new buffer length ...
But this case is handle by ensureCapacity(x, false) so:
boolean newBuf = ensureCapacity(newLength, isStringized);
Could you test that with Ant ?
--
Edouard G. Parmelan
http://egp.free.fr
lang.LinkageError
>at java.lang.NoClassDefFoundError
>
>need I install any additional packages? Please do help.
To run an applet, you must create an html file with tag.
Then, run appletviewer foobar.html.
--
Edouard G. Parmelan
http://egp.free.fr
?
You can compile libraries/clib/native/TestNative.c with -S to see where
float parameters i to p must be and look into
config/powerpc/callmethod_ppc.h to see what's wrong with stack
parameters.
--
Edouard G. Parmelan
http://egp.free.fr
oesn't help either. I will keep investigating, though
Oops, its 'stwcx.' (note the dot) :-(
--
Edouard G. Parmelan
http://egp.free.fr
Carlos Valiente wrote:
> On Friday 23 February 2001 10:32, Edouard G. Parmelan wrote:
>
> > > I've copied and pasted the C version of COMPARE_AND_EXCHANGE from
> > > config/mips/common.h and everything seems to work OK.
> >
> > Be careful, this C
in TestNative:
Could you try with this configure option --with-libffi -- you must
install libffi first.
libffi can be downloaded from http://sourceware.cygnus.com/libffi/
--
Edouard G. Parmelan
http://egp.free.fr
ional membership society.
===
--
Edouard G. Parmelan
http://egp.free.fr
at
http://egp.free.fr/kaffe and also include in CVS Tree of kaffe:
$ kjc --version
version number: 1.4F-cvs2716-egp1
--
Edouard G. Parmelan
http://egp.free.fr
LDFLAGS : -export-dynamic
ChangeLog head: 2000-12-21 Edouard G. Parmelan <[EMAIL PROTECTED]>
--
Edouard G. Parmelan
http://egp.free.fr
"2: .setmips0\n"\
" .setreorder\n" \
: "=&r" (tmp), "=r" (ret), "=m" (*(A)) \
: "m" (*(A)), "r" (O), "r" (N) \
: "memory");\
ret;\
})
--
Edouard G. Parmelan
http://egp.free.fr
Hi,
I found why INTRP engine fail on Alpha: thread stack was too small.
I dump it to 128K (64k was not enough).
--
Edouard G. Parmelan
http://egp.free.fr
Hi everybody,
I just commit a JIT version for Alpha on OSF/1 in kaffe.org CVS Tree.
It's only work for OSF/1 as exception handling need stack speculation
provides by libexc.
Only two tests fails, it's due to ArithemticException. I can't figure
why it fail with JIT.
--
Edou
uot;?
It's kaffe-tvt for PocketLinux.
CVSROOT ":pserver:[EMAIL PROTECTED]:/var/cvs",
checkout modules "fgl", "ipl" and "kaffe-all".
> I'm using ":pserver:[EMAIL PROTECTED]:/cvs/kaffe", but
> I don't see a kaffe_all tag.
--
Edouard G. Parmelan
http://egp.free.fr
' prefix with `cmpxchg' instruction near line 88 but
as I don't remember the correct syntax, I can't send you a diff.
Could you try that and send me the correct line ?
--
Edouard G. Parmelan
http://egp.free.fr
at http://egp.free.fr/kaffe/kjc-1.4F-egp1.jar.
>
> but I've found that the
> listed jar file apparently is not the one patched on 2716...!?
You right, I have upload a wrong version :-(
I have now upload the good one.
kjc-1.4F-egp1.jar 04-Dec-2000 11:18 723k
with md5
ailed output. You may also have
a .core file if kaffe dump core.
. If you have configure with --enable-debug, export KAFFE_DEBUG=gdb
before rerun a failed test. Source developers/gdbinit and go debug.
Good luck :-)
--
Edouard G. Parmelan
http://egp.free.fr
, use real function name
+ AC_CHECK_LIBRARY(gmp,__gmpz_get_d,MATH_LIBS)
+fi
MATH_LIBS="$CTLIBS $MATH_LIBS"
AC_SUBST(MATH_LIBS)
And run autoconf.
$ autoconf
Hope this helps -- this will be in CVS Tree in a near futur.
--
Edouard G. Parmelan
http://egp.free.fr
> /usr/include/gmp2/gmp.h
Then, after removing config.cache and run configure, you should have the
following result:
$ grep gmp config.cache
ac_cv_header_gmp_h=${ac_cv_header_gmp_h=yes}
ac_cv_lib_gmp_mpz_get_d=${ac_cv_lib_gmp_mpz_get_d=yes}
Hope this helps.
--
Edouard G. Parmelan
http://egp.free.fr
p.cons.org/~haible/packages-libiconv.html
> ftp://ftp.ilog.fr/pub/Users/haible/gnu/
This is a good idea, and glibc 2.1.3 also provide it.
--
Edouard G. Parmelan
http://egp.free.fr
0212-related parts of the program has not
> been tested.
Where I can find documents about EUC and EUC-JP ? Have you plan to
write ByteToCharEUC_JP class ?
I ask you that to understand your code and possibly improve it before
commit in into CVS Tree.
--
Edouard G. Parmelan
http://egp.free.fr
that in CVS Tree. Update
kaffe/kaffevm/systems/unix-pthreads/thread-impl.h and
kaffe/kaffevm/exception.c.
Hope it work now on Sparc GNU/Linux ;-)
--
Edouard G. Parmelan
http://egp.free.fr
use the CVS Tree, change the line #include "jthread.h" in
kaffe/kaffevm/locks.h by #include "thread-impl.h".
Thanks for your report.
--
Edouard G. Parmelan
http://egp.free.fr
of KJC. Forward me your
fixes, I will create a new kjc external release.
--
Edouard G. Parmelan
http://egp.free.fr
ownload page http://egp.free.fr/kaffe or
directly at http://egp.free.fr/kaffe/kjc-1.4F-egp1.jar.
Replace your libraries/javalib/kjc.jar with it and all regressions tests
will the work.
--
Edouard G. Parmelan
http://egp.free.fr
didn't know enough to intelligently
> follow the LinuxVR documentation for setting up a REDHAT to MIPSEL
> cross-compilation environment. Doh!
In fact, PocketLinux use Linux kernel from linux-vr :-)
You can find mailing-list archives of PocketLinux on there web site.
--
Edouard G. Parmelan
http://egp.free.fr
Ìì³Î wrote:
> First,I want to ask the following question:
> 1.Have kaffe been ported to embeded system?
> 2.If been,then Can It display graphics in the embeded envirment?
Yes, see PocketLinux http://pocketlinux.com. It's a Linux kernel and
Kaffe for PDA.
printf ("(void*)-1 = %p\n", (void*)-1);
return 0;
}
Also size_t should be 64 bits, but I'm not sure, so I have change
gc_heap_base and gc_block_base to uintp.
Could you test the following patch before I commit it in the CVS Tree ?
--
Edouard G. Parmelan
http://egp.free.
/c/kaffe/kaffe/kaffevm/systems/unix-jthreads/syscalls.c:253: undefined
>reference to `h_errno'
h_errno is a define in winsock2.h, try add #include "config-hack.h" in
file syscalls.c just after #include "config.h".
Hope this helps.
--
Edouard G. Parmelan
http://egp.free.fr
Rizsanyi Zsolt wrote:
> In the readme there is a reference to
> ftp://ftp.kaffe.org/pub/kaffe/kaffe-snap.tar.gz
>
> but that was last updated in November 1999.
This is a known issue :(
New handmade snapshot
http://egp.free.fr/kaffe/kaffe-snap-2621.tar.bz2
--
Edouard G. P
ped=yes}
Said me if it solve your problem.
--
Edouard G. Parmelan
http://egp.free.fr
ll) {
// this class is Serializable, register serialVersionUID
emitSerialVersionUID(stream.getSerialVersionUID());
}
Thanks.
--
Edouard G. Parmelan
http://egp.free.fr
jar.Jar cf t1.jar *.class
to trace native methods lookup.
--
Edouard G. Parmelan
http://egp.free.fr
iled.
this could be fixed by changing all use of ObjectClass.
2. It's not possible to load java.lang.Throwable with JDK1.2
java.lang.LinkageError: non-standard Throwable class loaded
Kaffe does not check that.
--
Edouard G. Parmelan
http://egp.free.fr
tand now I can't
> ever produce a jdk10.japi...
I will try to write a small ClassLoader to use with Kaffe to generate
jdk10.japi.
--
Edouard G. Parmelan
http://egp.free.fr
If so, you could have a one pass comparison framework.
An other solution could be to use a classes manipulations packages as
at.dms.classfile or gnu.bytecode. Both use GPL Licences.
--
Edouard G. Parmelan
http://egp.free.fr
[EMAIL PROTECTED] wrote:
> I made another patch to OutputStreamWriter.java without
> introducing such a new method.
Thanks, committed.
--
Edouard G. Parmelan
http://egp.free.fr
[EMAIL PROTECTED] wrote:
>
> I made patches that may solve the problem:
> URL: http://rufus.w3.org/tools/Kaffe/messages/5936.html
> Subject: ByteToCharUTF8.java cannot handle long strings
> From: [EMAIL PROTECTED]
> Date: Fri Mar 03 2000 - 06:16:19 EST
Thanks, commit
rewrite some part and include a fix for PR#613.
It's commited now.
--
Edouard G. Parmelan
http://egp.free.fr
Nic Ferrier wrote:
> I notice that JAR files are not set up as binaries within the Kaffe
> repository.
Which one ?
The following command reports Sticky Options: -kb for all JAR files
$ cvs status $(find -name \*.jar)
--
Edouard G. Parmelan
http://egp.free.fr
737521
FFT (1024): 5.3105534220703872
SOR (100x100): 19.456330676365077
Monte Carlo : 1.8220261224138588
Sparse matmult (N=1000, nz=5000): 8.4418796405815346
LU (100x100): 6.6108873089378983
java.vendor: Transvirtual Technologies, Inc.
java.version: 1.0.5
os.arch: i686
os.name: Linux
os.version: 2.2.16
--
Edouard G. Parmelan
http://egp.free.fr
Check the beginning of the ChangeLog file.
>
> Please try using the current CVS.
I manage ``manually snapshot'' at http://egp.free.fr/kaffe. I will
create a new snapshot today (last is 09-Mar-2000).
Hope this helps.
--
Edouard G. Parmelan
http://egp.free.fr
ity on
Windows platforms.
Hope this helps.
--
Edouard G. Parmelan
http://egp.free.fr
| 830 Blythe Avenue
> + Christ can be your backup. | Drexel Hill, Pennsylvania
> 19026
--
Edouard G. Parmelan
http://egp.free.fr
could be replaced by (if some
magic _POSIX_SOURCE macros are defined/undefined).
You should also read FAQ/FAQ.pthread. Currently this pthread
implementation is GNU/Linux specific :(
--
Edouard G. Parmelan
http://egp.free.fr
t java.awt.MouseEvt.dispatch(MouseEvt.java:224)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:39)
But I does not have sound card ;-P
--
Edouard G. Parmelan
http://egp.free.fr
-bin$ /path-to-kaffe-cvs/configure --my-options
. option B edit $HOME/.cvsignore and add them.
Hope this helps.
--
Edouard G. Parmelan
http://egp.free.fr
directory. It is
said to be set to c:\users\default by default. */
Hope this helps.
--
Edouard G. Parmelan
http://egp.free.fr
Nandana wrote:
> "Edouard G. Parmelan" wrote:
>
> > Humm, I just read config/arm/linux/config.frag and if $cross_compile ==
> > yes, sizeof are setup. I don't know why configure don't detect that
> > you're in a cross-compil
x27;
in config.cache and re-run configure ?
I think you should send config.log and config.cache so that others that
use cross-compiling can help you.
I have never try cross-compiling yet, but I hope does it for GNU/Hurd,
it's in my TODO list for a while...
--
Edouard G. Parmelan
http://egp.free.fr
.frag file as for OSKit in config/i386/oskit/config.frag
You may also prefers build a config.cache file with same values.
Hope this help.
--
Edouard G. Parmelan
http://egp.free.fr
Mo DeJong wrote:
> Could someone apply this patch?
Done, thanks.
--
Edouard G. Parmelan
http://egp.free.fr
13/02/2000
I have validate it with
. make Klasses
. make check [only one test fail: ArrayForName]
. DoWhileCompilerBug.java from Patrick Tullmann
. InheritOverideException.java from Mo DeJong
Hope this help
--
Edouard G. Parmelan
http://egp.free.fr
wing
> patch to OutputStreamWriter.java helps solve this problem
> although this is nothing but a workaround.
Could you try the following more general patch ?
--
Edouard G. Parmelan
http://egp.free.fr
Index: libraries/javalib/kaffe/i
I wrote:
> Note that I have not rebuild Klasses.jar.
Done now.
--
Edouard G. Parmelan
http://egp.free.fr
mmited.
Note that I have not rebuild Klasses.jar.
--
Edouard G. Parmelan
http://egp.free.fr
t -D_REENTRANT flag but -lpthread is checked and added to
VM_LIBS in configure.in line 579.
--
Edouard G. Parmelan
http://egp.free.fr
Pavel Roskin wrote:
> This patch makes it possible to use --enable-debug on platforms without
> profiler support.
Thanks, apply.
--
Edouard G. Parmelan
http://egp.free.fr
'8
Did RowData class is in package smart.module ? If so, you should
(for the moment) compile with:
kjc -d . smart/db/*.java smart/module/*.java *.java
SUN javac transparently load not found classes from java source file.
Currently kjc don't compile a source file when it is not specified on
command line.
--
Edouard G. Parmelan
http://egp.free.fr
sion of kjc is
also mirrored at http://egp.free.fr/kaffe.
--
Edouard G. Parmelan
http://egp.free.fr
o the latest KJC.
kjc-1.4C have the same bug :(
It's trivial patch in kjc/JDoStatement.java (attached). I also attach
compiled class at/dms/kjc/JDoStatement.class for kjc-1.4B (version used
Kaffe CVS tree), let me now if you use another version of kjc.
--
Edouard G. Parmelan
http://egp.fre
e(Main.java:449)
> at at.dms.kjc.Main.main(Main.java:432)
This was corrected in kjc (www.dms.at/kopi) and in CVS Tree. Currently
Kaffe support kjc-1.4B (1.4C have small bug with line numbers).
--
Edouard G. Parmelan
http://egp.free.fr
ht now. Any pointers?
ftp://ftp.gnu.org/pub/gnu/gmp/gmp-2.0.2.tar.gz
or any GNU mirror near you.
--
Edouard G. Parmelan
http://egp.free.fr
OS, it return the error :(
I will look that this WE.
--
Edouard G. Parmelan
http://egp.free.fr
hen you need
to contact a human.
--
Edouard G. Parmelan
http://egp.free.fr
l (pid=0, sig=15)
I see, pid is not saved after fork.
Fixed now, thanks.
You can update libraries/clib/native/UNIXProcess.c.
> Another question: Is it safe to use gcc 2.95?
I use gcc-2.95.2 on Debian GNU/Linux 2.1 (slink) and RedHat 5.0 without
problems with Kaffe.
--
Edouard G. Parmelan
http://egp.free.fr
nst() should check for
+0.0 and -0.0, it's a fix for bug PR#122. In C, +0.0 == -0.0 so you
need check 0.0 and then bit sign (1 << 63).
Again, thanks for your document.
--
Edouard G. Parmelan
http://egp.free.fr
1 - 100 of 124 matches
Mail list logo