Skip to content

Automatically select PIE when building for Android #4478

@alextercete

Description

@alextercete

Currently, I need to explicitly set linkmode to pie when building for Android, otherwise I get this error:

runtime.gcdata: missing Go type information for global symbol .dynsym: size 24

However, go build does that automatically when GOOS is android. It feels that rules_go should behave the same.

Related to #2371.

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