Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Add multilib clang / llvm Debian packages to enable cross compilation for 32-bit from 64-bit #39137

Open Quuxplusone opened 5 years ago

Quuxplusone commented 5 years ago
Bugzilla Link PR40165
Status NEW
Importance P enhancement
Reported by Shmerl (shtetldik@gmail.com)
Reported on 2018-12-26 21:12:11 -0800
Last modified on 2019-01-14 04:51:25 -0800
Version unspecified
Hardware PC Linux
CC llvm-bugs@lists.llvm.org, sylvestre@debian.org
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also

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?

Quuxplusone commented 5 years ago

Is it something for this bug tracker, or rather belongs in the Debian one?

Quuxplusone commented 5 years ago

Yeah, should be on the debian side

Quuxplusone commented 5 years ago

I wish I could but I didn't find the str yet :/