[erlang-questions] building erlang/otp dev on mac os x?

Paul Fisher pfisher@REDACTED
Mon Sep 5 17:22:19 CEST 2011


Just a follow-up on this.  Installing gcc 4.5.3 from macports, allows the current dev branch to build and pass most of the tests.


On Sep 1, 2011, at 9:00 PM, Paul Fisher wrote:

> I get roughly the following for both 32-bit and 64-bit builds on lion.  Has anyone specifically diagnosed the issue building current releases up to, and including the current dev branch, on mac os x?  Is this considered an gcc-llvm or otp issue?
> 
> $ ./configure --enable-darwin-64bit --disable-hipe
> $ make
> 
> <…>
> 
> === Entering application hipe
> erlc -W  +debug_info +warn_exported_vars +warn_missing_spec +warn_untyped_record -o../ebin hipe_consttab.erl
> (no error logger present) error: "Error in process <0.1.0> with exit value: {{badfun,[<<5 bytes>>,<<36 bytes>>,<<9 bytes>>,<<3 bytes>>,<<2 bytes>>,<<5 bytes>>,<<14 bytes>>,<<2 bytes>>,<<8 bytes>>,<<8 bytes>>,<<5 bytes>>,<<7 bytes>>,<<5 bytes>>,<<11 bytes>>,<<2 bytes>>,<<11 bytes>>,<<15 bytes>>,<<4 bytes>>,<<40 bytes>>,<<5 bytes>>,<<1 byte>>,<<7 bytes>>,<<10 bytes>>,<<7 bytes>>,<<18 bytes>>,<<7 bytes>>,<<17 bytes>>,<<7 bytes>>,<<19 bytes>>,<<7 bytes>>,<<7 bytes>>,<<6 bytes>>,<<17 bytes>>]},[{erlang,apply,2}]}\n"
> ^C
> 
> 
> $ gcc --version
> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> 
> --
> paul
> 
> director, platform services
> alertlogic, inc.
> 713-484-8383 x2314
> 

--
paul

director, platform services
alertlogic, inc.
713-484-8383 x2314




More information about the erlang-questions mailing list