Erlang compiler bug in R10 ?

Bruce Fitzsimons <>
Thu Feb 9 11:34:31 CET 2006


Torbjorn Tornkvist wrote:
> Hi,
>
> I'm trying to compile the ibrowse application in jungerl:
> ----------------------------------------------------------------
> > make
> erlc -W +warn_unused_vars +nowarn_shadow_vars +warn_unused_import -I./ 
> -o ../ebin ibrowse.erl
> erlc -W +warn_unused_vars +nowarn_shadow_vars +warn_unused_import -I./ 
> -o ../ebin ibrowse_http_client.erl
> Function chunk_request_body/3 refers to undefined label 410
> ./ibrowse_http_client.erl:none: internal error in beam_dead;
> crash reason: {{case_clause,{'EXIT',{undefined_label,410}}},
>                [{compile,'-select_passes/2-anonymous-2-',2},
>                 {compile,'-internal_comp/4-anonymous-1-',2},
>                 {compile,fold_comp,3},
>                 {compile,internal_comp,4},
>                 {compile,internal,3}]}
> make: *** [../ebin/ibrowse_http_client.beam] Error 1
> ------------------------------------------------------------------
>
Me too :-)

This is a variant of a bug that I think Sean Hinde reported on an 
earlier R10. I used his workaround: replacing the ; in the clause it 
complains about with "or" fixes it, and the rest of the jungerl compiles 
okay. ; is or, right? I can never remember.

Cheers,
Bruce



More information about the erlang-questions mailing list