Source: openmm
Version: 8.6.1+dfsg-2
Severity: normal
Tags: ftbfs
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: armhf

armhf builds fail with: error: inlining failed in call to 'always_inline' … 
target specific option mismatch

The compile command (line 4864) contains -D__ARM64__=1 and no -mfpu=neon. The 
configure-time default is hard-float armhf, which does not enable NEON.

-D__ARM64__=1 comes from the top-level CMakeLists.txt:
add_definitions(-D__ARM64__=1)   # "OpenMM only supports 64-bit ARM"

Because __ARM64__ is force-defined, vecmath.cpp takes its NEON path. The Debian 
SIMDe.patch was intended to keep 32-bit ARM off that path — it tightened the 
guard from #if defined(__ARM__) || defined(__ARM64__) to
#if defined(__ARM64__) so armhf would use SIMDe instead of real NEON — but that 
guard is defeated by the unconditional -D__ARM64__=1, which evaluates true on 
armhf anyway.

Reply via email to