-
Notifications
You must be signed in to change notification settings - Fork 164
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
Error while running make ( Type error: type mismatch: application expression ) #313
Comments
Same problem here. Is any specific OAPM version required. OPAM 2.1.2 |
PR #315 fixes this problem. It has been approved and merged.
Bill Mc.
…On Tue, Oct 10, 2023 at 7:04 PM Kuoping Hsu ***@***.***> wrote:
Same problem here. Is any specific OAPM version required.
OPAM 2.1.2
OCAML 5.1.0
—
Reply to this email directly, view it on GitHub
<#313 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXROLOE3MOJ4GQGBU7KSQ3LX6XO7FAVCNFSM6AAAAAA5XIIAC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJWGQ4DIMJVGA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Bill McSpadden
Formal Verification Engineer
RISC-V International
mobile: 503-807-9309
|
I am facing the following error. Please help.
|
|
I did both
|
If you do Technically OCaml |
Sail version - Sail 0.16 (sail @ opam-v2.0.5) |
You might need to run |
I have hit
|
I think that means I've tried to set up my environment as close to yours as possible, and so far I can't reproduce the error. |
The error message suggests it has something to do with string append patterns, like in assembly clauses. As I think the |
OPAM version: 2.0.5 I am also facing a new error, after pulling the latest changes from repo..... Warning: Duplicate function type definition for spc_forwards
model/prelude.sail:303.4-16:
303 |val spc_forwards : unit -> string
| ^----------^
| This duplicate definition is being ignored!
Warning: Incomplete pattern match statement at model/riscv_types_kext.sail:240.2-7:
240 | match (x, table) {
| ^---^
|
The following expression is unmatched: (undefined, [||])
echo "declare {isabelle} rename field sync_exception_ext = sync_exception_ext_exception" >> generated_definitions/lem/RV64/riscv_types.lem
lem -isa -outdir generated_definitions/isabelle/RV64 -lib Sail=/home/merledu1/.opam/4.08.0/share/sail/src/lem_interp -lib Sail=/home/merledu1/.opam/4.08.0/share/sail/src/gen_lib \
handwritten_support/0.11/riscv_extras.lem handwritten_support/0.11/mem_metadata.lem handwritten_support/0.11/riscv_extras_fdext.lem \
generated_definitions/lem/RV64/riscv_types.lem \
generated_definitions/lem/RV64/riscv.lem
File "generated_definitions/lem/RV64/riscv.lem", line 6583, character 12 to line 6583, character 35
Type error: unbound variable: sys_enable_writable_fiom
make: *** [Makefile:318: generated_definitions/isabelle/RV64/Riscv.thy] Error 1
merledu1@merledu1:~/sail-riscv$ opam --version
2.0.5
merledu1@merledu1:~/sail-riscv$ ocaml --version
The OCaml toplevel, version 4.08.0 |
When I run make in repo top, it breaks after running for a while.
OPAM version: 2.0.5
OCAML version: 4.08.0
The text was updated successfully, but these errors were encountered: