Opened 5 years ago

Closed 13 months ago

#1840 closed enhancement (fixed)

[arm64] Jbigi

Reported by: zzz Owned by:
Priority: minor Milestone: 0.9.48
Component: api/crypto Version: 0.9.26
Keywords: arm64 jbigi Cc: str4d
Parent Tickets: Sensitive: no

Subtickets

Change History (9)

comment:1 Changed 5 years ago by zzz

Cc: str4d added
Milestone: undecidedeventually
Status: newopen

The RPi3 is ARMv8 but it runs 32-bit Raspbian. There is no 64-bit Raspbian yet. Maybe we could cross-compile to 64 bit on it but there's no way to test it. Another possibility: https://www.96boards.org/

Android on the other hand we could and should do now.

comment:2 Changed 5 years ago by jogger

As requested: I compiled successfully on stock Odroid C2 with unmodified Armbian Jessie. I2p 0.9.28, GMP 6.1.2. ElGamal? decrypt is around 69 ms.

However the website docs are outdated, as build.sh automatically downloads GMP source.

There is a bug in download_gmp.sh line 4, should read:
export GMP_VER=6.1.2
export GMP_TARVER=${GMP_VER}

comment:3 Changed 5 years ago by zzz

Milestone: eventually0.9.32

If you're talking about the 'a', that wasn't a bug, there was a 6.0.0a release, see https://gmplib.org/download/gmp/ . In any case, updated to 6.1.2 and removed the 'a' in 7d2f18d277a34eb2772fa9380449c7fdb4dcafcf to be 0.9.28-4.

Thanks for the report that it works for you.

comment:4 Changed 3 years ago by backup

Keywords: arm64 jbigi added
Summary: ARM64 Jbigi[arm64] Jbigi

Raspberry Pi 3 gets increasing support from 64bit distros, Raspbian, archarm64 …
So it would be great if someone could compile the jbigi.

Thanks
backup

comment:5 Changed 3 years ago by zzz

agreed… if arm64 raspbian is now supported on the rpi 3, please provide pointers

comment:6 Changed 3 years ago by zzz

see also #2308

comment:7 Changed 3 years ago by zzz

see also #1999

comment:8 Changed 3 years ago by slumlord

I have built jbigi & the Tanuki Wrapper on an RPi3 running FreeBSD 12. I can provide builds for any 64-bit Linux distribution if you share the ISO/IMG file for the OS on which these should be built.

comment:9 Changed 13 months ago by zzz

Milestone: 0.9.320.9.48
Resolution: fixed
Sensitive: unset
Status: openclosed

We have reports that armv7 binary is loading and working on RPi 3 and 4 when running 32-bit OS.
Android 64 bit was added mid-2019.
Built, tested, and checked in armv8 linux binary built on RPi 4 running with 64-bit Ubuntu in 2af63d8f9f146f85dd2fe9c24f676ce3a94f31f6 to be 0.9.47-8. Should work on RPi 3 also, untested.

Note: See TracTickets for help on using tickets.