Skip to content

Doesn't build PIE version correctly? #1

@bigwave

Description

@bigwave

Hi,

First of all, a really useful docker container as all I needed was a PIE ssh client and I've never compiled NDK stuff before.

However the PIE output (at least for the ARM ssh client) wasn't actually a PIE executable.

It seemed that the final linking(?) command didn't have the PIE flags, so I brute forced a solution by adding -pie -fPIE to the end of the COMPILER=${TOOLCHAIN}/bin/arm-linux-androideabi-gcc line

Which worked, but I'm pretty sure this isn't the correct way to fix this.

Cheers,
Ian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions