Pi v1 is ARMv6 and has a FPU and there are a LOT of themout there, but the performance difference between soft-floatARMv5 code and hard-float ARMv6 code is rather limitedoutside of a handful of rather narrow uses (Quake 3?).
The issue is not as much performance as it is compatibility. There are a couple of low-level packages that just don't support armv5, but do support v6. From the top of my head that would be at least valgrind, clang, llvm, rust. And those are needed to build others. I expect that firefox/thunderbird will work on v6 but not on v5 ...
Jacco
I am only aware that they need armv6. For instance:
https://intel.github.io/llvm-docs/clang/UsersManual.html#arm
On RSEL 7 firefox had indeed building issues with NEON. I
remember that we often got it to work after some tinkering. This
was until the whole build became dependent on clang. from there on
we were not able to build any more. the package is now no longer
in redsleeve.
I manged to bootstrap the armv6 build. At that time I choose 'armv6hl', which is "-march=armv6 -mfloat-abi=hard -mfpu=vfp", So this is hard float, but no NEON.
Jacco
--
You received this message because you are subscribed to the Google Groups "redsleeve-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redsleeve-use...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/redsleeve-users/CAMx4oe28eWKTt0YXN%2BD_3fu4wwjRY42E_e0uu%2BScnHy5CcwUug%40mail.gmail.com.
On 9/25/21 11:58, Gordan Bobic wrote:
On Sat, Sep 25, 2021 at 12:47 PM Jacco Ligthart <ja...@redsleeve.org> wrote:
Pi v1 is ARMv6 and has a FPU and there are a LOT of themout there, but the performance difference between soft-floatARMv5 code and hard-float ARMv6 code is rather limitedoutside of a handful of rather narrow uses (Quake 3?).
The issue is not as much performance as it is compatibility. There are a couple of low-level packages that just don't support armv5, but do support v6. From the top of my head that would be at least valgrind, clang, llvm, rust. And those are needed to build others. I expect that firefox/thunderbird will work on v6 but not on v5 ...
There are two questions arising from this:1) Do they require ARMv6 or ARMv6 hard-float?If they require hard-float, then that means we are effectively dropping all ARMv5 and possibly some ARMv6 devices (are there any ARMv6 devices in wide circulation other the Raspberry Pi v1?)
2) Do these packages require merely hard-float or do they require NEON?I vaguely recall (and this is from a while back, so forgive me if I am wrong) that last time I was trying to build Firefox for RS, it failed because it required NEON. This was a couple of years ago, so I don't know how accurate it still is.And if we are going to raise the bar to hard-float NEON, then we might as well not bother doing anything because that is the entry point for CentOS.
I am only aware that they need armv6. For instance:
https://intel.github.io/llvm-docs/clang/UsersManual.html#armOn RSEL 7 firefox had indeed building issues with NEON. I remember that we often got it to work after some tinkering. This was until the whole build became dependent on clang. from there on we were not able to build any more. the package is now no longer in redsleeve.
I manged to bootstrap the armv6 build. At that time I choose 'armv6hl', which is "-march=armv6 -mfloat-abi=hard -mfpu=vfp", So this is hard float, but no NEON.