[erlang-bugs] filename.erl throws HiPE compiler into infinite loop on R14B01

Kostis Sagonas <>
Sun Feb 13 08:47:53 CET 2011

Andrew Thompson wrote:
> So, I was playing around with --enable-native-libs on OSX 10.6 tonight
> and I found that the compiler stalls on stdlib/filename.erl, erlc sits
> there eating a bunch of cpu but it never seems to finish compiling. If I
> compile it without +native it works fine.
> This is on OSX 10.6 with no ./configure flags other than
> --enable-native-libs. I can cd into lib/stdlib/src and run `erlc +native
> filename.erl` and the compiler never finishes.

This is a known problem, which has long been fixed. Try the Erlang/OTP 
'dev' version from github or apply the following patch:



More information about the erlang-bugs mailing list