Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail to link on arm32 #79

Open
talex5 opened this issue Aug 28, 2021 · 0 comments
Open

Tests fail to link on arm32 #79

talex5 opened this issue Aug 28, 2021 · 0 comments

Comments

@talex5
Copy link
Collaborator

talex5 commented Aug 28, 2021

This seems to be an OCaml bug: ocaml/ocaml#10571

However, ocaml/ocaml#10571 (comment) mentions a possible work-around:

The main reason why the frame needs to be enormous seems to be the coercion between the inferred type for the MakeRPC functor's body and the declared type in test.mli: all modules and submodules are coerced at the same point, so every single value defined in any of these modules has to be kept alive until the end. If you have some way to patch your code generator, you might want to add explicit coercions on every submodule you define in the implementation; this should decrease significantly the number of values that need to stay alive until the end.

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

No branches or pull requests

1 participant