[cfe-dev] Any buildbots building clang/llvm with gcc?

Mikael Holmén via cfe-dev cfe-dev at lists.llvm.org
Wed Mar 9 00:55:17 PST 2016


Hi,

Are there any buildbots that build clang/llvm with gcc and run tests 
nowadays?

When testing our out-of-tree target we are regularly building the 
compiler with both clang and gcc and lately we have noticed an 
increasing number of problems when using gcc which the rest of the 
community doesn't seem to notice?

E.g. for some days now at top-of-tree, if building with gcc 4.9.1 or 
5.1.0 one test case fails with SEGV:

FAIL: Clang-Unit :: 
ASTMatchers/ASTMatchersTests/IsAnyPointer.MatchesObjcPointer (8218 of 25131)
******************** TEST 'Clang-Unit :: 
ASTMatchers/ASTMatchersTests/IsAnyPointer.MatchesObjcPointer' FAILED 
********************
Note: Google Test filter = IsAnyPointer.MatchesObjcPointer
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from IsAnyPointer
[ RUN      ] IsAnyPointer.MatchesObjcPointer
#0 0x00000000005b4f15 llvm::sys::PrintStackTrace(llvm::raw_ostream&) 
(/repo/bbijenkins/bbi-sw-stable-jenkins/workspace/llvm-master/build-all-gcc49/tools/clang/unittests/ASTMatchers/ASTMatchersTests+0x5b4f15)
#1 0x00000000005b2bc6 llvm::sys::RunSignalHandlers() 
(/repo/bbijenkins/bbi-sw-stable-jenkins/workspace/llvm-master/build-all-gcc49/tools/clang/unittests/ASTMatchers/ASTMatchersTests+0x5b2bc6)
#2 0x00000000005b2dda SignalHandler(int) 
(/repo/bbijenkins/bbi-sw-stable-jenkins/workspace/llvm-master/build-all-gcc49/tools/clang/unittests/ASTMatchers/ASTMatchersTests+0x5b2dda)
#3 0x00007f194f891810 __restore_rt (/lib64/libpthread.so.0+0xf810)
#4 0x00000000005463a0 
clang::ast_matchers::IsAnyPointer_MatchesObjcPointer_Test::TestBody() 
(/repo/bbijenkins/bbi-sw-stable-jenkins/workspace/llvm-master/build-all-gcc49/tools/clang/unittests/ASTMatchers/ASTMatchersTests+0x5463a0)
#5 0x00000000005d3e02 testing::Test::Run() 
(/repo/bbijenkins/bbi-sw-stable-jenkins/workspace/llvm-master/build-all-gcc49/tools/clang/unittests/ASTMatchers/ASTMatchersTests+0x5d3e02)

So, are there any buildbots that should notice this or have everyone 
stopped using gcc?

Best regards,
Mikael



More information about the cfe-dev mailing list