[LLVMbugs] [Bug 14923] New: clang cannot find gcc 4.8 headers under Debian/Ubuntu

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 11 10:03:30 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=14923

             Bug #: 14923
           Summary: clang cannot find gcc 4.8 headers under Debian/Ubuntu
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sylvestre at debian.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Once more, Debian/Ubuntu stdc++ paths changed.

With the code:
---
#include <iostream>

using namespace std;
int main() {
  cout << "hello world";
}
---
Fails with:

/usr/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.


With libstdc++6-4.7-dev, the path was:
/usr/include/c++/4.7/i486-linux-gnu/bits/c++config.h

With libstdc++-4.8-dev:
/usr/include/i386-linux-gnu/c++/4.8/bits/c++config.h

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list