Re: [osgi-dev] Correct processor types for ARM?

2020-04-13 Thread Tim Verbelen via osgi-dev
Hi Chris, Mark The beauty of the requirement-capability system is that you can easily define these requirements and capabilities yourself, in addition to the Bundle-NativeCode header (which is translated to a requirement anyway). Also, the full list of arch strings can be found at

Re: [osgi-dev] Correct processor types for ARM?

2020-04-13 Thread Chris Gray via osgi-dev
Hi Peter, I would argue that it is "os.arch" which is a bit of a mess, because it attempts to represent too much in a single name. Compare this with the set of "triples" here : http://llvm.org/doxygen/classllvm_1_1Triple.html I would argue that these definitions would be a more useful way to

Re: [osgi-dev] Correct processor types for ARM?

2020-04-13 Thread Chris Gray via osgi-dev
Hi Peter, I would argue that it is "os.arch" which is a bit of a mess, because it attempts to represent too much in a single name. Compare this with the set of "triples" here : http://llvm.org/doxygen/classllvm_1_1Triple.html I would argue that these definitions would be a more useful way to

Re: [osgi-dev] Correct processor types for ARM?

2020-04-13 Thread Peter Kriens via osgi-dev
That is my experience on the ARM processor, there are so many variations, 32/64, le/be, floating point/no floating point, etc. that it is a bit of a mess. In general, on ARM I see people define the properties themselves to whatever the VM they use reports. Kind regards, Peter Kriens

Re: [osgi-dev] Correct processor types for ARM?

2020-04-13 Thread Markus Rathgeb via osgi-dev
This has been already done by someone here: https://stackoverflow.com/a/57893125 It seems os.arch is not really "stable" at all: https://bugs.openjdk.java.net/browse/JDK-8167584 ___ OSGi Developer Mail List osgi-dev@mail.osgi.org

Re: [osgi-dev] Correct processor types for ARM?

2020-04-13 Thread Markus Rathgeb via osgi-dev
IIRC a RPi3B can run an 32 and 64 bit Linux system. I can try to run some tests, but I assume we need a "specification" instead of just sume examples. ___ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev

Re: [osgi-dev] Correct processor types for ARM?

2020-04-13 Thread Thomas Watson via osgi-dev
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

[osgi-dev] Correct processor types for ARM?

2020-04-13 Thread Mark Raynsford via osgi-dev
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.