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

WIP weird error when compiling executable #6633

Conversation

Alizter
Copy link
Collaborator

@Alizter Alizter commented Dec 4, 2022

I encountered a weird error during something I was working on. The problematic stanza is in doc/man/dune. Rudi said he would take a look at it.

File "doc/man/.man_rules.eobjs/build_info_data.ml-gen", line 1:
Error: Could not find the .cmi file for interface
       doc/man/.man_rules.eobjs/build_info_data.ml-gen.

Signed-off-by: Ali Caglayan <[email protected]>

<!-- ps-id: 367f270d-344f-482b-a6fa-44943619df81 -->
rgrinberg added a commit that referenced this pull request Dec 6, 2022
reproduce the issue in PR #6633

link time code generation doesn't use the correct compilation closure
for the build info module. It uses the compile closure but we should use
the link closure

Signed-off-by: Rudi Grinberg <[email protected]>

ps-id: 17ab080e-5060-4f3e-9f0c-20d74b58f6ce
rgrinberg added a commit that referenced this pull request Dec 6, 2022
reproduce the issue in PR #6633

link time code generation doesn't use the correct compilation closure
for the build info module. It uses the compile closure but we should use
the link closure

Signed-off-by: Rudi Grinberg <[email protected]>

ps-id: 17ab080e-5060-4f3e-9f0c-20d74b58f6ce
@Alizter Alizter closed this Dec 6, 2022
rgrinberg added a commit that referenced this pull request Dec 6, 2022
reproduce the issue in PR #6633

link time code generation doesn't use the correct compilation closure
for the build info module. It uses the compile closure but we should use
the link closure

Signed-off-by: Rudi Grinberg <[email protected]>

ps-id: 17ab080e-5060-4f3e-9f0c-20d74b58f6ce
rgrinberg added a commit that referenced this pull request Dec 6, 2022
reproduce the issue in PR #6633

link time code generation doesn't use the correct compilation closure
for the build info module. It uses the compile closure but we should use
the link closure

Signed-off-by: Rudi Grinberg <[email protected]>
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.

1 participant