Skip to content

Conversation

@UncleGrumpy
Copy link
Collaborator

Use AtomVM library source files to build base plt so dialyzer does not complain about finding multiple (jit) modules with the same name when using beam files.

Use AtomVM library source files to build base plt so dialyzer does not complain about finding
multiple (jit) modules with the same name when using beam files.

Signed-off-by: Winford <winford@object.stream>
@UncleGrumpy UncleGrumpy requested a review from pguyot December 17, 2025 04:42
@pguyot
Copy link
Collaborator

pguyot commented Dec 17, 2025

I'm not sure what this PR fixes exactly. I had some issues with dialyzer, la machine and recent atomvm builds because jit_precompile relies on OTP modules that are not available in atomvmlib, but it's not using this provider. Could you describe the problem you are adressing?

@UncleGrumpy
Copy link
Collaborator Author

UncleGrumpy commented Dec 17, 2025

If precompiled binary beam files are installed (as sub directories within the library folders) in the AtomVM installation directory, these can be picked up when building the base plot file. This causes dialyzer to fail, because several (emulator + 1 for each architecture) of each module are found. I would post an example of the error, but I am currently experiencing a power outage and only have access to my phone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants