Skip to content

failed to run aot file on mac #476

@JavanZhu

Description

@JavanZhu

Hi, I follow the tutorial build-wamrc-aot-compiler to build a wamrc, and compile the hello_world.wasm to hello_world.aot

 ./wamrc --target=x86_64 -o hello_world.aot hello_world.wasm

above command outputs:

Create AoT compiler with:
  target:        x86_64
  target cpu:    
  cpu features:  
  opt level:     3
  size level:    3
  output format: AoT file
Compile success, file hello_world.aot was generated.

Finally I am trying to execute aot file on iwasm, but got following error:

./iwasm ../../../../wamr-compiler/build/hello_world.aot 

ASSERTION FAILED: (uintptr_t)aot_text < INT32_MAX, at file wasm-micro-runtime/core/iwasm/aot/aot_loader.c, line 1896
[1]    92519 abort      ./iwasm ../../../../wamr-compiler/build/hello_world.aot

informations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions