This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


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

Re: Kawa & GCC 3.0


On 04 Sep 2001 21:16:17 -0700, Per Bothner wrote:
> 
> Weiqi Gao <weiqigao@networkusa.net> writes:
> 
> > Is the current CVS Kawa source in shape to be built into an native
> > executable with GCC 3.0?
> 
> I believe so.  I haven't tried GCC 3.0 recently, but I have tried
> the CVS trunk of GCC recently.  I testcase in the testsuite failed,
> but otherwise pretty good.

I was able to build and run Kawa CVS with GCC 3.0.  It worked.  Small
glitches:

1. A script gckawa was not made but was needed by make install.  I had
to go into the ./bin directory and manually 'make gckawa' before 'make
install' would complete successfully.

2. I had a little problem with ports.scm on the first run of 'make', and
I have to manually delete bin/kawa-lib.o and re-run 'make' for it to
compile (I seem to remember a similar problem with the javac build a
while ago. The kawa.repl would also go into an infinite loop trying to
find the port):

Internal error while compiling ports.scm
gnu.mapping.UnboundSymbol: Unbound symbol set-port-line
   at 0x4018e6ba: java.lang.Throwable.Throwable(java.lang.String)
(/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x40183cbf: java.lang.Exception.Exceptionecho timestamp >
scm-classes.stamp

Here's what happens when it is run:

[weiqi@gao-2001 kawa]$ CLASSPATH= PATH= ./bin/kawa.sh
java.io.IOException: Error when evaluating
prompt:java.lang.RuntimeException: failed to find class kawa.lib.ports
while autoloading default-prompter
   at 0x401776ba: _ZN4java4lang9ThrowableC1EPNS0_6StringE
(/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4016ccbf: _ZN4java4lang9ExceptionC1EPNS0_6StringE
(/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x401807bf: _ZN4java2io11IOExceptionC1EPNS_4lang6StringE
(/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4026f367: ffi_call_SYSV (/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4026f327: ffi_raw_call (/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4014f291:
_ZN16_Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
(/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4014ebcb:
_ZN16_Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_
(/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4026f1fd: ffi_prep_closure (/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4026f367: ffi_call_SYSV (/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4026f327: ffi_raw_call (/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4014f291:
_ZN16_Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
(/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4014ebcb:
_ZN16_Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_
(/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4026f1fd: ffi_prep_closure (/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4026f367: ffi_call_SYSV (/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4026f327: ffi_raw_call (/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4014f291:
_ZN16_Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
(/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4014ebcb:
_ZN16_Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_
(/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4026f1fd: ffi_prep_closure (/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4026f367: ffi_call_SYSV (/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4026f327: ffi_raw_call (/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4014f291:
_ZN16_Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
(/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4014ebcb:
_ZN16_Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_
(/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4026f1fd: ffi_prep_closure (/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4026f367: ffi_call_SYSV (/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4026f327: ffi_raw_call (/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4014f291:
_ZN16_Jv_InterpMethod9continue1EP26_Jv_InterpMethodInvocation
(/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4014ebcb:
_ZN16_Jv_InterpMethod10run_normalEP7ffi_cifPvP7ffi_rawS2_
(/opt/gcc-3.0/lib/libgcj.so.2)
   at 0x4026f1fd: ffi_prep_closure (/opt/gcc-3.0/lib/libgcj.so.2)
[An infinite loop]

3. 'make distclean' leaves the following files in the directory, which
it probably should clean up (except for ./doc/kawa-tour.ps, which it
should probably not delete):

[weiqi@gao-2001 kawa]$ cvs -z3 update -dP
? bin/gckawa
? gnu/jemacs/Makefile
? gnu/jemacs/buffer/Makefile
? gnu/jemacs/lang/Makefile
? gnu/jemacs/lisp/Makefile
? gnu/jemacs/testsuite/Makefile
? gnu/xml/Makefile
? gnu/xquery/Makefile
? gnu/xquery/lang/Makefile
? gnu/xquery/testsuite/Makefile
? gnu/xquery/testsuite/tab.xml
? gnu/xquery/util/Makefile
? kawa/Version.java
cvs server: Updating .
cvs server: Updating bin
cvs server: Updating debian
cvs server: Updating doc
U doc/kawa-tour.ps

-- 
Weiqi Gao
weiqigao@networkusa.net


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