Hi Mark,
I think you are correct. The processor values for the ARM family do not look sufficient to distinguish between 32-bit and 64-bit. It looks like the values now need to account for be vs le AND 32-bit vs 64-bit. The real question is how does Java running on these platforms report the value of the Java property "os.arch"? Does it accurately reflect the various combinations of possible ARM configurations?
My guess is that we need to at least add 64-bit values for both ARM_le and ARM_be. But do we assume the "simple" values of ARM_le and ARM_be are 32-bit, or do these values now need to be deprecated like the original ARM value was? But if the Java implementations available for such environments does not distinguish the different combinations of ARM then I am not sure what values we should recommend here. I also do not have the available hardware to try this out myself.
Tom
----- Original message -----
From: Mark Raynsford via osgi-dev <osgi-dev@mail.osgi.org>
Sent by: osgi-dev-boun...@mail.osgi.org
To: osgi-dev@mail.osgi.org
Cc:
Subject: [EXTERNAL] [osgi-dev] Correct processor types for ARM?
Date: Mon, Apr 13, 2020 9:03 AM
Hello!
Each time there's an LWJGL3 release, I repackage the modules as OSGi
bundles:
https://github.com/LWJGL/lwjgl3
https://github.com/LWJGL/lwjgl3-osgi
The recent 3.2.3 release added support for ARM on Linux. Specifically,
the release notes say:
Linux: Added support for ARM builds.
32-bit: ARMv7/armhf architecture. Maven classifier: linux-arm32
64-bit: ARMv8/AArch64 architecture. Maven classifier: linux-arm64
What are the correct definitions to use for Bundle-NativeCode
declarations? I don't have any ARM hardware, so I won't know if I've
gotten the declarations wrong until someone tries and fails to resolve
bundles on that hardware...
The OSGi specifications seem to only mention ARM_le and ARM_be, which
seems insufficient.
--
Mark Raynsford | https://www.io7m.com
attfg9n0.dat
Type: application/pgp-signature
Name: attfg9n0.dat_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev
attsdwgd.dat
Description: Binary data
_______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev