llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running 
on `linaro-clang-armv8-quick` while building `clang` at step 4 "build stage 1".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/154/builds/1447

Here is the relevant piece of the build log for the reference:
```
Step 4 (build stage 1) failure: 'ninja' (failure)
[1/281] Building CXX object 
tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
[2/281] Generating VCSRevision.h
[3/281] Generating VCSVersion.inc
[4/281] Building CXX object 
tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o
FAILED: 
tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o 
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_FILE_OFFSET_BITS=64 
-D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D_LARGEFILE_SOURCE 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-I/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/lib/Parse 
-I/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/lib/Parse 
-I/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/include 
-I/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/tools/clang/include 
-I/home/tcwg-buildbot/worker/clang-armv8-quick/stage1/include 
-I/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/include -fPIC 
-fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time 
-Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter 
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic 
-Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough 
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor 
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion 
-Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color 
-ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual 
-Wno-nested-anon-types -O3 -DNDEBUG  -fno-exceptions -funwind-tables -fno-rtti 
-UNDEBUG -std=c++17 -MD -MT 
tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o 
-MF 
tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o.d
 -o 
tools/clang/lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o 
-c 
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/clang/lib/Parse/ParseCXXInlineMethods.cpp
In file included from ../llvm/clang/lib/Parse/ParseCXXInlineMethods.cpp:13:
In file included from ../llvm/clang/include/clang/AST/DeclTemplate.h:17:
In file included from ../llvm/clang/include/clang/AST/ASTConcept.h:17:
In file included from ../llvm/clang/include/clang/AST/DeclarationName.h:16:
In file included from ../llvm/clang/include/clang/AST/Type.h:21:
In file included from ../llvm/clang/include/clang/AST/NestedNameSpecifier.h:18:
In file included from ../llvm/clang/include/clang/Basic/Diagnostic.h:19:
In file included from ../llvm/clang/include/clang/Basic/SourceLocation.h:17:
In file included from ../llvm/clang/include/clang/Basic/FileEntry.h:22:
In file included from ../llvm/llvm/include/llvm/ADT/PointerUnion.h:19:
../llvm/llvm/include/llvm/ADT/PointerIntPair.h:172:17: error: static assertion 
failed due to requirement '2U <= PointerUnionUIntTraits<clang::AtomicConstraint 
*, clang::FoldExpandedConstraint *, 
llvm::PointerIntPair<std::pair<clang::NormalizedConstraint, 
clang::NormalizedConstraint> *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind, 
llvm::PointerLikeTypeTraits<std::pair<clang::NormalizedConstraint, 
clang::NormalizedConstraint> *>, 
llvm::PointerIntPairInfo<std::pair<clang::NormalizedConstraint, 
clang::NormalizedConstraint> *, 1, 
llvm::PointerLikeTypeTraits<std::pair<clang::NormalizedConstraint, 
clang::NormalizedConstraint> *>>>>::NumLowBitsAvailable': PointerIntPair with 
integer size too large for pointer
  172 |   static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../llvm/llvm/include/llvm/ADT/PointerIntPair.h:111:13: note: in instantiation 
of template class 'llvm::PointerIntPairInfo<void *, 2, 
llvm::pointer_union_detail::PointerUnionUIntTraits<clang::AtomicConstraint *, 
clang::FoldExpandedConstraint *, 
llvm::PointerIntPair<std::pair<clang::NormalizedConstraint, 
clang::NormalizedConstraint> *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>>' requested here
  111 |     Value = Info::updateInt(Info::updatePointer(0, PtrVal),
      |             ^
../llvm/llvm/include/llvm/ADT/PointerIntPair.h:89:5: note: in instantiation of 
member function 'llvm::PointerIntPair<void *, 2, int, 
llvm::pointer_union_detail::PointerUnionUIntTraits<clang::AtomicConstraint *, 
clang::FoldExpandedConstraint *, 
llvm::PointerIntPair<std::pair<clang::NormalizedConstraint, 
clang::NormalizedConstraint> *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>>::setPointerAndInt' 
requested here
   89 |     setPointerAndInt(PtrVal, IntVal);
      |     ^
../llvm/llvm/include/llvm/ADT/PointerUnion.h:77:16: note: in instantiation of 
member function 'llvm::PointerIntPair<void *, 2, int, 
llvm::pointer_union_detail::PointerUnionUIntTraits<clang::AtomicConstraint *, 
clang::FoldExpandedConstraint *, 
llvm::PointerIntPair<std::pair<clang::NormalizedConstraint, 
clang::NormalizedConstraint> *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>>::PointerIntPair' 
requested here
   77 |         : Base(ValTy(const_cast<void *>(
      |                ^
../llvm/clang/include/clang/Sema/SemaConcept.h:114:46: note: in instantiation 
of member function 
'llvm::pointer_union_detail::PointerUnionMembers<llvm::PointerUnion<clang::AtomicConstraint
 *, clang::FoldExpandedConstraint *, 
llvm::PointerIntPair<std::pair<clang::NormalizedConstraint, 
clang::NormalizedConstraint> *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>, 
llvm::PointerIntPair<void *, 2, int, 
llvm::pointer_union_detail::PointerUnionUIntTraits<clang::AtomicConstraint *, 
clang::FoldExpandedConstraint *, 
llvm::PointerIntPair<std::pair<clang::NormalizedConstraint, 
clang::NormalizedConstraint> *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>>, 0, 
clang::AtomicConstraint *, clang::FoldExpandedConstraint *, 
llvm::PointerIntPair<std::pair<clang::NormalizedConstraint, 
clang::NormalizedConstraint> *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>::PointerUnionMembers' 
requested here
  114 |   NormalizedConstraint(AtomicConstraint *C): Constraint{C} { };
      |                                              ^
../llvm/llvm/include/llvm/ADT/PointerIntPair.h:172:25: note: expression 
evaluates to '2 <= 1'
  172 |   static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
      |                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../llvm/llvm/include/llvm/ADT/PointerIntPair.h:111:17: error: incomplete 
definition of type 'llvm::PointerIntPairInfo<void *, 2, 
llvm::pointer_union_detail::PointerUnionUIntTraits<clang::AtomicConstraint *, 
clang::FoldExpandedConstraint *, 
llvm::PointerIntPair<std::pair<clang::NormalizedConstraint, 
clang::NormalizedConstraint> *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>>'
  111 |     Value = Info::updateInt(Info::updatePointer(0, PtrVal),
      |             ~~~~^~
../llvm/llvm/include/llvm/ADT/PointerIntPair.h:89:5: note: in instantiation of 
member function 'llvm::PointerIntPair<void *, 2, int, 
llvm::pointer_union_detail::PointerUnionUIntTraits<clang::AtomicConstraint *, 
clang::FoldExpandedConstraint *, 
llvm::PointerIntPair<std::pair<clang::NormalizedConstraint, 
clang::NormalizedConstraint> *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>>::setPointerAndInt' 
requested here
   89 |     setPointerAndInt(PtrVal, IntVal);
      |     ^
../llvm/llvm/include/llvm/ADT/PointerUnion.h:77:16: note: in instantiation of 
member function 'llvm::PointerIntPair<void *, 2, int, 
llvm::pointer_union_detail::PointerUnionUIntTraits<clang::AtomicConstraint *, 
clang::FoldExpandedConstraint *, 
llvm::PointerIntPair<std::pair<clang::NormalizedConstraint, 
clang::NormalizedConstraint> *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>>::PointerIntPair' 
requested here
   77 |         : Base(ValTy(const_cast<void *>(
      |                ^
../llvm/clang/include/clang/Sema/SemaConcept.h:114:46: note: in instantiation 
of member function 
'llvm::pointer_union_detail::PointerUnionMembers<llvm::PointerUnion<clang::AtomicConstraint
 *, clang::FoldExpandedConstraint *, 
llvm::PointerIntPair<std::pair<clang::NormalizedConstraint, 
clang::NormalizedConstraint> *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>, 
llvm::PointerIntPair<void *, 2, int, 
llvm::pointer_union_detail::PointerUnionUIntTraits<clang::AtomicConstraint *, 
clang::FoldExpandedConstraint *, 
llvm::PointerIntPair<std::pair<clang::NormalizedConstraint, 
clang::NormalizedConstraint> *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>>, 0, 
clang::AtomicConstraint *, clang::FoldExpandedConstraint *, 
llvm::PointerIntPair<std::pair<clang::NormalizedConstraint, 
clang::NormalizedConstraint> *, 1, 
clang::NormalizedConstraint::CompoundConstraintKind>>::PointerUnionMembers' 
requested here
  114 |   NormalizedConstraint(AtomicConstraint *C): Constraint{C} { };
      |                                              ^
In file included from ../llvm/clang/lib/Parse/ParseCXXInlineMethods.cpp:13:
In file included from ../llvm/clang/include/clang/AST/DeclTemplate.h:17:
In file included from ../llvm/clang/include/clang/AST/ASTConcept.h:17:
In file included from ../llvm/clang/include/clang/AST/DeclarationName.h:16:

```

https://github.com/llvm/llvm-project/pull/98160
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to