[llvm-commits] [PATCH] Adding the TSVC loop benchmarks to the test suite

Tobias Grosser tobias at grosser.es
Sat Sep 29 00:53:05 PDT 2012

On 09/29/2012 03:15 AM, Hal Finkel wrote:
> On Sat, 29 Sep 2012 02:17:46 +0200
> Tobias Grosser <tobias at grosser.es> wrote:
>> On 09/29/2012 01:25 AM, Hal Finkel wrote:
>>> Tobi,
>>> These seem to be failing to build under LNT:
>>> http://llvm.org/perf/db_default/v4/nts/4357
>> The test.log file is available at:
>> http://lab.llvm.org:8011/builders/clang-x86_64-darwin10-nt-O3-vectorize/builds/1331
>> You can download it and check for the failure. If you need help (or
>> if some information is missing), let me know.
> Yea, unfortunately, RunSafely hides the error messages, so all I get to
> see is:
> 	  /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/clang-x86_64-darwin10-nt-O3-vectorize/llvm.install.1/bin/clang
> -I/Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/clang-x86_64-darwin10-nt-O3-vectorize/tests/nt/build/sample-0/MultiSource/Benchmarks/TSVC/LinearDependence-flt
> -I/Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/clang-x86_64-darwin10-nt-O3-vectorize/test-suite/MultiSource/Benchmarks/TSVC/LinearDependence-flt
> -I/Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/clang-x86_64-darwin10-nt-O3-vectorize/test-suite/include
> -I../../../../include -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -DNDEBUG
> -std=gnu99 -O3 -mllvm -vectorize
> -c /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/clang-x86_64-darwin10-nt-O3-vectorize/test-suite/MultiSource/Benchmarks/TSVC/LinearDependence-flt/tsc.c
> -o
> Output/tsc.llvm.o /Users/buildslave/zorg/buildbot/smooshlab/slave-0.8/clang-x86_64-darwin10-nt-O3-vectorize/llvm.install.1/bin/clang++
> -o Output/LinearDependence-flt.simple Output/dummy.llvm.o
> Output/tsc.llvm.o -lm -std=gnu99 -mllvm -vectorize clang: error: no
> such file or directory: 'Output/tsc.llvm.o'
> Can you run that command on that machine and see what the error is?

Oh sorry. I was too tired yesterday evening. There are some files that 
include 'malloc.h'. malloc.h does not exist. You need to include 
'stdlib.h' instead.

Also it seems you use the function 'memalign'. This one does not exist 
on BSD like systems. To my knowledge a replacement is posix_memalign. 
But be careful, it has slightly different semantics.


More information about the llvm-commits mailing list