[LLVMdev] Errors reported in config.log on linux (original) (raw)
Duncan Sands baldrick at free.fr
Sun Jul 15 02:02:36 PDT 2012
- Previous message: [LLVMdev] Errors reported in config.log on linux
- Next message: [LLVMdev] FYI: Planning to remove ProfileInfo and related passes from LLVM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Sitvanit,
I ran ../llvm/configure CC=g44 CXX=g++44 and the exit code was 0, but in config.log I found errors (mostly about missing files) and warnings (mostly about conflicts in builtin functions).
you can ignore these. What configure does is try to compile lots of different programs using all kinds of different compiler and O/S features to determine what your system supports. It is normal for some programs to not compile.
Ciao, Duncan.
I thought maybe the fact I later get compilation errors when running make is related to these. How do I correct these errors? or can they be ignored? The full list of errors from config.log is below. ===================================================================================================== conftest.c:10:28: error: acnonexistent.h: No such file or directory conftest.c:28: error: 'not' undeclared (first use in this function) conftest.c:28: error: (Each undeclared identifier is reported only once conftest.c:28: error: for each function it appears in.) conftest.c:28: error: expected ';' before 'big' conftest.c:96:16: error: dl.h: No such file or directory conftest.c:96:17: error: dld.h: No such file or directory conftest.c:96:25: error: mach-o/dyld.h: No such file or directory conftest.c:132:21: error: windows.h: No such file or directory conftest.c:139:27: error: malloc/malloc.h: No such file or directory conftest.c:139:23: error: mach/mach.h: No such file or directory conftest.c:139:31: error: valgrind/valgrind.h: No such file or directory conftest.c:141:33: error: CrashReporterClient.h: No such file or directory conftest.c:187: error: 'strerrors' undeclared (first use in this function) conftest.c:187: error: (Each undeclared identifier is reported only once conftest.c:187: error: for each function it appears in.) _conftest.cpp:161: error:
finite' was not declared in this scope_ _conftest.cpp:164: error:
syncsynchronize' was not declared in this scope _conftest.cpp:165: error:_syncvalcompareandswap' was not declared in_ _this scope_ _conftest.cpp:166: error:
syncaddandfetch' was not declared in this scope _conftest.cpp:167: error: `syncsubandfetch' was not declared in this scopeWarnings: conftest.c:87: warning: conflicting types for built-in function 'strchr' conftest.c:88: warning: conflicting types for built-in function 'strrchr' conftest.c:89: warning: conflicting types for built-in function 'memcpy' conftest.c:90: warning: conflicting types for built-in function 'memmove' conftest.c:91: warning: conflicting types for built-in function 'strcmp' conftest.c:79: warning: conflicting types for built-in function 'sin' conftest.c:136: warning: conflicting types for built-in function 'ceilf' conftest.c:137: warning: conflicting types for built-in function 'floorf' conftest.c:138: warning: conflicting types for built-in function 'roundf' conftest.c:138: warning: conflicting types for built-in function 'roundf' conftest.c:140: warning: conflicting types for built-in function 'nearbyintf' conftest.c:142: warning: conflicting types for built-in function 'powf' conftest.c:142: warning: conflicting types for built-in function 'powf' conftest.c:145: warning: conflicting types for built-in function 'round' conftest.c:165: warning: the use of
mktemp' is dangerous, better use_ _
mkstemp' conftest.c:160: warning: conflicting types for built-in function 'strdup' configure:20847: WARNING: LLVM will be built thread-unsafe because atomic builtins are missing Thanks, Sitvanit Sitvanit Ruah Formal Verification Group IBM Haifa Research Laboratory
LLVM Developers mailing list LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
- Previous message: [LLVMdev] Errors reported in config.log on linux
- Next message: [LLVMdev] FYI: Planning to remove ProfileInfo and related passes from LLVM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]