Skip to content

error when comiler JIT feature target on Android #3258

Open
@andge

Description

@andge

Thanks for filing a bug or defect report! Please fill out the TODOs below.

Subject of the issue

i want to compiler iwasm for android . when i use the default setting , i can get iwasm.so successfully . but when i use the command like so

./build_llvm.sh
cmake .. -DWAMR_BUILD_TARGET=AARCH64 -DANDROID_ABI=arm64-v8a 
make 

then , i get errors like these

build/lib/libLLVMCore.a(Module.cpp.o) is incompatible with aarch64linux

Test case

Your environment

  • Host OS
    Linux mi-OptiPlex-7080 6.5.0-26-generic Fix minor compile warning #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 12 10:22:43 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
  • WAMR version, platform, cpu architecture, running mode, etc.
    i use the newest git repo

Steps to reproduce

Tell us how to reproduce this bug or defect.

Expected behavior

Tell us what should happen

Actual behavior

can produce right so file

Extra Info

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions