kernel-image-rpi-un необходимо, как и другие пакеты репозитория, собирать с дефолтным gcc для репозитория, а не gcc10.
Наверное, переход на gcc10 был сделан для Baikal-M * Tue Jun 28 2022 Alexey Sheplyakov <asheplyakov@altlinux.org> 1:5.18.7-alt1 ... - Build with GCC 10 to avoid spurious build failures
kernel-image-rpi-un-1:6.12.86-alt1 -> sisyphus: Mon May 11 2026 Dmitry Terekhin <jqt4@altlinux> 1:6.12.86-alt1 - Updated to 6.12.86 - https://github.com/raspberrypi/linux.git rpi-6.12.y commit 725b41be77c69541becda6f1f86b5fc5c0b9104e - Baikal-M support http://git.altlinux.org/people/kernelbot/packages/kernel-image.git - Use the default gcc version (Closes: 59040)