--enable-native-libs is broken
Louis-Philippe Gauthier <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.bugs |
|---|---|
| Message-ID | <CAGvQrRjyzxGhyRW3yhceWKN7sX5oPCExPvNWsm8rVPSRPbpehg@mail.gmail.com> |
Hi,
I've been trying to compile 17.1 with native libs... without any success. I
get different errors on Linux and OSX.
Linux:
% build
tar -xzf otp_src_17.1.tar.gz && cd otp_src_17.1/
./configure --enable-smp-support --enable-threads --enable-kernel-poll
--enable-hipe --enable-native-libs
make
% install
sudo su
rm -rf /usr/local/lib/erlang/
make install
% test
erl
Erlang/OTP 17 [erts-6.1] [source] [64-bit] [smp:2:2] [async-threads:10]
[hipe] [kernel-poll:false]
Eshell V6.1 (abort with ^G)
1> code:is_loaded(gen_server).
{file,"/usr/local/lib/erlang/lib/stdlib-2.1/ebin/gen_server.beam"}
2> code:is_module_native(gen_server).
false
OSX:
% build
tar -xzf otp_src_17.1.tar.gz && cd otp_src_17.1/
./configure --enable-smp-support --enable-threads --enable-kernel-poll
--enable-hipe --enable-native-libs --enable-darwin-64bit
--with-dynamic-trace=dtrace
make
% error
=== Entering application hipe
ERLC ../ebin/hipe_rtl.beam
hipe_rtl.erl: internal error in native_compile;
crash reason: undef
full stacktrace: https://gist.github.com/lpgauth/74aea9a99b9763a6ffdb
_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs