New CPU & OS Platform System Properties (original) (raw)
Andrew Haley aph at redhat.com
Wed Jan 9 05:40:18 PST 2013
- Previous message: New CPU & OS Platform System Properties
- Next message: New CPU & OS Platform System Properties
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 01/09/2013 01:17 PM, Florian Weimer wrote:
On 01/08/2013 09:29 PM, Bob Vandette wrote:
Embedded processors support a variety of CPU configurations that are not all binary compatible. If a developer needs to provide native binaries for one or more of these configurations, they need a way of querying the platform constraints in order to load the appropriate JNI shared library. I wonder if it might be better to shift the burden of selecting a working DSO to ld.so: try to dlopen() several DSOs, until you find one that works. This would need a precise ABI specification at the ELF level, and ld.so would have to reject loading ABI-incompatible DSOs.
Yes, but we're already into the problem of ARM having insufficient flags in the DSO to identify compatibility. It's being fixed now, I believe, but there are a lot of systems out there.
Andrew.
- Previous message: New CPU & OS Platform System Properties
- Next message: New CPU & OS Platform System Properties
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]