[erlang-questions] HIPE and on_load

Alex S. alex0player@REDACTED
Mon Mar 6 15:46:41 CET 2017


This is an expected behaviour, I think, as there’s no trampoline in native-compiled functions to load NIFs into.
> 6 марта 2017 г., в 17:45, Caragea Silviu <silviu.cpp@REDACTED> написал(а):
> 
> Hello,
> 
> When I compile using HIPE: ERL_COMPILER_OPTIONS="[native,{hipe, [o3]}]"
> 
> All dependencies using NIF's are failing to compile:
> 
> <HiPE (v 3.15.3)> EXITED with reason {'trans_fun/2',on_load} @hipe_beam_to_icode:1148
> 
> Is this an expected behavior or anything I can do to bypass this ?
> 
> Silviu
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list