[erlang-bugs] make docs fails in git master

Tuncer Ayaz <>
Tue Oct 2 17:35:25 CEST 2012


On Tue, Oct 2, 2012 at 5:14 PM,  <> wrote:
> OK,
>
> Also I've checked, the new erlang is in the PATH when running the,
> regardless of what you set before running make. So that's not the
> problem.
>
> I cannot in anyway reproduce this. So a few questions...
> What platform do you have?
> Can you run the command manually (emd2exml)?
> Is escript working for other scripts?
> Is the git directory clean?
> What are your configure parameters?

It works if I override the escript's emu_args:

https://github.com/erlang/otp/blob/1a4e8f6e5c/make/emd2exml.in#L3
%%! -smp disable

$ ERL_FLAGS="-smp enable" make docs

HiPE is enabled automatically and "-smp disable" has - as far back as
I can remember - always provoked the following warning in the code
loader for each module loaded:
=INFO REPORT==== 2-Oct-2012::17:24:03 ===
<HiPE (v 3.9.2)> Warning: not loading native code for module sets: it
was compiled for an incompatible runtime system; please regenerate
native code for this runtime system

Thoughts?

I'll do a rebuild to verify this is not caused by --enable-native-libs
as I'm not sure that flag wasn't enabled in this build tree.


More information about the erlang-bugs mailing list