I've tried to build images for Raspberry Pi (32 and 64 bit) and Beaglebone Black (same) and every time I end up with errors like this:

/tmp/cchjW2EZ.s:74: Error: selected processor does not support `dmb ish' in ARM mode
The unsupported instructions vary, but the error message is the same.

I cloned the ARM build scripts from the kali-arm repo at Gitlab according to the docs. I've tried to build these on Kali VMs under VirtualBox and also on native installs on a Raspberry Pi 4. Both hosts yield the same errors.

Am I missing something? Is there a different package I need to install, or a configuration I need to change on an existing one?