position-independent executables
Hi. Im getting "error: Android 5.0 and later only support position-independent executables (-fPIE)" when trying to run any executable. -Android 10.0 -Kernel 4.14.187 -Jenkins build #7058
Can you try adding LDFLAGS += -fpie please?
How did you build it? This project should be built with Android NDK and the Android.bp should automatically handle those stuff.
Please see if this helps: https://gist.github.com/ppoffice/2706b5e4448e8a3638c974e64c88c2ad
I downloaded your build from jenkins. https://jenkins.linuxcontainers.org/job/lxc-build-android/lastSuccessfulBuild/artifact/lxc-android.tar.gz
@Gouster4 I need to clarify that this project is not associated with the official LXC project and that jenkins build is managed by the official LXC team, I believe.
https://jenkins.linuxcontainers.org/job/lxc-github-commit/2276/pollingLog/
Oh so... Now i understand... But maybe if you include that flag, theyr builds would work also on newer android versions.
Or they dont build it from your github source?