Andy, looking at what's available at that site, I don't see any binaries that are supported by Raspbian. The armv6 binaries use the soft float ABI (armel) which is incompatible with Raspbian. Even their armv7 binaries use the soft float ABI which I find a little curious, but there is probably a good reason for that from their perspective.acobley wrote:Any ideas ?
How do you determine if a binary has armv7 code lurking in it?plugwash wrote: That is because it came out contaminated with armv7 code and I didn't have the time/inclination to figure out why.
We have scripts that run 'readelf -A' on the resulting binaries from any build. This tool will indicate whether armv7 code is present in any of the code segments within the file. With Java things are a bit trickier in that the JIT generates executable code at runtime. Some JITs will dynamically detect the CPU environment and automatically adjust the instructions as needed to run on the CPU, but most will simply generate code for the CPU they were configured for. Finally, many JITs don't know how to generate armv6 instructions and will default to armv5 (a more popular platform) if they can't generate armv7 and thus loose the ability to use hard float instructions. Things are kind of a mess on ARM platforms because of so many different CPU variants with different capabilities.ksangeelee wrote:How do you determine if a binary has armv7 code lurking in it?
The issue not with the CPU, but with all code on the system expecting to call each other using the hard float ABI (application binary interface) as opposed to the soft float ABI. It's a matter of conventions that all the software on the system agrees to. The reason for the different ABI's is best explained in this Debian document:Augmental_UK wrote:As I don't fully understand the fine points of compilation for soft/hard FP, I have to ask: since the Debian release runs the OracleJRE flawlessly, isn't it possible to make Raspbian run it as well? Does the kernel boot the CPU into a fundamentally different mode that it cannot accept the soft FP instructions? What's stopping it from running where Debian armel had no issues?
Users browsing this forum: No registered users and 23 guests