[guardian-dev] Native binaries in Android L: PIE!

Hans-Christoph Steiner hans at guardianproject.info
Mon Oct 13 10:43:29 EDT 2014


The good news is that Chrome is also affected, so it looks like the
Chromium/Chrome developers are working on a strategy to handle supporting ICS
with PIE binaries:

https://code.google.com/p/chromium/issues/detail?id=373219

.hc

Hans-Christoph Steiner wrote:
> 
> Here's how to do this build for ffmpeg, this should be easy to incorporate
> into android-ffmpeg:
> http://vinsol.com/blog/2014/07/30/cross-compiling-ffmpeg-with-x264-for-android/
> 
> For storymaker, you might get away with raising your minimum target API to
> android-16, then you can ship only PIE binaries.
> 
> .hc
> 
> Josh Steiner wrote:
>> Ug, lots of rumors that L might be launching as early as this week.  -j
>>
>> On Sat, Oct 11, 2014 at 8:44 PM, Hans-Christoph Steiner
>> <hans at guardianproject.info> wrote:
>>>
>>> Yeah, I saw that in the NDK.  Its bad.  We'll have to ship two versions of all
>>> native binaries, since PIE support is pretty new in Android.
>>>
>>> .hc
>>>
>>> Nathan of Guardian wrote:
>>>> Seems like we need to review all our cross-compiling code...
>>>>
>>>> "While using native executables in our existing Android apps we observed
>>>> that those executables were no more working with Android L. We came to
>>>> know that Android has introduced one more security feature starting from
>>>> Android L i.e
>>>> Executable must be PIE (Position independent executable)."
>>>>
>>>> http://vinsol.com/blog/2014/08/19/compiling-native-libraries-for-android-l/
>>>>
>>>
>>> --
>>> PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B BE81
>>> _______________________________________________
>>> Guardian-dev mailing list
>>>
>>> Post: Guardian-dev at lists.mayfirst.org
>>> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>>>
>>> To Unsubscribe
>>>         Send email to:  Guardian-dev-unsubscribe at lists.mayfirst.org
>>>         Or visit: https://lists.mayfirst.org/mailman/options/guardian-dev/josh%40vitriolix.com
>>>
>>> You are subscribed as: josh at vitriolix.com
> 

-- 
PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B BE81


More information about the Guardian-dev mailing list