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

Review of Existing Wasm Semantics #37

Closed
2 tasks done
traiansf opened this issue Dec 11, 2024 · 1 comment
Closed
2 tasks done

Review of Existing Wasm Semantics #37

traiansf opened this issue Dec 11, 2024 · 1 comment
Assignees

Comments

@traiansf
Copy link
Member

traiansf commented Dec 11, 2024

When reviewing the build infrastructure, please take a look at the Makefile. The build is currently not in master (it should be merged soon), but it will be available in the initial-ulm-hook-impl PR.

Action items:

@traiansf traiansf self-assigned this Dec 11, 2024
@traiansf
Copy link
Member Author

traiansf commented Dec 11, 2024

Requirements:

  • a new-enough version of K (I used latest, did break on an earlier version)
  • clang-16 (or 18).

After merging the change about not passing llvm-backend options to the haskell backend,

  • make succeeds without issues.
  • make ulm-wasm seems to additionally need CXX=clang++-16 (I tested and it seem to work well with CXX=clang++-18, too) in the environment (otherwise, on my machine, it gets some compilation error with the default CXX compiler).
    • make ulm-wasm reports a warning:
      warning: linking module flags 'Dwarf Version': IDs have conflicting values ('i32 5' from with 'i32 4' from )
  • make ulm-contract-compiler works
  • make test works well for running tests and for the first prove tests but breaks for the second
    doesn't expect a map (I assume these tests were written for the original wasm-semantics).

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