Skip to content

Fix/malgo noasm mipsle - #19

Open
Chris-Kleiner wants to merge 2 commits into
OpenMANET:24.10from
Chris-Kleiner:fix/malgo-noasm-mipsle
Open

Fix/malgo noasm mipsle#19
Chris-Kleiner wants to merge 2 commits into
OpenMANET:24.10from
Chris-Kleiner:fix/malgo-noasm-mipsle

Conversation

@Chris-Kleiner

Copy link
Copy Markdown
Contributor

No description provided.

coreywagehoft and others added 2 commits May 16, 2026 14:04
gen2brain/malgo's cgo directives unconditionally add -msse2 whenever
GOARCH is anything other than arm/arm64. On mipsle (ramips/mt7621 for
halowlink2, ramips/mt76x8 for ht-hd01-v2) gcc has no SSE, so the
openmanetd cross-compile fails with:

  mipsel-openwrt-linux-musl-gcc: error: unrecognized command-line option '-msse2'

This blocked both halowlink2 and Heltec ht-hd01-v2 firmware builds
entirely — no .ipk was produced, so no sysupgrade image could be
assembled.

miniaudio's scalar-C fallback is selected by the `noasm` Go build tag,
documented in openmanetd's own CLAUDE.md. Gate it on GO_ARCH=mipsle so
aarch64 (Pi3/Pi4/Venice) and amd64 dev builds keep their SIMD paths.
coreywagehoft added a commit that referenced this pull request Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants