[LLVMdev] llvm-test portability failures

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


Ignore the missing malloc.h errors.  I screwed up badly.  I was undoing my alloca.h hack and removed the wrong file.

On Tue, 16 Nov 2004 23:29:43 -0800
Jeff Cohen <jeffc at jolt-lang.org> wrote:

> 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.
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list