Describe the bug
On a Raspberry Pi 5 (ARM64) running Debian 13 (Trixie) with the Raspberry Pi–provided kernel and firmware, the computer algebra system Maxima (Debian package version 5.47.0-7 arm64) fails immediately on startup.
The error shown is:
The assertion !madvise(m,p2,MADV_HUGEPAGE) on line 67 of o/msbrk.c in function msbrk failed: Invalid argument Abortado
This issue does not occur when running the same version of Maxima on Debian arm64 using the official Debian kernel, so the problem appears to be specific to the Raspberry Pi kernel, which may not support the madvise(..., MADV_HUGEPAGE) call used by ECL.
Steps to reproduce the behaviour
sudo apt install maxima
maxima --list
The assertion !madvise(m,p2,MADV_HUGEPAGE) ... Invalid argument Abortado
Device (s)
Raspberry Pi 5
System
$ cat /etc/rpi-issue
Raspberry Pi reference 2025-10-01
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen
$ vcgencmd version
2025/05/08 15:13:17
Version: 69471177 (release) (embedded)
$ uname -a
Linux pi5pixelito 6.12.47+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1 (2025-09-16) aarch64 GNU/Linux
maxima 5.47.0-7 arm64
Logs
maxima_strace.log
raspinfo.txt
Additional context
No response