SableVM - Cannot create VM with inline threading.

Boyan Bonev <[email protected]> Mon, 30 Jan 2006 00:36:53 -0500
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <[email protected]>
Hello,
A short heads up on a problem I ran into when trying to install SableVM.
I looked over the bug reports and didn't find it there, so here's a
brief desciption
Enironment:
2.6.12 Mandriva 32 bit on AMD64 processor.
SableVM 1.13 release, SCP 1.13 release, Jikes 1.22
Configure make install without any additional options.
jikes/javac-sablevm can compile .java files.
Sablevm displays "cannot create VM" message.
-v ends just after [verbose class: loading "java/lang/Class"]
Distclean/reinstall same result.

GDB shows a segfault
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210362176 (LWP 29289)]
_svmf_interpreter (_env=0x0) at interpreter.c:258
258         _svmt_method_info *method = frame->method;
Found this old chatlog
(http://sablevm.org/irc/2005/03/2005-03-24-sablevm.html) suggesting to
unpack libclasspath. Did so, didn't help.

sablevm -V returns:
- gcc version: 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0)
- 'real life brokenness' features enabled
- signal based exception detection
- copying garbage collection
- bidirectional object layout
- inline-threaded interpreter <<<<<<<,


Found an old discussion indicating there have been problems with the
inline interpreter and gcc3.
Compiled the direct & switch threaded interpreters - both work like a charm.
Was mainly wondering if there is a known incompatiblity between the
sablevm sourcebase & gcc 4 or maybe an issue with the AMD64(even if
it's supposed to emulate x86 perfectly except for the address
extension)?? If not, I'd assume it's someting local and I'd start
playing with the configuration flags & swtiches trying to make the
inline interpretation functional.
Thanks.
                                                                      
                                              .::botzi::.

PS: On a sidenote, there is a terrible system hang on 100% processor
time when trying to compile with jikes the first line in the SCP 1.13
makefile under Cygwin. Anyone succefully installed 1.13 on it?