Skip to content

[Bug]: Fix ABI mismatch between FMV and ifunc resolver #1909

@pirama-arumuga-nainar

Description

@pirama-arumuga-nainar

Description

Need to cherry-pick https://reviews.llvm.org/D155026

Snippet of the discussion:

Android iFunc resolver ABI FMV issue.
It takes (uint64_t hwcap, __ifunc_arg_t *arg), but FMV expects (uint64_t hwcap, uint64_t hwcap2) ifunc resolver call arg struct
Need to get init_cpu_features_resolver compiler-rt/lib/builtins/cpu_model.c fixed in NDK, patch for review https://reviews.llvm.org/D155026

Upstream bug

No response

Commit to cherry-pick

https://reviews.llvm.org/rG61962aa1eec922c7dddd36897bb29888b4c98174

Affected versions

r26

Canary version

No response

Host OS

Linux, Mac, Windows

Host OS version

All

Affected ABIs

arm64-v8a

Metadata

Metadata

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions