Thanks Nicolas for your help with my build problems with vmkit. Yes, I was missing ant -- great catch (I'm on a newly installed machine). That fix with this configuration, gets me to the error below. Any thoughts (build tools, other I may be missing that are not checked for)? Are there steps that you suggest I try to gather more information on the problem? Also -- it seems to be building the release version by default (perhaps because my llvm build used release), should I try with the debug version instead? If so, is there a config flag for that? Thanks in advance for your help. -Z ./configure --with-llvmsrc=/home/zoewolk/RESEARCH/LLVMSystem/llvm --with-llvmobj=/home/zoewolk/RESEARCH/LLVMSystem/llvm --with-gnu-classpath-glibj=/home/zoewolk/RESEARCH/classpath-0.97.2/lib --with-gnu-classpath-libs=/home/zoewolk/RESEARCH/classpath-0.97.2/lib --with-llvmgcc=/home/zoewolk/RESEARCH/LLVMSystem --with-gc=mmtk Buildfile: /home/zoewolk/RESEARCH/vmkit/mmtk/java/build.xml main: BUILD SUCCESSFUL Total time: 0 seconds llvm[2]: Building Release mmtk-vmkit.jar all 0 vmjc 0x0000000000d2edef 1 vmjc 0x0000000000d30e82 2 libpthread.so.0 0x00002b5d6098b190 3 vmjc 0x00000000005e4367 mvm::SharedStartFunctionMap::initialize() + 167 Segmentation fault make[2]: *** [all] Error 139 make[2]: Leaving directory `/home/zoewolk/RESEARCH/vmkit/mmtk/java' make[1]: *** [all] Error 1 make[1]: Leaving directory `/home/zoewolk/RESEARCH/vmkit/mmtk' make: *** [all] Error 1 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100629/b8c6b7a8/attachment.html>
Hi Zoe, (Please, try to reply to the same thread) I think you may have an old version of llvm-gcc. Did you compile llvm-gcc yourself? The provided llvm-gcc binary for llvm 2.7 is too old for vmkit. Nicolas On Tue, Jun 29, 2010 at 6:26 PM, Zoe Wolk <zoewolk at gmail.com> wrote:> Thanks Nicolas for your help with my build problems with vmkit. > Yes, I was missing ant -- great catch (I'm on a newly installed > machine). That fix with this configuration, gets me to the error below. > Any thoughts (build tools, other I may be missing that are not checked > for)? > > Are there steps that you suggest I try to gather more information on > the problem? Also -- it seems to be building the release version by > default (perhaps because my llvm build used release), should I > try with the debug version instead? If so, is there a config flag for that? > > Thanks in advance for your help. > -Z > > ./configure --with-llvmsrc=/home/zoewolk/RESEARCH/LLVMSystem/llvm > --with-llvmobj=/home/zoewolk/RESEARCH/LLVMSystem/llvm > --with-gnu-classpath-glibj=/home/zoewolk/RESEARCH/classpath-0.97.2/lib > --with-gnu-classpath-libs=/home/zoewolk/RESEARCH/classpath-0.97.2/lib > --with-llvmgcc=/home/zoewolk/RESEARCH/LLVMSystem --with-gc=mmtk > > Buildfile: /home/zoewolk/RESEARCH/vmkit/mmtk/java/build.xml > > main: > > BUILD SUCCESSFUL > Total time: 0 seconds > llvm[2]: Building Release mmtk-vmkit.jar all > 0 vmjc 0x0000000000d2edef > 1 vmjc 0x0000000000d30e82 > 2 libpthread.so.0 0x00002b5d6098b190 > 3 vmjc 0x00000000005e4367 > mvm::SharedStartFunctionMap::initialize() + 167 > Segmentation fault > make[2]: *** [all] Error 139 > make[2]: Leaving directory `/home/zoewolk/RESEARCH/vmkit/mmtk/java' > make[1]: *** [all] Error 1 > make[1]: Leaving directory `/home/zoewolk/RESEARCH/vmkit/mmtk' > make: *** [all] Error 1 > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100629/b8180374/attachment.html>
Hi Nicolas, No, I built llvm-gcc myself by checking it out via svn, using these instructions: http://llvm.org/docs/GCCFEBuildInstrs.html thanks -Z> Hi Zoe > (Please, try to reply to the same thread) > I think you may have an old version of llvm-gcc. Did you compile > llvm-gcc yourself? The provided llvm-gcc binary for llvm 2.7 is > too old for vmkit. > > Nicolas >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100629/c836360b/attachment.html>
Hi again Nicolas, Can you please tell me the output of your llvm-gcc -v and llvm-config -version? Mine is below, perhaps its because I built llvm with enable-jit? Do you have users of vmkit? ie has anyone other than the llvm team been successful at building and running vmkit? I tried on a core2 machine (albeit also karmic) and have the same problem. Can you build a fresh machine (virtual machine) using svn llvm, llvm-gcc, and vmkit successfully and send out your steps? If not, can you please send me the output of 'dpkg -l |grep ii'? thanks Z llvm-gcc -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../llvm-gcc-4.2/configure --prefix=/home/zoewolk/RESEARCH/LLVMSystem --enable-languages=c,c++ --enable-checking --enable-llvm=/home/zoewolk/RESEARCH/LLVMSystem/llvm --disable-bootstrap --disable-multilib --program-prefix=llvm- Thread model: posix llvm config.status: It was created by llvm configure 2.8svn, which was generated by GNU Autoconf 2.60. Invocation command line was $ ./configure --prefix=/home/zoewolk/RESEARCH/LLVMSystem --enable-optimized --enable-jit --enable-targets=x86,cpp --with-udis86=/home/zoewolk/RESEARCH/udis86/lib --with-llvmgccdir=/home/zoewolk/RESEARCH/LLVMSystem Linux karmic kernel 2.6.27.5 x86_64 SMP gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build) On Tue, Jun 29, 2010 at 6:58 PM, Zoe Wolk <zoewolk at gmail.com> wrote:> Hi Nicolas, > No, I built llvm-gcc myself by checking it out via svn, using > these instructions: > http://llvm.org/docs/GCCFEBuildInstrs.html > thanks > -Z > > > > > Hi Zoe > > (Please, try to reply to the same thread) > > I think you may have an old version of llvm-gcc. Did you compile > > llvm-gcc yourself? The provided llvm-gcc binary for llvm 2.7 is > > too old for vmkit. > > > > Nicolas > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100630/c1a72381/attachment.html>