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

Unable to build CIL due to unbound module Big_int #57

Open
charmoniumQ opened this issue Jul 29, 2024 · 3 comments
Open

Unable to build CIL due to unbound module Big_int #57

charmoniumQ opened this issue Jul 29, 2024 · 3 comments

Comments

@charmoniumQ
Copy link

git clone https://github.com/cil-project/cil
cd cil
./configure
make

results in

+ ocamlfind ocamlc -c -I src -I src/ocamlutil -I src/frontc -I src/ext -I src/ext/zrapp -I src/ext/simplify -I src/ext/simplemem -I src/ext/sfi -I src/ext/pta -I src/ext/partial -I src/ext/oneret -I src/ext/logwrites -I src/ext/logcalls -I src/ext/llvm -I src/ext/liveness -I src/ext/inliner -I src/ext/heapify -I src/ext/epicenter -I src/ext/dataslicing -I src/ext/cqualann -I src/ext/ccl -I src/ext/canonicalize -I src/ext/callgraph -I src/ext/blockinggraph -o src/cilint.cmi src/cilint.mli
File "src/cilint.mli", line 6, characters 36-51:
6 | type cilint = Small of int | Big of Big_int.big_int
                                        ^^^^^^^^^^^^^^^
Error: Unbound module Big_int
Command exited with code 2.
make[1]: *** [Makefile:103: ocamlbuild] Error 10
make[1]: Leaving directory '/home/sam/Downloads/test2/test/cil'
make: *** [Makefile:371: install-local] Error 2

See also jburnim/crest#20

@charmoniumQ
Copy link
Author

It seems that #41 fixes that, whenever that gets merged.

@michael-schwarz
Copy link

It seems that #41 fixes that, whenever that gets merged.

CIL is no longer being actively maintained (see e.g. the discussion in this PR: #42), so that PR likely won't be merged ever. There's several forks that see some active development --- these are your best bet if you run into further issues with the original CIL.

@pmetzger
Copy link
Collaborator

If someone wants to start maintaining this, I'm sure that could be arranged for.

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

3 participants