Hi Dmitry,
On Fri, Feb 21, 2020 at 07:02:54PM +0300, Dmitry Baryshkov wrote:
The asm for arm certainly needed adjustment to work on armeb. See https://lists.lysator.liu.se/pipermail/nettle-bugs/2018/007280.html.
What is the target hardware for armeb?
I am *using* it on Cubieboard 2's which are armv7. I don't think there's eveer been an actual hardware support statement.
I have tried building Nettle for armv5teb (thinking about NSLU2) and got failures because of `rev` instruction usage (present only on ARMv6/v7).
Huh, right. Most of the revs are in the v6 and neon subdirectories which should be fine because they are only activated for v6+. So we'd need to eliminate the revs in arm/memxor.asm and arm/memxor3.asm to support armv5teb.
Andrew, if you are testing it with qemu, there well might be emulation deficiencies.
I could dust off the old binfmt_misc setup for armv6veb and give that a whirl if it's of any help. I'm quite certain I initially worked around the asm problems on armeb by disabling asm when cross- and binfmt_misc-qemu-natively-compiling the userland for my Cubies. So I have likely never run the asm under qemu-user nor qemu-system.