Bug#697127: clang: Clang++ 3.2 fails to compile anything ('bits/c++config.h' file not found)

Hans Joachim Desserud debian at desserud.org
Tue Jan 1 16:47:15 UTC 2013


Package: clang
Version: 3.2-1~exp1
Severity: important

Dear Maintainer,
I seem to be unable to compile anything with clang++ version 3.2 from 
experimental. For instance:
$ cat hello.cpp 
#include <iostream>

using namespace std;
main() {
  cout << "hello world";
}
$ g++ hello.cpp 
$ clang++ hello.cpp 
In file included from hello.cpp:1:
/usr/bin/../lib/gcc/i486-linux-gnu/4.7/../../../../include/c++/4.7/iostream:38:10: fatal error: 
      'bits/c++config.h' file not found
#include <bits/c++config.h>
         ^
1 error generated.

I have encountered the same issue when attempting to compile other projects
which compiles fine with gcc. Said projects compile fine with clang 3.2 on Arch.

I see there's another experimental clang package in the NEW queue, but I
don't know whether that fixes this issue or not.

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages clang depends on:
ii  clang-3.2  3.2-1~exp1

clang recommends no packages.

clang suggests no packages.

-- no debconf information



More information about the Pkg-llvm-team mailing list