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

Project doesn't build #1

Open
tbodt opened this issue Apr 20, 2020 · 2 comments
Open

Project doesn't build #1

tbodt opened this issue Apr 20, 2020 · 2 comments

Comments

@tbodt
Copy link

tbodt commented Apr 20, 2020

The provided build script first tries to apply a bunch of patches which have already been applied. I worked around that by deleting the patches from the repo.

After getting past that, the cmake step fails because it thinks it can't run compiled code because it's cross compiling. Interestingly, running it again succeeds.

After that, the build step where it invokes _freeze_importlib fails with an "IncorrectCallIndirectSignature" trap. It looks like there are a bunch of functions that are being called with more arguments than they're declared to take. The cause of this particular error is stdprinter_noop getting called with two arguments instead of one, but after fixing that there are more. Presumably the version uploaded to WAPM has patches applied to change the signatures on the functions, but I can't find the patches in this repo.

@cmrfrd
Copy link

cmrfrd commented Jul 8, 2020

I tried the same thing and couldn't build successfully.

@abbec
Copy link

abbec commented Dec 2, 2020

We are porting python to WASI ourselves and get a lot of these "IncorrectCallIndirectSignature" (which definitely seems legit). I am also wondering what has been done more than the code in this repo to get it to work?

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