🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.ports.arm
Article #41

Bug#1155534: openmm: FTBFS on armhf

#41
From: Bastian Germann
Date: Fri, 27 Nov 2026 09:20
17 lines
2915 bytes
Source: openmm
Version: 8.6.1+dfsg-2
Severity: normal
Tags: ftbfs
X-Debbugs-Cc: debian-arm@lists.debian.org
User: debian-arm@lists.debian.org
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.
Technical Details
Message-ID: <O40hz-erfP-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Bastian Germann <bage@debian.org>
Newsgroups: linux.debian.bugs.dist,linux.debian.ports.arm
Subject: Bug#1155534: openmm: FTBFS on armhf
Date: Fri, 27 Nov 2026 10:20:01 +0100
Message-ID: <O40hz-erfP-3@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Nov 27 09:17:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Bastian Germann <bage@debian.org>, 1155534@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-arm@lists.debian.org, debichem-devel@lists.alioth.debian.org
X-Debian-Pr-Message: report 1155534
X-Debian-Pr-Package: src:openmm
X-Debian-Pr-Keywords: ftbfs
X-Debian-Pr-Source: openmm
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-User: bage
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005358
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 17
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 27 Nov 2026 10:15:52 +0100
X-Original-Message-ID: <179577095231.52226.4213024364288364068.reportbug@duagon-BXN3S64.localdomain>