[LLVMdev] Regression tests in 2.9

Damien Vincent damien.llvm at gmail.com
Tue Apr 26 18:57:00 PDT 2011


Eric, could you tell me which version of gcc you are using (According to
http://llvm.org/docs/GettingStarted.html, gcc 3.4.2 should be used but I
don't know if this document is up to date regarding the required software
versions)

Anyway I also tried with gcc version 3.4.6 (Ubuntu 3.4.6-6ubuntu5)
And now, I get a bunch of errors like this one:
llvm-2.9/lib/Support/regcomp.c: In function `cset* allocset(parse*)':
llvm-2.9/lib/Support/regcomp.c:1050: error: invalid conversion from `void*'
to `cset*'
llvm-2.9/lib/Support/regcomp.c:1055: error: invalid conversion from `void*'
to `uch*'
llvm-2.9/lib/Support/regcomp.c: In function `void mcadd(parse*, cset*, const
char*)':
llvm-2.9/lib/Support/regcomp.c:1188: error: invalid conversion from `void*'
to `char*'
llvm-2.9/lib/Support/regcomp.c: In function `void findmust(parse*,
re_guts*)':
llvm-2.9/lib/Support/regcomp.c:1477: error: invalid conversion from `void*'
to `char*'

Thank you

Damien.



On Tue, Apr 26, 2011 at 6:06 PM, Damien Vincent <damien.llvm at gmail.com>wrote:

>
> I tried on a different machine x86_64 ( vs x86 ) and I don't have these
> issues anymore (the tests are failing on the x86 machine because of a
> segmentation fault)
> Both builds were done using: g++ (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
> Something should be wrong with my environment...
>
> The only differences I noticed during the compilation are the following
> warnings (which appear several times, but each time in ilist.h):
> llvm-2.9/include/llvm/ADT/ilist.h: In member function ‘virtual
> bool<unnamed>::AAEval::runOnFunction(llvm::Function&)’:
> llvm-2.9/include/llvm/ADT/ilist.h:175: warning: ‘this.581’ is used
> uninitialized in this function
> llvm-2.9/include/llvm/ADT/ilist.h:175: note: ‘this.581’ was declared here
> llvm-2.9/include/llvm/ADT/ilist.h:175: warning: ‘this.581’ is used
> uninitialized in this function
> llvm-2.9/include/llvm/ADT/ilist.h:175: note: ‘this.581’ was declared here
>
> Damien.
>
>
> On Tue, Apr 26, 2011 at 4:46 PM, Eric Christopher <echristo at apple.com>wrote:
>
>>
>> On Apr 26, 2011, at 4:44 PM, Damien Vincent wrote:
>>
>> >
>> > I am testing the latest LLVM release (2.9).
>> > When I run the regression tests, I get many failures:
>> >
>> > cd llvm-2.9.build/test
>> > make
>> >   Expected Passes    : 2605
>> >   Expected Failures  : 46
>> >   Unsupported Tests  : 542
>> > >>>  Unexpected Failures: 2658
>> >
>> > For info:
>> > - I was working with 2.8 so far and I didn't have these issues.
>> > - LLVM was build using:  ../llvm-2.9/configure --enable-assertions
>> >
>> >   What is the status of these regression tests ? Did I do sth wrong when
>> building llvm 2.9 ?
>>
>> Works for me so you probably did something wrong.
>>
>> -eric
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110426/87838811/attachment.html>


More information about the llvm-dev mailing list