[LLVMdev] llvm-test portability failures

Jeff Cohen jeffc at jolt-lang.org
Tue Nov 16 23:29:43 PST 2004


After going through 17000+ lines of output, I come up with the following...

===========================================

In file included from /usr/home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp:26:
/usr/include/sys/timeb.h:43: error: `time_t' does not name a type
/usr/home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp: In function `int getTime()':
/usr/home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp:89: error: 'struct timeb' has no member named 'time'

===========================================

In file included from /usr/home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Applications/obsequi/globals.h:5,
                 from /usr/home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Applications/obsequi/display.c:3:
/usr/home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Applications/obsequi/utils.h:10:22: features.h: No such file or directory

A huge number of errors follows this, but they appear to be consequences of this error.

===========================================

Several tests fail in gccld with this assertion:

Assertion failed: (ArgumentConstants[i].first && "Unknown constant value!"), function processFunction, file /usr/home/llvm/obj/../lib/Transforms/IPO/IPConstantPropagation.cpp, line 117.

===========================================

/usr/home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Benchmarks/Prolangs-C/assembler/scan_line.c:10:20: malloc.h: No such file or directory
/usr/home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Benchmarks/Prolangs-C/assembler/sym_tab.c:10:20: malloc.h: No such file or directory

/usr/home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl.c:116: error: conflicting types for 'setprogname'
/usr/home/cfe/x86/llvm-gcc/bin/../lib/gcc/i386-unknown-freebsd5.3/3.4-llvm/include/stdlib.h:283: error: previous declaration of 'setprogname'

/usr/home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Benchmarks/Prolangs-C/loader/memory.c:9:20: malloc.h: No such file or directory
/usr/home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Benchmarks/Prolangs-C/loader/load.c:12:20: malloc.h: No such file or directory
/usr/home/llvm/obj/projects/llvm-test/../../../projects/llvm-test/MultiSource/Benchmarks/Prolangs-C/simulator/sym_tab.c:10:20: malloc.h: No such file or directory

===========================================

Numerous tests failed only in JIT.  Not clear if this is a FreeBSD
problem, but this hasn't been true in the past.




More information about the llvm-dev mailing list