armhf conflicts with amd64
Anton
tomasiche at gmail.com
Mon Aug 16 11:06:38 BST 2021
Hello! I'm here with clang cross-compilation (x86_64 -> armhf) buster
issue. Problem starts from
https://github.com/conan-io/conan-center-index/issues/6777 but briefly I
can compile m4 natively with -compiler-rt but cannot cross compile
"/usr/bin/arm-linux-gnueabihf-ld: cannot find
/usr/lib/llvm-11/lib/clang/11.0.1/lib/linux/libclang_rt.builtins-armhf.a:
No such file or directory", looks like libclang-common-11-dev:armhf is
missing (especially |libclang_rt.builtins-armhf.a)| but it conflicts
with libclang-common-11-dev:amd64 so I have linkage error without armhf
lib or compile time error without amd64 lib. After all of that
clang-11:amd64 conflicts with clang-11:armhf. I can extract
libclang_rt.* from armhf pkg and copy it to
/usr/lib/llvm-11/lib/clang/11.0.1/lib/linux/, it works, I can compile m4
but it's not the best way. I tried to discuss this situation with
rengolin (irc #llvm), but he said packages should not conflict. What I
do wrong? Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20210816/61fedb8b/attachment.htm>
More information about the Pkg-llvm-team
mailing list