[LLVMbugs] [Bug 7604] New: clang doesn't find gcc-4.4.4's headers on GenToo

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jul 9 02:05:35 PDT 2010


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

           Summary: clang doesn't find gcc-4.4.4's headers on GenToo
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: jarausch at igpm.rwth-aachen.de
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Compiling any C++ program (e.g. hello world) fails because the C++ header files
are not found.

The -v command line option shows that it tries to locate 
/usr/lib/gcc/x86_64-pc-linux-gnu/V.V.V/include

with V.V.V upto 4.4.3

But I have gcc-4.4.4 (or 4.5.0  or 4.6-git) installed,
so clang fails with
fatal error: 'iostream' file not found


This is on a Gentoo system (bleeding edge)

Thanks for looking into it,
Helmut.

-- 
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