[LLVMdev] Errors reported in config.log on linux
Sitvanit Ruah
RUAH at il.ibm.com
Sun Jul 15 00:43:51 PDT 2012
Hi all,
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).
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: ac_nonexistent.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: 'strerror_s' 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: `__sync_synchronize' was not declared in this
scope
conftest.cpp:165: error: `__sync_val_compare_and_swap' was not declared in
this scope
conftest.cpp:166: error: `__sync_add_and_fetch' was not declared in this
scope
conftest.cpp:167: error: `__sync_sub_and_fetch' was not declared in this
scope
Warnings:
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
More information about the llvm-dev
mailing list