[vmkit-commits] vmkit doesn't support debug build?

Wei Tang tangwei.ict at gmail.com
Tue Jun 12 19:32:25 PDT 2012


Would you send me the patch? I hope to understand more details by debugging
instead of  just reading source code.
Thanks in advance!

Regards!
tangwei

On Wed, Jun 13, 2012 at 9:52 AM, Koutheir Attouchi <koutheir at gmail.com>wrote:

> Officially, VMKit does not support debug builds. But I can make a patch
> that makes it work in debug build. However, my modifications are not yet
> committed and I qualify them to be in beta stage. If you don't need
> debugging, stick with the trunk version. If you really need it, I can send
> you a patch that enables debugging.
>
> Koutheir ATTOUCHI.
> LinkedIn profile: http://www.linkedin.com/in/koutheirattouchi
> Blog: http://koutheir.blogspot.com
>
>
>
>
> On Wed, Jun 13, 2012 at 3:29 AM, Wei Tang <tangwei.ict at gmail.com> wrote:
>
>> Hi,
>>   Does vmkit support debug build now?  I can build successfully with
>> "make ENABLE_OPTIMIZED=1", but failed with "make".
>> Following is error message for your reference.
>>
>> llvm[0]: Constructing LLVMBuild project information.
>> make[1]: Entering directory
>> `/wsp/cmplr/vmkit/vmkit/obj-debug/lib/vmkit/StaticGCPass'
>> llvm[1]: Compiling StaticGCPass.cpp for Debug+Asserts build (PIC)
>> llvm[1]: Linking Debug+Asserts Loadable Module StaticGCPass.so
>> make[1]: *** No rule to make target
>> `/wsp/cmplr/vmkit/vmkit/obj-debug/lib/vmkit/StaticGCPass/Debug+Asserts/StaticGCPass.ll',
>> needed by
>> `/wsp/cmplr/vmkit/vmkit/obj-debug/lib/vmkit/StaticGCPass/Debug+Asserts/StaticGCPass.bc'.
>>  Stop.
>> make[1]: Leaving directory
>> `/wsp/cmplr/vmkit/vmkit/obj-debug/lib/vmkit/StaticGCPass'
>> make: *** [all] Error 1
>>
>> my configure line:
>> ../configure --with-llvmsrc=/wsp/cmplr/vmkit/llvm
>> --with-llvmobj=/wsp/cmplr/vmkit/llvm/obj
>> --with-gnu-classpath-glibj=/wsp/cmplr/vmkit/classpath-0.97.2/lib/glibj.zip
>>  --with-gnu-classpath-libs=/wsp/cmplr/vmkit/classpath-0.97.2/lib
>>
>> --
>> Best Regards
>> wei
>>
>> _______________________________________________
>> vmkit-commits mailing list
>> vmkit-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits
>>
>>
>
> _______________________________________________
> vmkit-commits mailing list
> vmkit-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits
>
>


-- 
Best Regards
tangwei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/vmkit-commits/attachments/20120613/58306ea3/attachment.html>


More information about the vmkit-commits mailing list