[erlang-questions] compiling problems under OS X Lion

Dave Smith dizzyd@REDACTED
Fri Jul 22 17:37:58 CEST 2011


If you want to compile Erlang w/ clang-llvm on 10.6 (or above) do
this: CFLAGS=-O0 ./configure ...

D.

On Fri, Jul 22, 2011 at 9:20 AM, Sean Moss-Pultz <sean@REDACTED> wrote:
> Hi List
>
> I'm trying to build R14B03 under OS X Lion. (Xcode v4.1). I'm getting
> the following error:
>
> --------------------------------------------------
>
> === Entering application hipe
> (cd ../main && make hipe.hrl)
> sed -e "s;%VSN%;3.8;" ../../hipe/main/hipe.hrl.src > ../../hipe/main/hipe.hrl
> erlc -W  +debug_info +inline -o../ebin hipe_rtl.erl
> (no error logger present) error: "Error in process <0.1.0> with exit
> value: {{badfun,[<<5 bytes>>,<<47 bytes>>,<<9 bytes>>,<<3 bytes>>,<<2
> bytes>>,<<5 bytes>>,<<12 bytes>>,<<2 bytes>>,<<8 bytes>>,<<8
> bytes>>,<<5 bytes>>,<<7 bytes>>,<<5 bytes>>,<<11 bytes>>,<<2
> bytes>>,<<11 bytes>>,<<15 bytes>>,<<4 bytes>>,<<50 bytes>>,<<5
> bytes>>,<<1 byte>>,<<7 bytes>>,<<10 bytes>>,<<7 bytes>>,<<6
> bytes>>,<<7 bytes>>,<<7 bytes>>,<<6 bytes>>,<<12
> bytes>>]},[{erlang,apply,2}]}\n"
>
> --------------------------------------------------
>
> People using homebrew seem to have the same issue:
>
>  https://github.com/mxcl/homebrew/issues/2713
>
> They say to use --use-gcc when running ./configure. I've tried this
> but it didn't change the error. Can somebody help me with this?
>
> Thanks!
>
>
>   -Sean
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list