Bug#714890: clang-3.3: fatal error: 'bits/c++config.h' not found

Michael Welsh Duggan md5i at md5i.com
Wed Jul 3 23:25:08 UTC 2013

Package: clang-3.3
Version: 1:3.3-3
Severity: important

Dear Maintainer,

I upgraded from clang-3.2 to clang-3.3 today in order to get access to
c++11 inherited constructors.   I am unable to compile anything using
the standard library, however.  If I try to compile:

    #include <string>
    int main()
        return 0;

using "clang++ -std=c++11 -o foo foo.cc", I get the following error:

In file included from foo.cc:1:
/usr/lib/gcc/i486-linux-gnu/4.8/../../../../include/c++/4.8/string:38:10: fatal error: 
      'bits/c++config.h' file not found
#include <bits/c++config.h>

This appears very similar to the fixed bug #697127
(<URL:http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697127>) in
clang-3.2.  I am running a 32-bit system (for my sins).

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (102, 'unstable'), (101, 'experimental'), (99, 'testing'), (9, 'stable')
Architecture: i386 (i686)

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

Versions of packages clang-3.3 depends on:
ii  libc6                    2.17-7
ii  libclang-common-3.3-dev  1:3.3-3
ii  libclang1-3.3            1:3.3-3
ii  libffi6                  3.0.13-4
ii  libgcc-4.7-dev           4.7.3-5
ii  libgcc1                  1:4.8.1-5
ii  libllvm3.3               1:3.3-3
ii  libobjc-4.7-dev          4.7.3-5
ii  libstdc++6               4.8.1-5
ii  libstdc++6-4.7-dev       4.7.3-5

Versions of packages clang-3.3 recommends:
ii  llvm-3.3-dev  1:3.3-3
ii  python        2.7.5-2

clang-3.3 suggests no packages.

-- no debconf information

Michael Welsh Duggan
(md5i at md5i.com)

More information about the Pkg-llvm-team mailing list