You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It will fail on some systems during high load because -s init stop goes before -eval so environment variable won't be set properly. You should either move -s init stop to last argument of erl invocation or use halt() inside eval. Compare these commands:
At this moment there are lines like this in Makefile template:
ERTS_INCLUDE_DIR ?= $(shell erl -noshell -s init stop -eval "io:format(\"~ts/erts-~ts/include/\", [code:root_dir(), erlang:system_info(version)]).")
It will fail on some systems during high load because
-s init stop
goes before-eval
so environment variable won't be set properly. You should either move-s init stop
to last argument of erl invocation or usehalt()
inside eval. Compare these commands:First one stops in a second and second one runs 5+ seconds as intended.
The text was updated successfully, but these errors were encountered: