[LLVMbugs] [Bug 11551] New: Header search problem with clang trunk (3.1)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Dec 13 00:20:09 PST 2011


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: unassignedclangbugs at nondot.org
        ReportedBy: ismail at namtrac.org
                CC: llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list