[guardian-dev] IOCipher 64-bit support

Hans-Christoph Steiner hans at guardianproject.info
Thu Jul 4 15:35:17 EDT 2019


So here are the first 64-bit builds, totally untested.  I'd appreciate
some testing:
https://gitlab.com/eighthave/iocipher/-/jobs/245769076

You can download the binaries by clicking the "Download" button in the
upper right on each job.  I'm going to start testing now, so there will
be more updates there.

.hc

zoki:
> Hi!
> 
> Anything new on 64-bit version?
> 
> On Wed, Jun 19, 2019 at 12:21 PM zoki <zoran.smilevski at gmail.com> wrote:
> 
>> Great!
>>
>> NDK is r19.
>>
>> Have splitted Application32 and Application64 like in android sqlcipher.
>> And one small change:
>> APP_PROJECT_PATH := $(shell pwd)
>> APP_BUILD_SCRIPT := $(APP_PROJECT_PATH)/jni/Android.mk
>> APP_ABI := armeabi-v7a x86
>> APP_PLATFORM := android-21
>> APP_STL := c++_static
>> APP_CFLAGS := -D_FILE_OFFSET_BITS=32
>>
>> APP_PROJECT_PATH := $(shell pwd)
>> APP_BUILD_SCRIPT := $(APP_PROJECT_PATH)/jni/Android.mk
>> APP_ABI := x86_64 arm64-v8a
>> APP_PLATFORM := android-21
>> APP_STL := c++_static
>> APP_CFLAGS := -D_FILE_OFFSET_BITS=64
>>
>> Did also change in JNIHelp.cpp from int -> intptr_t (now it's only a
>> warning)
>> char* ret = (char*) strerror_r(errnum, buf, buflen);
>> if (((intptr_t)ret) == 0) {
>> // POSIX strerror_r, success
>> return buf;
>> } else if (((intptr_t)ret) == -1) {
>>
>> But can't get past #include <string> in readlink.
>>
>> Zorans-iMac-2:IOCipher zoki$ $ANDROID_NDK_HOME/ndk-build
>>
>> Android NDK: Found platform level in ./project.properties. Setting
>> APP_PLATFORM to android-21.
>>
>> [arm64-v8a] Compile++      : iocipher <= JniConstants.cpp
>>
>> [arm64-v8a] Compile++      : iocipher <= JNI_OnLoad.cpp
>>
>> [arm64-v8a] Compile++      : iocipher <= JNIHelp.cpp
>>
>> jni/JNIHelp.cpp:268:17: warning: cast to 'char *' from smaller integer
>> type 'int' [-Wint-to-pointer-cast]
>>
>>     char* ret = (char*) strerror_r(errnum, buf, buflen);
>>
>>                 ^
>>
>> 1 warning generated.
>>
>> [arm64-v8a] Compile++      : iocipher <= readlink.cpp
>>
>> In file included from jni/readlink.cpp:18:
>>
>> jni/readlink.h:17:10: fatal error: 'string' file not found
>>
>> #include <string>
>>
>>          ^~~~~~~~
>>
>> 1 error generated.
>>
>> make: *** [obj/local/arm64-v8a/objs/iocipher/readlink.o] Error 1
>>
>> Zorans-iMac-2:IOCipher zoki$
>>
>> On Wed, Jun 19, 2019 at 12:03 PM Hans-Christoph Steiner <
>> hans at guardianproject.info> wrote:
>>
>>>
>>> How about posting about your build issue, and we can get started on the
>>> process now :)
>>>
>>> .hc
>>>
>>> zoki:
>>>> That would be great, thanks. Trying to build it now, but have some
>>> problems
>>>> :/
>>>>
>>>> On Wed, Jun 19, 2019 at 11:36 AM Hans-Christoph Steiner <
>>>> hans at guardianproject.info> wrote:
>>>>
>>>>>
>>>>> Yes, we'll get that going hopefully this month.
>>>>>
>>>>> .hc
>>>>>
>>>>> zoki:
>>>>>> Hello!
>>>>>>
>>>>>> Is there any plan to release 64-bit version which will be required
>>> after
>>>>>> 1.8.2019?
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>>>>>> To unsubscribe, email:  guardian-dev-unsubscribe at lists.mayfirst.org
>>>>>>
>>>>>
>>>>> --
>>>>> PGP fingerprint: EE66 20C7 136B 0D2C 456C  0A4D E9E2 8DEA 00AA 5556
>>>>> https://pgp.mit.edu/pks/lookup?op=vindex&search=0xE9E28DEA00AA5556
>>>>> _______________________________________________
>>>>> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>>>>> To unsubscribe, email:  guardian-dev-unsubscribe at lists.mayfirst.org
>>>>>
>>>>
>>>
>>> --
>>> PGP fingerprint: EE66 20C7 136B 0D2C 456C  0A4D E9E2 8DEA 00AA 5556
>>> https://pgp.mit.edu/pks/lookup?op=vindex&search=0xE9E28DEA00AA5556
>>>
>>
> 

-- 
PGP fingerprint: EE66 20C7 136B 0D2C 456C  0A4D E9E2 8DEA 00AA 5556
https://pgp.mit.edu/pks/lookup?op=vindex&search=0xE9E28DEA00AA5556

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mayfirst.org/pipermail/guardian-dev/attachments/20190704/87490557/attachment.sig>


More information about the guardian-dev mailing list