Skip to content

Android now requires PIE executables #17437

Closed
@DanAlbert

Description

@DanAlbert

Android's linker no longer supports non-PIE executables: https://android-review.googlesource.com/#/c/93842/

# Rust hello world on ToT AOSP:
$ adb shell /data/local/tmp/hello
error: only position independent executables (PIE) are supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binariesO-androidOperating system: Android

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions