Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Linux armv7 32 bit and armv8 64 bit #657

Closed
mpe85 opened this issue Feb 13, 2019 · 24 comments
Closed

Support for Linux armv7 32 bit and armv8 64 bit #657

mpe85 opened this issue Feb 13, 2019 · 24 comments
Labels
enhancement New feature or request
Milestone

Comments

@mpe85
Copy link

mpe85 commented Feb 13, 2019

Are there any plans to support the Linux armv7 32 bit platform?
I would like to use ObjectBox in a plain Java application (not Android) running on that platform.

@greenrobot greenrobot added the enhancement New feature or request label Feb 14, 2019
@rootandy
Copy link

rootandy commented Mar 1, 2019

Would be nice to have such bindings, too, since it is the raspberry pi platform.
Please provide it soon.

@greenrobot
Copy link
Member

Curious: what Java do you use on which Pi? And is performance and memory consumption OK?

@rootandy
Copy link

rootandy commented Mar 4, 2019

Pi 3 B+ with Java 8 (openjdk) on raspbian. Yes everything is fine. But i would love to have objectbox!

@mpe85
Copy link
Author

mpe85 commented Mar 5, 2019

We use an ARM board that has a Freescale i.MX7 processor (Cortex-A7 dual core).
OpenJDK 11 is running on top of a custom linux built with buildroot.
So far it runs quite well on that platform.

@wangnanuestc
Copy link

It would be great if object box support arm linux 64(not android).

@wangnanuestc
Copy link

It would not take too much effort to release arm v8 edition for desktop app. So, why not ?

@wangnanuestc
Copy link

Could anyone respond, please

@greenrobot
Copy link
Member

It's something we're looking into. Having more people voting for this will influence our priorities.

@wangnanuestc
Copy link

It's something we're looking into. Having more people voting for this will influence our priorities.

Thanks for respond.

More words, I chose Object Box just because its supporting cross-platform features, as our project need a database running on windows, x86 Linux, arm Linux and Android. It works quite well, and we love it.
But with time goes on, we found that Object Box does not support arm Linux. I'm afraid that we have to use sqlite and write data storage module again, if Object Box does not support arm 64 Linux. So please~

@skobow
Copy link

skobow commented Apr 3, 2019

I would also love to see Object Box on arm Linux e.g. running it on a Raspi.

@greenrobot-team
Copy link
Member

Hey folks, do not forget to vote on the original comment. Otherwise it just appears 2 people want this (as of now)!

(We're aware that not just armv7 should be supported, but armv8 as well.)
-Uwe

@greenrobot-team
Copy link
Member

For completeness: there is a C API in beta if that is helpful to anyone.
https://github.com/objectbox/objectbox-c

-Uwe

@greenrobot
Copy link
Member

This release page contains a objectbox-linux-arm-2.4.0-SNAPSHOT.jar with a version built for ARMv7 (standard RPi setup). Could you check if that works for you and give some feedback?

@greenrobot-team
Copy link
Member

Side note: there is now a preview release of ObjectBox for Python with support for Linux ARMv6hf (e.g. Raspberry PI Zero) and Linux ARMv7hf (e.g. Raspberry PI 3).
https://github.com/objectbox/objectbox-python
-Uwe

@ibrahimtawbe
Copy link

This release page contains a objectbox-linux-arm-2.4.0-SNAPSHOT.jar with a version built for ARMv7 (standard RPi setup). Could you check if that works for you and give some feedback?

It worked for me on RaspberryPi 3 B+

@p-schneider
Copy link

This objectbox-linux-arm-2.4.0-SNAPSHOT.jar (->libobjectbox-jni-linux-x86.so) has been here for over a year now.
Is there a newer version of it availiable? (Or is it still "up to date"?)
Is it planned to be included in a future release? (V2.x.y / V3.x.y)

(And will there be a fix to the naming? A filename like …linux-armeabi-v7a.so instead of …linux-x86.so)

@greenrobot-team greenrobot-team changed the title Support for Linux armv7 32 bit Support for Linux armv7 32 bit and armv8 64 bit Sep 28, 2020
@greenrobot
Copy link
Member

For everyone interested in ARM support, please fill out this form. Then we'll reach out to you very soon... 😃

@greenrobot-team greenrobot-team added this to the 2.9.0 milestone Feb 16, 2021
@greenrobot-team
Copy link
Member

Support for Linux on ARMv7 and AArch64 (or ARM64) is available as of the just released 2.9.0:

To use, add implementation "io.objectbox:objectbox-linux-armv7:$objectboxVersion or implementation "io.objectbox:objectbox-linux-arm64:$objectboxVersion to your dependencies.

Otherwise the setup is identical with Java Desktop Apps.

@p-schneider
Copy link

p-schneider commented Feb 22, 2021

I see the 🆕 2️⃣9️⃣0️⃣ version was just released (after already being tagged for 6 days), but the artifacts for linux arm still seem to be missing. 🤷‍♂️
I would expect jcenter (https://jcenter.bintray.com/io/objectbox/) to list objectbox-linux-armv7❌ and objectbox-linux-arm64❌ but for linux there is only the normal x64 build✔.

@greenrobot-team thank you for all your work.❤️ I'm looking forward to testing/using it soon. After all the work you have put in it looks like now there ist just a small step left to do: ⬆️uploading those artifcats📦

@greenrobot
Copy link
Member

greenrobot commented Feb 22, 2021

@p-schneider Oopsie, we uploaded to bintray but forgot to link these with JCenter. I've just requested the link, let's see if JFrog works it out before shutting down bintray. ;-) Anyway, you should be able to directly access the bintray repo now:

repositories {
maven {
url "https://dl.bintray.com/objectbox/objectbox"
}
}

Update: now available via: https://jcenter.bintray.com/io/objectbox/

(And yes, we're also working on getting everything to Maven Central.)

@greenrobot
Copy link
Member

As this is available now, we'd love to hear from you on what you are working on. Please share what you are building here or privately via mail: contact [at] obj...box [dot] io

@densurfer
Copy link

densurfer commented Oct 25, 2022

@greenrobot, so linux arm 32 bit support will never be released? Because your database has very good performance, but our devices are linux arm 32 bit. They are not mobile devices but other hardware devices.

@greenrobot
Copy link
Member

As this is available now

@densurfer ArmV7 (32 bit) should be available. Is it not?

@densurfer
Copy link

densurfer commented Oct 25, 2022

@greenrobot, I tried it with the library io.objectbox:objectbox-linux-armv7 and I thaught this only supports the 64 bit. Because my system gives the following error.
This is the system: vendor=Azul Systems, Inc.,os=linux,os.arch=arm,model=32,linux=true,machine=armv7l
Caused by: java.lang.UnsatisfiedLinkError: /home/dbtest/libobjectbox-jni-linux-armv7.so: /lib/libc.so.6: version `GLIBC_2.28' not found (required by /home/dbtest/libobjectbox-jni-linux-armv7.so)

EDIT: My problem was not the 32 bit system, but the fact that we have a special custom linux distribution on our devices. In this operating system the GLIBC_2.28 lib is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

9 participants