[erlang-bugs] gcc bug triggered by compiling R14B02 (not an erlang bug per se)

Matthias Lang <>
Wed Apr 27 21:45:56 CEST 2011


This is not an Erlang bug, but rather a gcc bug tripped by building Erlang.

Building R14B02 on an x86-64 machine with gcc 4.5.2 (Debian "testing")
fails partway through with:

  beam/dist.c:501:1: internal compiler error: in dfs_enumerate_from, at cfganal.c:1207
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.

This looks like GCC bugs 48000 and 48060, though I'm not sure if they
apply to 4.5.2 or only to 4.6:


I worked around it by using gcc 4.4 instead.


More information about the erlang-bugs mailing list