Bug#652278: clang does not pull required header files

Gabriel Corona gabriel.corona at enst-bretagne.fr
Thu Dec 15 21:09:37 UTC 2011


Package: clang
Version: 3.0-3
Severity: normal

Without libclang-dev installed, clang can't handle some #include
(such as x86 intrinsics). See bug #645731.

clang uses its own version of some header files
(e.g. x86 intrinsics <*intrin.h>).
These headers are not pulled by the clang package:
instead they are in the libclang-dev package.
If this package is not installed, clang falls back
to the GCC ones and fails because it can't handle GCC builtin functions.

libclang-dev contains header files used to compile against libclang.so.
The /usr/include/clang/3.0/include/*.h files should probably
not be in libclang-dev as they are not used to compile against libclang.so
but are used by libclang.so at runtime.
They should probably be in the libclang1 package instead.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (80, 'unstable'), (70, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages clang depends on:
ii  libc6               2.13-21
ii  libffi5             3.0.10-3
ii  libgcc1             1:4.6.2-5
ii  libllvm3.0          3.0-3
ii  libstdc++6          4.6.2-5
ii  libstdc++6-4.6-dev  4.6.2-5

Versions of packages clang recommends:
ii  llvm-3.0-dev  3.0-2
ii  python        2.7.2-9

clang suggests no packages.

-- no debconf information





More information about the Pkg-llvm-team mailing list