[erlang-questions] R16B os x compile issues
Björn-Egil Dahlberg
wallentin.dahlberg@REDACTED
Sat Mar 2 16:07:29 CET 2013
I think the make dependencies are a bit troublesome. They don't handle a
configure change all that well.
Try building in a clean environment without halfword and it should work
fine.
I just tried git clone ... && cd otp && ./otp_build autoconf && ./configure
--without-javac --enable-smp-support --enable-threads
--enable-darwin-64bit enable-m64-build --enable-wx && make on my imac just
to be sure and that works fine.
// Björn-Egil
2013/3/2 Max Lapshin <max.lapshin@REDACTED>
> And we end up with:
>
>
> gcc -m64 -m64 -o
> /Users/max/Sites/otp_src_R16B/bin/x86_64-apple-darwin11.4.2/epmd
> /Users/max/Sites/otp_src_R16B/erts/obj/x86_64-apple-darwin11.4.2/epmd.o
> /Users/max/Sites/otp_src_R16B/erts/obj/x86_64-apple-darwin11.4.2/epmd_cli.o
> /Users/max/Sites/otp_src_R16B/erts/obj/x86_64-apple-darwin11.4.2/epmd_srv.o
> -lutil -ldl -lm -L../../lib/internal/x86_64-apple-darwin11.4.2
> -lerts_internal -lm
> make -f x86_64-apple-darwin11.4.2/Makefile TYPE=opt
> make[3]: Nothing to be done for `all'.
> cd lib && \
> ERL_TOP=/Users/max/Sites/otp_src_R16B
> PATH=/Users/max/Sites/otp_src_R16B/bootstrap/bin:"${PATH}" \
> make opt SECONDARY_BOOTSTRAP=true
> Makefile:71: warning: overriding commands for target `clean'
> /Users/max/Sites/otp_src_R16B/make/otp_subdir.mk:28: warning: ignoring
> old commands for target `clean'
> === Entering application hipe
> erlc -W +debug_info +warn_exported_vars +warn_missing_spec
> +warn_untyped_record -o../ebin hipe_consttab.erl
> Missing alloc function for sbmbc_low_alloc
> make[3]: *** [../ebin/hipe_consttab.beam] Abort trap: 6
> make[2]: *** [opt] Error 2
> make[1]: *** [opt] Error 2
> make: *** [secondary_bootstrap_build] Error 2
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130302/72b0fbfe/attachment.htm>
More information about the erlang-questions
mailing list