Skip to content

How to deal with "target address out of range." in AOT #4215

@AY268

Description

@AY268

I am trying to use WAMR on Android and built a large AOT file.

However, I'm encountering a problem with the error message: "AOT module load failed: target address out of range."

This issue occurs in the do_text_relocation function within the aot_loader.c file, at the code block:

if (!apply_relocation(
    module, aot_text, aot_text_size, relocation->relocation_offset,
    relocation->relocation_addend, relocation->relocation_type,
    symbol_addr, symbol_index, error_buf, error_buf_size))

The values for these parameters are as follows:
Image

I wonder how to deal with it.

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