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

mprotect test failed #75

Open
Yaxuan-w opened this issue Jan 5, 2025 · 2 comments
Open

mprotect test failed #75

Yaxuan-w opened this issue Jan 5, 2025 · 2 comments

Comments

@Yaxuan-w
Copy link
Member

Yaxuan-w commented Jan 5, 2025

When running our test suite, mprotect test case failed under main branch with error info:

Compiling test: mprotect in /home/lind-wasm/tests/unit-tests/memory_tests/deterministic
Compiling test: mprotect.c in /home/lind-wasm/tests/unit-tests/memory_tests/deterministic
/home/lind-wasm/clang+llvm-16.0.4-x86_64-linux-gnu-ubuntu-22.04/bin/clang -pthread --target=wasm32-unknown-wasi --sysroot /home/lind-wasm/src/glibc/sysroot -Wl,--import-memory,--export-memory,--max-memory=67108864,--export=__stack_pointer,--export=__stack_low /home/lind-wasm/tests/unit-tests/memory_tests/deterministic/mprotect.c -g -O0 -o /home/lind-wasm/tests/unit-tests/memory_tests/deterministic/.wasm && wasm-opt --asyncify --debuginfo /home/lind-wasm/tests/unit-tests/memory_tests/deterministic/.wasm -o /home/lind-wasm/tests/unit-tests/memory_tests/deterministic/.wasm && /home/lind-wasm/src/wasmtime/target/debug/wasmtime compile /home/lind-wasm/tests/unit-tests/memory_tests/deterministic/.wasm -o /home/lind-wasm/tests/unit-tests/memory_tests/deterministic/mprotect.cwasm
wasm-ld: error: /tmp/mprotect-548681.o: undefined symbol: mprotect
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
@rennergade
Copy link
Contributor

We havent merged anything memory related into main yet so I'm surprised even more than that isn't failing? Regardless the current memory PR doesnt include mprotect() which @ChinmayShringi is going to work on next: #60

@Yaxuan-w
Copy link
Member Author

Yaxuan-w commented Jan 5, 2025

We havent merged anything memory related into main yet so I'm surprised even more than that isn't failing? Regardless the current memory PR doesnt include mprotect() which @ChinmayShringi is going to work on next: #60

I was trying to run unit test suite script, and it stopped after encounter this error lol

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

2 participants