Le 12/08/2016 à 15:38, Ximin Luo a écrit : > Package: llvm-3.8-dev > Version: 1:3.8.1-8 > Severity: wishlist > > Dear Maintainer, > > Some software like compiler-rt expect --obj-root to contain the other > directories like lib/ and share/. Take for example > > https://github.com/llvm-mirror/compiler-rt/blob/release_39/CMakeLists.txt#L57 > > as well as an older version (currently in-use in rust-stable) > > https://github.com/rust-lang/compiler-rt/blob/rust-2016-04-04/CMakeLists.txt#L109 > > In both cases, LLVM_BINARY_DIR is actually --obj-root as can be seen from > earlier in the file. > > Since Debian puts --obj-root in build/, then for the above assumptions to work > build/ must contain symlinks to the other directories. It already contains > ../include > so the ones missing are ../lib and ../share. > > For now I will have to patch rustc in my local builds, but fixing this bug > would > make that unnecessary for the next release. This file: https://anonscm.debian.org/viewvc/pkg-llvm/llvm-toolchain/branches/3.8/debian/llvm-X.Y-dev.links.in?revision=1986&view=markup should probably be updated.
Don't hesitate to provide a patch if you want to see that soon! S