Package: g++-4.7 Version: 4.7-20120129-1 Severity: important This one's easy to illustrate: :]
$ echo '#include <vector>' > v.cc $ g++-4.7 -c v.cc v.cc:1:18: fatal error: vector: No such file or directory compilation terminated. $ g++-4.7 -v -c v.cc Using built-in specs. COLLECT_GCC=g++-4.7 COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.7-20120129-1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.7.0 20120129 (experimental) [trunk revision 183674] (Debian 4.7-20120129-1) COLLECT_GCC_OPTIONS='-v' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-linux-gnu/4.7/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE v.cc -quiet -dumpbase v.cc -mtune=generic -march=x86-64 -auxbase v -version -o /tmp/cc4xA1Ml.s GNU C++ (Debian 4.7-20120129-1) version 4.7.0 20120129 (experimental) [trunk revision 183674] (x86_64-linux-gnu) compiled by GNU C version 4.7.0 20120129 (experimental) [trunk revision 183674], GMP version 5.0.2, MPFR version 3.1.0-p3, MPC version 0.9 warning: GMP header version 5.0.2 differs from library version 5.0.3. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "usr/include/c++/4.7" ignoring nonexistent directory "usr/include/c++/4.7/x86_64-linux-gnu" ignoring nonexistent directory "usr/include/c++/4.7/backward" ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../x86_64-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/lib/gcc/x86_64-linux-gnu/4.7/include /usr/local/include /usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed /usr/include/x86_64-linux-gnu /usr/include End of search list. GNU C++ (Debian 4.7-20120129-1) version 4.7.0 20120129 (experimental) [trunk revision 183674] (x86_64-linux-gnu) compiled by GNU C version 4.7.0 20120129 (experimental) [trunk revision 183674], GMP version 5.0.2, MPFR version 3.1.0-p3, MPC version 0.9 warning: GMP header version 5.0.2 differs from library version 5.0.3. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: b72834653f81bf92e4e291e40bb35559 v.cc:1:18: fatal error: vector: No such file or directory compilation terminated. (looks like most of the include directories are missing the initial slash!) Thanks, -Miles -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=ja_JP.utf8, LC_CTYPE=ja_JP.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages g++-4.7 depends on: ii gcc-4.7 4.7-20120129-1 ii gcc-4.7-base 4.7-20120129-1 ii libc6 2.13-25 ii libcloog-ppl0 0.15.11-4 ii libgmp10 2:5.0.3+dfsg-1 ii libgmpxx4ldbl 2:5.0.3+dfsg-1 ii libmpc2 0.9-4 ii libmpfr4 3.1.0-3 ii libppl-c4 0.11.2-6 ii libppl9 0.11.2-6 ii libpwl5 0.11.2-6 ii libstdc++6-4.7-dev 4.7-20120129-1 ii zlib1g 1:1.2.5.dfsg-1 g++-4.7 recommends no packages. Versions of packages g++-4.7 suggests: pn g++-4.7-multilib <none> pn gcc-4.7-doc <none> pn libstdc++6-4.7-dbg <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org