[cfe-dev] choosing the gcc toolchain

reed kotler rkotler at mips.com
Sun Mar 2 15:36:25 PST 2014


On 03/02/2014 01:37 AM, Simon Atanasyan wrote:
> Here is the fix:
> http://llvm-reviews.chandlerc.com/D2911
>
> On Sat, Mar 1, 2014 at 1:57 AM, reed kotler <rkotler at mips.com> wrote:
>> So what do you propose?
I will try this patch tonight.

I will try the new patch tonight.

The one the night before had some new errors but it was still not 
chosing the right toolchain as we know.

The good news is that with clang/llvm we eliminated the errors:
     LLVM-Unit :: 
ADT/Release+Asserts/ADTTests/HashingTest.HashCombineBasicTest
     LLVM-Unit :: ADT/Release+Asserts/ADTTests/HashingTest.HashValueStdPair


In particular, check mips-cs.cpp and mips-fs.cpp.

When built with gcc 4.7:

Failing Tests (11):
     Clang :: Analysis/crash-trace.c
     Clang :: Driver/mips-cs.cpp
     Clang :: Driver/mips-fsf.cpp
     Clang :: Parser/crash-report.c
     LLVM :: CodeGen/Generic/2009-03-17-LSR-APInt.ll
     LLVM :: CodeGen/Generic/2011-07-07-ScheduleDAGCrash.ll
     LLVM :: CodeGen/Generic/add-with-overflow-128.ll
     LLVM :: CodeGen/Generic/i128-addsub.ll
     LLVM :: DebugInfo/2010-10-01-crash.ll
     LLVM-Unit :: 
ADT/Release+Asserts/ADTTests/HashingTest.HashCombineBasicTest
     LLVM-Unit :: ADT/Release+Asserts/ADTTests/HashingTest.HashValueStdPair

   Expected Passes    : 16716
   Expected Failures  : 90
   Unsupported Tests  : 41
   Unexpected Failures: 11
make[1]: *** [check-local-all] Error 1
make[1]: Leaving directory `/home/rkotler/caviumnativellvm/build/test'
make: *** [check-all] Error 2
rkotler at mipsswbrd006-le:~/caviumnativellvm/build$

When built with recent clang/llvm:

Failing Tests (9):
     Clang :: Analysis/crash-trace.c
     Clang :: Driver/mips-cs.cpp
     Clang :: Driver/mips-fsf.cpp
     Clang :: Parser/crash-report.c
     LLVM :: CodeGen/Generic/2009-03-17-LSR-APInt.ll
     LLVM :: CodeGen/Generic/2011-07-07-ScheduleDAGCrash.ll
     LLVM :: CodeGen/Generic/add-with-overflow-128.ll
     LLVM :: CodeGen/Generic/i128-addsub.ll
     LLVM :: DebugInfo/2010-10-01-crash.ll




More information about the cfe-dev mailing list