Closed mipac closed 7 months ago
Hi, Could you provide exact cpu or SoC name? It looks like lack of some IEEE 754 features. Standards support varies from one system to another.
Hi, It's a Jetson Xavier how can I show you this kind of properties? is there a command or a file ?
Hi,
Could you confirm if the issue still persist with the latest clang and KFR?
Command for printing cpu info:
cat /proc/cpuinfo
@dancazarin I can confirm the issue with clang 10 concerning unittests. Build and executing the unittests on amd64 (host PC) works both, in Release and Debug. Cross-compilation for aarch64 works for Release and Debug. But the unittests fail in Debug, see attached file. test-output.txt
I tested clang-11 and clang-12 for cross-compilation and then the unittests will be executed with success for Debug also. Maybe you should bump the minimum clang version to eleven due to this issue.
Zync Ultrascale+, 64 bit, 4 × ARM A53)
cat /proc/cpuinfo
processor : 0
BogoMIPS : 200.00
Features : fp asimd aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 1
BogoMIPS : 200.00
Features : fp asimd aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 2
BogoMIPS : 200.00
Features : fp asimd aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 3
BogoMIPS : 200.00
Features : fp asimd aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
Thank you for reporting this. The Clang bug has been added to KNOWNBUGS.md in just released KFR 5.2.0. Maybe it also makes sense to prevent KFR from building on ARM devices with explicit check if Clang 10 (or lower) is used. This will be implemented in the next release.
KFR 6 has changed the minimum requirements to Clang 11+ and does not suffer from this clang bug.
with clang 10, build is ok, but the tests fail the log is following
lscpu :
log all_tests: