Package: armnn
Version: 20.08
Severity: serious
Tags: upstream ftbfs
Justification: fails to build from source (but built successfully in the past)

armnn has built fine in the past but -10 and -7 both failed to build when the 
build machine was antheil.
Antheil is one of the Marvell armada 32-bit arm boxes.
It builds fine on APM and AMD seattle hardware (both arm64 hardware doing 
32-bit builds)

The build failure turns out to be in the tests, and testing on abel
(Marvell porterbox) determines the offending code to be in the UnitTests binary 
itself.

gdb ./build-area/UnitTests
...
Program received signal SIGILL, Illegal instruction.
__static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) 
at ./src/profiling/LabelsAndEventClasses.cpp:14
14      ProfilingGuidGenerator LabelsAndEventClasses::m_GuidGenerator;
So it's dying in the initialisation code
(gdb) disassemble
...
> 0xb6d9acf8 <+60>:    vmov.i32        d8, #0  ; 0x00000000

Which is neon code I believe and NEON is an optional extension that
shouldn't be used with checking it's present (Armada has MMX2, not
NEON).

So I think either this test binary sould be built without NEON or there should 
be a HWCAP check around such usage.

Reply via email to