Jeffrey Walton noloader@gmail.com writes:
It would be nice if cpu feature detection for fat builds made it into the next release. It is easier than arm64, and it is needed to avoid crashes at runtime.
Can you be more specific on what the problem is? I'm aware of only one problem, and that's fat-arm.c relying on /proc/cpuinfo. Switching to using getauxval has been suggested. Blockers as I recall:
(i) it wasn't clear how to use getauxval to figure out if we're running on armv6 or older, and
(ii) it wasn't clear what's the right way to do it on android.
So this could surely be improved, but I'm not aware of any easy fix.
Regards, /Niels