[erlang-questions] hipe and smp

Cliff Moon cliff@REDACTED
Fri Jul 17 23:19:56 CEST 2009


I believer parameterized modules were fixed in HiPE for R13B.

Juan Jose Comellas wrote:
> I believe mochiweb does not work with HiPE, as it uses parameterized
> modules. AFAIK that was not supported by HiPE (at least the last time I
> checked).
>
>
> On Fri, Jul 17, 2009 at 5:27 PM, Joel Reymont <joelr1@REDACTED> wrote:
>
>   
>> Kostis,
>>
>> On Jul 17, 2009, at 9:22 PM, Kostis Sagonas wrote:
>>
>>  Yes, it's worth troubleshooting. You send us a (preferably small) program
>>     
>>> that shows the issue together with instructions on how to reproduce the
>>> problem.
>>>
>>>       
>> You can just grab the Janus code from GitHub [1].
>>
>> It crashes in burns upon startup when compiled with HiPE on x86-64.
>>
>> 1) get mochiweb and add +native to its list of compilation flags
>> 2) compile mochiweb
>> 3) cd janus
>> 4) ln -s <your mochiweb parent>/mochiweb .
>> 5) make sh
>>
>> Then see it crash and burn.
>>
>>        Thanks, Joel
>>
>> [1] http://github.com/tinycode/janus/tree/master
>>
>> ---
>> Mac hacker with a performance bent
>> http://www.linkedin.com/in/joelreymont
>>
>>
>> ________________________________________________________________
>> erlang-questions mailing list. See http://www.erlang.org/faq.html
>> erlang-questions (at) erlang.org
>>
>>
>>     
>
>   



More information about the erlang-questions mailing list