[erlang-bugs] Parallel make (-j) fails in R11B-4

Tim Bates <>
Sat Apr 14 14:47:15 CEST 2007

Using the -j (jobs) option for GNU make on an Athlon64 X2 (dual-core) machine
causes the compilation of open-source Erlang R11B-4 to fail. On one occasion I
saw an error message from ld about being unable to find -lethread, but usually
there is no error message from ld and Make just exits with Error 2.

I assume this is some sort of error in the Makefile that causes a race
condition, making it start linking the object before all the dependencies are
completely built. The workaround is to not use -j option, (it builds fine
without it), but then the build is much slower as it only uses one core.


Tim Bates

More information about the erlang-bugs mailing list