[Gambas-user] JIT on archlinux fails to build

Emil Lenngren emil.lenngren at ...626...
Fri May 25 01:23:29 CEST 2012


No, try revision 4775 ;)

2012/5/25 Emil Lenngren <emil.lenngren at ...626...>

> Try revision 4774, it should solve that bug.
>
> You can use the environmental variable GB_JIT=info to make LLVM dump out
> the optimized code. To debug how the code looks like before optimization
> passes, you have to uncomment a line //M->dump() in
> gb.jit/src/jit_codegen.cpp.
>
> Enumerating classes is apparently not that good implemented yet..
>
> /Emil
>
> 2012/5/25 Sebastian Kulesz <sebikul at ...626...>
>
>> Maybe the best thing to do is ask on the llvm mailing list. There must be
>> a way.
>>
>> Talking about the component. I tested it on several classes in a
>> project. The performance gain is clearly noted, but i'm having a lot
>> of crashes and error messages.
>>
>> I would like to know how can I upload the output, enable debugging, or
>> do any other thing to help debug the JIT compiler. Most of the look
>> like this:
>>
>> Branch condition is not 'i1' type!
>>  br i8 %332, label %block106, label %block53
>>  %332 = call i8 @EXEC_enum_next(i16 0)
>> Broken module found, compilation aborted!
>> Stack dump:
>> 0.      Running pass 'Function Pass Manager' on module 'jit_mod'.
>> 1.      Running pass 'Module Verifier' on function '@func_3_Icons_5'
>>
>> On Thu, May 24, 2012 at 7:26 PM, Emil Lenngren <emil.lenngren at ...626...>
>> wrote:
>> > Hi
>> >
>> > Does someone here know a good way in automake scripts to make the llvm
>> > linking work in "all" distributions? I can't manage to get llvm-config
>> to
>> > print out the correct .so file.
>> >
>> > /Emil
>> >
>> > 2012/5/25 Sebastian Kulesz <sebikul at ...626...>
>> >
>> >> Hi, I tried building the JIT component under archlinux. I had to
>> >> slightly patch the configure.ac file to pass the configure tests.
>> >> Currently, as a rolling release distribution, it uses llvm 3.1. With
>> >> the attached patch applied, it configures and builds properly.
>> >>
>> >> Thanks a lot for all your work, really!!
>> >>
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> Live Security Virtual Conference
>> >> Exclusive live event will cover all the ways today's security and
>> >> threat landscape has changed and how IT managers can respond.
>> Discussions
>> >> will include endpoint security, mobile security and the latest in
>> malware
>> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> >> _______________________________________________
>> >> Gambas-user mailing list
>> >> Gambas-user at lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
>> >>
>> >>
>> >
>> ------------------------------------------------------------------------------
>> > Live Security Virtual Conference
>> > Exclusive live event will cover all the ways today's security and
>> > threat landscape has changed and how IT managers can respond.
>> Discussions
>> > will include endpoint security, mobile security and the latest in
>> malware
>> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> > _______________________________________________
>> > Gambas-user mailing list
>> > Gambas-user at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>



More information about the User mailing list