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

             Bug #: 11551
           Summary: Header search  problem with clang trunk (3.1)
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Headers
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 7717
  --> http://llvm.org/bugs/attachment.cgi?id=7717
clang 3.0 strace

Simple testcase:


#include <stddef.h>

int main()
{
}

[/kutu/t]> clang -v
clang version 3.1 (trunk 146366)
Target: x86_64-unknown-linux-gnu
Thread model: posix

[/kutu/t]> clang -c test.c
test.c:1:10: fatal error: 'stddef.h' file not found
#include <stddef.h>
         ^
1 error generated.  

Rolling back to clang 3.0


[/kutu/t]> clang -v
SUSE Linux clang version 3.0 (branches/release_30 145598) (based on LLVM 3.0)
Target: x86_64-unknown-linux-gnu
Thread model: posix


[/kutu/t]> clang test.c
[/kutu/t]> 

I will attached strace -efile clang -c test.c output for clang 3.0 and trunk.

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to