Bug#782539: clang++-3.5: can't include GCC 5 headers: fatal error: 'bits/c++config.h' file not found

Jakub Wilk jwilk at debian.org
Mon Apr 13 20:32:08 UTC 2015


Package: clang-3.5
Version: 1:3.5.2-1~exp1

If you install g++-5 (from experimental), the C++ compiler can't 
include standard library headers:

$ clang++-3.5 -c test.cc
In file included from test.cc:1:
/usr/bin/../lib/gcc/i586-linux-gnu/5.0.0/../../../../include/c++/5.0.0/cstdio:41:10: fatal error: 'bits/c++config.h' file not found
#include <bits/c++config.h>
         ^
1 error generated.


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages clang-3.5 depends on:
ii  binutils                 2.25-6
ii  libc6                    2.19-17
ii  libc6-dev                2.19-17
ii  libclang-common-3.5-dev  1:3.5.2-1~exp1
ii  libclang1-3.5            1:3.5.2-1~exp1
ii  libedit2                 3.1-20140620-2
ii  libffi6                  3.1-2+b2
ii  libgcc-4.9-dev           4.9.2-10
ii  libgcc1                  1:5-20150410-1
ii  libllvm3.5               1:3.5.2-1~exp1
ii  libobjc-4.9-dev          4.9.2-10
ii  libstdc++-4.9-dev        4.9.2-10
ii  libstdc++6               5-20150410-1
ii  libtinfo5                5.9+20140913-1+b1
ii  zlib1g                   1:1.2.8.dfsg-2+b1

-- 
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.cc
Type: text/x-c++src
Size: 18 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20150413/45fa9f9c/attachment.cc>


More information about the Pkg-llvm-team mailing list