We don’t have any packages supporting cross compilation. [1]
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:
https://lists.debian.org/debian-mentors/2019/11/msg00149.html
Got an answer here and it looks like there isn’t any solution without proverbially biting any bullet:
https://lists.debian.org/debian-mentors/2019/11/msg00156.html
This is currently breaking distro-morphing
/ Installation from Repository.
[1]
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.
- Which architectures are supported? · Issue #24 · vmonaco/kloak · GitHub
- arm support · Issue #25 · vmonaco/kloak · GitHub
Cross compiling hardened malloc to arm64 would be interesting / worth it but upstream already said it’s not possible: