Stream: wamr

Topic: integer too large error


view this post on Zulip Scott Waye (May 04 2023 at 13:05):

Hi, First time with wamr, built no problems on windows, but when running I get this error

E:\tmp\consolelocal>E:\GitHub\wasm-micro-runtime\product-mini\platforms\windows\build\Release\iwasm obj\Debug\net8.0\wasi-wasm\native\console.wasm
WASM module load failed: integer too large

Not sure how wasm gets an integer that is too large?

view this post on Zulip Wenyong Huang (May 10 2023 at 00:49):

Hi, could you try building WAMR with cmake -DWAMR_BUILD_LIB_PTHREAD=1? Or check whether the wasm file compiled with threads or shared memory enabled? If yes, try disabling it.


Last updated: Dec 23 2024 at 12:05 UTC