We don’t have any packages supporting cross compilation.
 These “special” packages are
amd64 only (Intel and AMD) at the source code level. For example LKRG is linux, amd64 only. It’s non-trivial to port them to other architectures.
A guide on “how to cross compile” won’t cut it. A guide “how to cross compile” would work if these were simple packages similar to the hello package which does not have any architecture specific source code.
But this isn’t a compilation issue. This is only a packaging issue. The issue is described here:
Got an answer here and it looks like there isn’t any solution without proverbially biting any bullet:
 At least none where that’s worth it. For packages that support cross compilation, that is already supported. kloak can be cross compiled on
amd64 for “
i386” (more “
i686”). Not interesting/worth it though due to this. What would be interesting / worth it though would be to cross compile to
arm64 which however has issues which probably only upstream can solve.
Cross compiling hardened malloc to arm64 would be interesting / worth it but upstream already said it’s not possible: