Bug#844093: clang-3.9: clang needs library LLVMgold.so from llvm-dev

Norbert Lange lange at chello.at
Sat Nov 12 11:48:47 UTC 2016

Package: clang-3.9
Version: 1:3.9-5
Severity: normal

Dear Maintainer,

Some options require the gold linker and its plugin interface,
this library is however residing in the llvm-dev package - which is not a dependency of clang

To reproduce, uninstall llvm-3.9-dev and run:
echo 'int main() {}' >test.c
clang-3.9 -fuse-ld=gold test.c

Please move this library out of the llvm-dev package, I think llvm-runtime would be correct? 

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (200, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, arm64

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

Versions of packages clang-3.9 depends on:
ii  binutils                 2.27-9+b1
ii  libc6                    2.24-5
ii  libc6-dev                2.24-5
ii  libclang-common-3.9-dev  1:3.9-5
ii  libclang1-3.9            1:3.9-5
ii  libgcc-6-dev             6.2.0-10
ii  libgcc1                  1:6.2.0-10
ii  libjsoncpp1              1.7.4-3
ii  libllvm3.9               1:3.9-5
ii  libobjc-6-dev            6.2.0-10
ii  libstdc++-6-dev          6.2.0-10
ii  libstdc++6               6.2.0-10

Versions of packages clang-3.9 recommends:
ii  llvm-3.9-dev  1:3.9-5
ii  python        2.7.11-2

Versions of packages clang-3.9 suggests:
pn  clang-3.9-doc  <none>
pn  gnustep        <none>
pn  gnustep-devel  <none>

-- no debconf information

More information about the Pkg-llvm-team mailing list