On my system, the cross compiler 'gcc-14-aarch64-linux-gnu:arm64' is installed on Trixei using amd64. My guess is that the build configuration of the cross compiler uses the local assembler, instead of the aarch64 cross assembler. When using the cross compiler on arm64 architecture, everything seems to work. But once using the cross compiler on a different architecture, the error appears.
Erez