Skip to content

Makefile: use an explicit path for extraction/extraction.v - #591

Open
JasonGross wants to merge 1 commit into
AbsInt:masterfrom
JasonGross:fix-extraction-loadpath
Open

Makefile: use an explicit path for extraction/extraction.v#591
JasonGross wants to merge 1 commit into
AbsInt:masterfrom
JasonGross:fix-extraction-loadpath

Conversation

@JasonGross

Copy link
Copy Markdown
Contributor

make extraction passes extraction/extraction.v to -load-vernac-source. That path is implicit, so Rocq resolves it against the load path instead of treating it as a filename, and any installed package with an extraction subdirectory shadows CompCert's own file. CertiCoq installs user-contrib/CertiRocq/extraction/extraction.v, so when it is present the build fails with Cannot find a physical path bound to logical path Glue.glue. Prefixing ./ makes the path explicit.

An implicit relative path passed to -load-vernac-source is looked up in
the load path, so an installed package with an "extraction" subdirectory
shadows CompCert's own extraction.v.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L9BGQT7XUuubV6C619DW4b
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