Am 17.10.2013 13:21, schrieb Zhou Zhu:
On 10/17/2013 06:31 PM, Matthew Gretton-Dann wrote:
Hi,
On 16 October 2013 11:45, Zhou Zhu zzhu3@marvell.com wrote:
Hi, We are working on userspace aarch64 and aarch32 apps and we are trying to run 32/64 mode app simultaneously. Is there any multi-arch support for mixed rootfs (has linkers/libs of both arm and arm64)?
It is possible to run both AArch32 (arm) and AArch64 (arm64) applications under an arm64 kernel.
What is not possible is for an AArch32 user-space program to use an AArch64 user-space library (or any combination like this).
So if you want to run 32-bit user-space programs you need to have installed all the 32-bit user-space libraries as well.
Thanks,
Matt
So how does the libraries place in the rootfs? like lib/lib64 as in x86/x64? Is there any similar rule in arm/arm64 system (whatever openebedded/ubuntu/android/...) for that? Like multi arch spec in ubuntu?
This should be {,/usr}/lib/{arm-linux-gnueabihf,aarch64-linux-gnu} on Ubuntu.
Matthias