I was trying to cross compile 32-bit Mesa in 64-bit Debian testing some time ago, and while it used to work well in the past using i386 llvm and clang dependencies with gcc-multilib and related tools, at some point it stopped working because of packaging changes.
Namely, libclang-8-dev:i386 became non co-installable with gcc-multilib g++-multilib. It boils down to libc6-i386 conflicting with libc6-amd64:i386.
Debian developers said, they can't do anything about that change, and recommended for example splitting llvm/clang packages into regular and multilib variants.
I was trying to cross compile 32-bit Mesa in 64-bit Debian testing some time ago, and while it used to work well in the past using i386 llvm and clang dependencies with gcc-multilib and related tools, at some point it stopped working because of packaging changes.
Namely, libclang-8-dev:i386 became non co-installable with gcc-multilib g++-multilib. It boils down to libc6-i386 conflicting with libc6-amd64:i386.
Debian developers said, they can't do anything about that change, and recommended for example splitting llvm/clang packages into regular and multilib variants.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890801 for details.
Can you please make such kind of split for packages in apt.llvm.org to enable cross compilation?