Hi Nicolas,> Did you compile vmkit with llvm-gcc or gcc? Did you make sure the > path to GNU Classpath is correct in your configure command?I let the configure script of VMKit do its work and it decided to use gcc, the gcc 4.0.1 that is part of Apple's XCode distribution for MacOS 10.5. There is no llvm-gcc anywhere on my machine. Should I have one? I did install llvm without any error messages and I have a couple of llvm-* executables, but no llvm-gcc. As for GNU classpath, I think my configuration is correct but I don't know how to verify. Here's my configure command line for VMKit: ./configure --with-llvmsrc=/Users/hinsen/Development/VMKit/llvm -- with-llvmobj=/Users/hinsen/Development/VMKit/llvm --with-gnu-classpath- glibj=/Users/hinsen/Development/VMKit/classpath-0.97.2/lib --with-gnu- classpath-libs=/Users/hinsen/Development/VMKit/classpath-0.97.2/lib And here's the output of "cd /Users/hinsen/Development/VMKit/ classpath-0.97.2/lib; ls": META-INF gen-classlist.sh libjavalangreflect.so Makefile gen-classlist.sh.in libjavanet.so Makefile.am glibj.zip libjavanio.so Makefile.gcj gnu libjavautil.so Makefile.in java mkcollections.pl.in classes java.dep org classes.1 javax resources classes.2 libgconfpeer.so split-for-gcj.sh compile-classes libgtkpeer.so standard.omit copy-vmresources.sh libjavaio.so standard.omit.in copy-vmresources.sh.in libjavalang.so sun> Also, you can now update to the latest revision.Done - but that doesn't change anything, unfortunately. Konrad.
Hmm, I am not getting that error message on my MacOS 10.5 machine with that same gcc. Could you run j3 in gdb and get me a backtrace? Thanks! Nicolas On Tue, Apr 6, 2010 at 9:23 PM, Konrad Hinsen <konrad.hinsen at fastmail.net>wrote:> Hi Nicolas, > > > Did you compile vmkit with llvm-gcc or gcc? Did you make sure the path to >> GNU Classpath is correct in your configure command? >> > > I let the configure script of VMKit do its work and it decided to use gcc, > the gcc 4.0.1 that is part of Apple's XCode distribution for MacOS 10.5. > There is no llvm-gcc anywhere on my machine. Should I have one? I did > install llvm without any error messages and I have a couple of llvm-* > executables, but no llvm-gcc. > > As for GNU classpath, I think my configuration is correct but I don't know > how to verify. Here's my configure command line for VMKit: > > ./configure --with-llvmsrc=/Users/hinsen/Development/VMKit/llvm > --with-llvmobj=/Users/hinsen/Development/VMKit/llvm > --with-gnu-classpath-glibj=/Users/hinsen/Development/VMKit/classpath-0.97.2/lib > --with-gnu-classpath-libs=/Users/hinsen/Development/VMKit/classpath-0.97.2/lib > > And here's the output of "cd > /Users/hinsen/Development/VMKit/classpath-0.97.2/lib; ls": > > META-INF gen-classlist.sh libjavalangreflect.so > Makefile gen-classlist.sh.in libjavanet.so > Makefile.am glibj.zip libjavanio.so > Makefile.gcj gnu libjavautil.so > Makefile.in java mkcollections.pl.in > classes java.dep org > classes.1 javax resources > classes.2 libgconfpeer.so split-for-gcj.sh > compile-classes libgtkpeer.so standard.omit > copy-vmresources.sh libjavaio.so standard.omit.in > copy-vmresources.sh.in libjavalang.so sun > > > Also, you can now update to the latest revision. >> > > Done - but that doesn't change anything, unfortunately. > > Konrad. >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100407/91dc8ede/attachment.html>
On 7 Apr 2010, at 21:36, nicolas geoffray wrote:> Hmm, I am not getting that error message on my MacOS 10.5 machine > with that same gcc. Could you run j3 in gdb and get me a backtrace?Sure: (gdb) bt #0 0x950be44e in __semwait_signal () #1 0x950e93e6 in _pthread_cond_wait () #2 0x950e8dcd in pthread_cond_wait$UNIX2003 () #3 0x000be2d2 in mvm::Cond::wait (this=0x20527c4, l=0x2052790) at ctlock.cpp:151 #4 0x00020137 in j3::Jnjvm::waitForExit (this=0x20525a8) at Jnjvm.cpp: 1225 #5 0x00001cf6 in main (argc=4, argv=0xbffff070, envp=0xbffff084) at Main.cpp:47 I'll try installing VMKit in a virtual Linux for comparison. Konrad.