Web lists-archives.com

Re: [Multiarch] armhf on arm64 is not working




Hi,

I was not aware of this optional 32 bit compatibility. That kinda sucks.
Actually, I'm already using qemu with cowbuilder (I mean, a lot) but my biggest problem is not the slowness but the broken thread implementation. It's nearly impossible to get something built with Java without any crash. That's the reason why I took this dedicated arm box online. Anyway, I'll just resign and see if they have different offer with different processor.
If you have any hint about online cheap arm server, let me know...

Thanks a lot for the debugging session, I was really running out of ideas.

Regards, Adam.

On 08/29/2017 04:58 PM, Christian Seiler wrote:
Hi,

32bit ARM compatibility is optional according to the specification,
and if your CPU doesn't support it, you won't be able to natively
run armhf executables. This is in contrast to x86, where all[*]
64bit x86 CPUs also support running old 32bit programs.

From what I've read it appears to be that the vast majority of chips
currently sold do have 32bit ARM compatibility - except for one, the
Cavium Thunder X. And if you look at your /proc/cpuinfo output:

Am 2017-08-29 08:49, schrieb Adam Cecile:
CPU implementer    : 0x43
CPU architecture: 8
CPU variant    : 0x1
CPU part    : 0x0a1
CPU revision    : 1

Well, yeah, that's the one.

See also:
https://askubuntu.com/questions/928249/how-to-run-armhf-executables-on-an-arm64-system

So it appears you're out of luck on your hardware: your CPU
simply doesn't support running armhf executables. You could run them
emulated in qemu-user-static, but that's probably not what you want,
because that's going to be _really_ slow.

Regards,
Christian

[*] There were very, very few exceptions, and nothing marketed as a
    general purpose CPU.