[LLVMbugs] [Bug 11223] New: Failes to compile due to missing header search path

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Oct 24 00:16:11 PDT 2011


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

           Summary: Failes to compile due to missing header search path
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: jbulow-llvm at jongel.net
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=7510)
 --> (http://llvm.org/bugs/attachment.cgi?id=7510)
Adds missing include path to InitHeaderSearch.cpp

On Ubuntu 11.04 (32bit) I got the following error when running the test-release
script on 3.0-rc1:

In file included from
XXX/llvm-3-test/rc1/llvm.src/lib/Support/CommandLine.cpp:25:                    
In file included from
XXX/llvm-3-test/rc1/llvm.src/include/llvm/Support/system_error.h:227:           
In file included from /usr/include/c++/4.5/cerrno:42:                           
In file included from /usr/include/errno.h:36:                                  
In file included from /usr/include/bits/errno.h:25:                             
/usr/include/linux/errno.h:4:10: fatal error: 'asm/errno.h' file not found      
#include <asm/errno.h>                                               

Adding /usr/include/i386-linux-gnu to InitHeaderSearch.cpp solves the problem.

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