Bug#697127: bits/c++config.h' file not found
Mathieu Malaterre
malat at debian.org
Tue Jan 15 10:34:00 UTC 2013
On Tue, Jan 15, 2013 at 11:30 AM, Sylvestre Ledru <sylvestre at debian.org> wrote:
> On 15/01/2013 11:20, Mathieu Malaterre wrote:> reopen 697127
>> notfixed 697127 clang/3.2-1~exp4
>> found 697127 3.2-1~exp4
>> thanks
>>
>> Same issue, wrong path is used 386 vs 486:
>>
>>
>> $ clang++ -o plop bla.cxx
>> In file included from bla.cxx: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.
> Next time, -v provides interesting information ;)
697127#75
> Could you try with libstdc++-4.8-dev installed ?
$ apt-cache policy libstdc++-4.8-dev
libstdc++-4.8-dev:
Installed: 4.8-20130105-1
Candidate: 4.8-20130105-1
Version table:
*** 4.8-20130105-1 0
1 http://ftp.fr.debian.org/debian/ experimental/main i386 Packages
100 /var/lib/dpkg/status
leads to:
$ clang++ -v -o plop bla.cxx
Debian clang version 3.2-1~exp4 (tags/RELEASE_32/final) (based on LLVM 3.2)
Target: i386-pc-linux-gnu
Thread model: posix
"/usr/bin/clang" -cc1 -triple i386-pc-linux-gnu -emit-obj -mrelax-all
-disable-free -disable-llvm-verifier -main-file-name bla.cxx
-mrelocation-model static -mdisable-fp-elim -fmath-errno -masm-verbose
-mconstructor-aliases -fuse-init-array -target-cpu pentium4
-target-linker-version 2.22 -momit-leaf-frame-pointer -v -resource-dir
/usr/bin/../lib/clang/3.2 -fmodule-cache-path
/var/tmp/clang-module-cache -internal-isystem
/usr/bin/../lib/gcc/i486-linux-gnu/4.8/../../../../include/c++/4.8
-internal-isystem
/usr/bin/../lib/gcc/i486-linux-gnu/4.8/../../../../include/c++/4.8/i486-linux-gnu
-internal-isystem
/usr/bin/../lib/gcc/i486-linux-gnu/4.8/../../../../include/c++/4.8/backward
-internal-isystem
/usr/bin/../lib/gcc/i486-linux-gnu/4.8/../../../../include//c++/4.8
-internal-isystem
/usr/bin/../lib/gcc/i486-linux-gnu/4.8/../../../../include//c++/4.8/i486-linux-gnu
-internal-isystem
/usr/bin/../lib/gcc/i486-linux-gnu/4.8/../../../../include//c++/4.8/backward
-internal-isystem
/usr/bin/../lib/gcc/i486-linux-gnu/4.8/../../../../include/c++
-internal-isystem
/usr/bin/../lib/gcc/i486-linux-gnu/4.8/../../../../include/c++/i486-linux-gnu
-internal-isystem
/usr/bin/../lib/gcc/i486-linux-gnu/4.8/../../../../include/c++/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/bin/../lib/clang/3.2/include -internal-isystem
/usr/include/clang/3.2/include/ -internal-externc-isystem
/usr/include/i386-linux-gnu -internal-externc-isystem
/usr/include/i486-linux-gnu -internal-externc-isystem /usr/include
-fdeprecated-macro -fdebug-compilation-dir /tmp -ferror-limit 19
-fmessage-length 157 -mstackrealign -fobjc-runtime=gcc
-fcxx-exceptions -fexceptions -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/bla-dpJMh9.o -x c++ bla.cxx
clang -cc1 version 3.2 based upon LLVM 3.2svn default target i386-pc-linux-gnu
ignoring nonexistent directory
"/usr/bin/../lib/gcc/i486-linux-gnu/4.8/../../../../include/c++/4.8/i486-linux-gnu"
ignoring nonexistent directory
"/usr/bin/../lib/gcc/i486-linux-gnu/4.8/../../../../include//c++/4.8/i486-linux-gnu"
ignoring nonexistent directory
"/usr/bin/../lib/gcc/i486-linux-gnu/4.8/../../../../include/c++/i486-linux-gnu"
ignoring nonexistent directory
"/usr/bin/../lib/gcc/i486-linux-gnu/4.8/../../../../include/c++/backward"
ignoring nonexistent directory "/usr/bin/../lib/clang/3.2/include"
ignoring nonexistent directory "/usr/include/i486-linux-gnu"
ignoring duplicate directory
"/usr/bin/../lib/gcc/i486-linux-gnu/4.8/../../../../include/c++/4.8"
ignoring duplicate directory
"/usr/bin/../lib/gcc/i486-linux-gnu/4.8/../../../../include/c++/4.8/backward"
#include "..." search starts here:
#include <...> search starts here:
/usr/bin/../lib/gcc/i486-linux-gnu/4.8/../../../../include/c++/4.8
/usr/bin/../lib/gcc/i486-linux-gnu/4.8/../../../../include/c++/4.8/backward
/usr/bin/../lib/gcc/i486-linux-gnu/4.8/../../../../include/c++
/usr/local/include
/usr/include/clang/3.2/include
/usr/include/i386-linux-gnu
/usr/include
End of search list.
In file included from bla.cxx:1:
/usr/bin/../lib/gcc/i486-linux-gnu/4.8/../../../../include/c++/4.8/iostream:38:10:
fatal error: 'bits/c++config.h' file not found
#include <bits/c++config.h>
^
1 error generated.
More information about the Pkg-llvm-team
mailing list