Bug#834144: llvm-3.8-dev: please add symlink from ./build to ../share and ../lib etc

Ximin Luo infinity0 at debian.org
Fri Aug 12 13:38:10 UTC 2016


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.

X

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (300, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages llvm-3.8-dev depends on:
ii  libc6         2.23-4
ii  libffi-dev    3.2.1-4
ii  libgcc1       1:6.1.1-10
ii  libjsoncpp1   1.7.2-1
ii  libllvm3.8    1:3.8.1-8
ii  libstdc++6    6.1.1-10
ii  libtinfo-dev  6.0+20160625-1
ii  llvm-3.8      1:3.8.1-8

llvm-3.8-dev recommends no packages.

llvm-3.8-dev suggests no packages.

-- no debconf information



More information about the Pkg-llvm-team mailing list