Public bug reported: gmp/amd64 currently fails to build in raring, with g++-4.7-multilib 4.7.2-10ubuntu1:
https://launchpadlibrarian.net/123744259/buildlog_ubuntu-raring- amd64.gmp_2%3A5.0.5%2Bdfsg-2ubuntu2_FAILEDTOBUILD.txt.gz Here's a reduced version of what it's doing: $ cat t.cpp /* This test rejects g++ 2.7.2 which doesn't have <iostream>, only a pre-standard iostream.h. */ #include <iostream> /* This test rejects OSF 5.1 Compaq C++ in its default pre-standard iostream mode, since that mode puts cout in the global namespace, not "std". */ void someoutput (void) { std::cout << 123; } int main (void) { return 0; } $ x86_64-linux-gnu-g++ -m32 t.cpp In file included from t.cpp:3:0: /usr/include/c++/4.7/iostream:39:28: fatal error: bits/c++config.h: No such file or directory compilation terminated. $ find /usr -name c++config.h /usr/include/x86_64-linux-gnu/c++/4.7/bits/c++config.h /usr/include/x86_64-linux-gnu/c++/4.7/x32/bits/c++config.h /usr/include/x86_64-linux-gnu/c++/4.7/32/bits/c++config.h $ strace -f x86_64-linux-gnu-g++ -m32 t.cpp 2>&1 | fgrep c++config [pid 29880] open("/usr/include/c++/4.7/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29880] open("/usr/include/c++/4.7/backward/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29880] open("/usr/lib/gcc/x86_64-linux-gnu/4.7/include/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29880] open("/usr/local/include/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29880] open("/usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29880] open("/usr/include/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) /usr/include/c++/4.7/iostream:39:28: fatal error: bits/c++config.h: No such file or directory) = 126 [pid 29881] open("/usr/include/c++/4.7/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29881] open("/usr/include/c++/4.7/backward/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29881] open("/usr/lib/gcc/x86_64-linux-gnu/4.7/include/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29881] open("/usr/local/include/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29881] open("/usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29881] open("/usr/include/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29882] open("/usr/include/c++/4.7/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29882] open("/usr/include/c++/4.7/backward/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29882] open("/usr/lib/gcc/x86_64-linux-gnu/4.7/include/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29882] open("/usr/local/include/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29882] open("/usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29882] open("/usr/include/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29883] open("/usr/include/c++/4.7/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29883] open("/usr/include/c++/4.7/backward/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29883] open("/usr/lib/gcc/x86_64-linux-gnu/4.7/include/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29883] open("/usr/local/include/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29883] open("/usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) [pid 29883] open("/usr/include/bits/c++config.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such file or directory) Looks like the compiler's notion of the include path for -m32 is wrong? ** Affects: gcc-4.7 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1082344 Title: x86_64-linux-gnu-g++ -m32 fails to find <bits/c++config.h> To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.7/+bug/1082344/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs