llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clangd-ubuntu-tsan` 
running on `clangd-ubuntu-clang` while building `clang,llvm` at step 6 
"test-build-clangd-clangd-index-server-clangd-in...".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-clangd-clangd-index-server-clangd-in...) failure: test 
(failure)
...
174.201 [148/18/3211] Building CXX object 
tools/clang/lib/CIR/Dialect/Transforms/CMakeFiles/obj.MLIRCIRTransforms.dir/TargetLowering.cpp.o
176.004 [147/18/3212] Building CXX object 
tools/mlir/lib/Conversion/LLVMCommon/CMakeFiles/obj.MLIRLLVMCommonConversion.dir/StructBuilder.cpp.o
177.028 [146/18/3213] Building CXX object 
tools/mlir/lib/Conversion/LLVMCommon/CMakeFiles/obj.MLIRLLVMCommonConversion.dir/LoweringOptions.cpp.o
179.190 [145/18/3214] Building CXX object 
tools/mlir/lib/Conversion/LLVMCommon/CMakeFiles/obj.MLIRLLVMCommonConversion.dir/PrintCallHelper.cpp.o
179.415 [144/18/3215] Building CXX object 
tools/clang/lib/CIR/Dialect/OpenACC/CMakeFiles/obj.CIROpenACCSupport.dir/RegisterOpenACCExtensions.cpp.o
179.611 [143/18/3216] Building CXX object 
tools/clang/lib/CIR/Dialect/OpenACC/CMakeFiles/obj.CIROpenACCSupport.dir/CIROpenACCTypeInterfaces.cpp.o
185.379 [142/18/3217] Building CXX object 
tools/mlir/lib/Dialect/OpenMP/Transforms/CMakeFiles/obj.MLIROpenMPTransforms.dir/FunctionFiltering.cpp.o
186.417 [141/18/3218] Building CXX object 
tools/mlir/lib/Dialect/OpenMP/Utils/CMakeFiles/obj.MLIROpenMPUtils.dir/Utils.cpp.o
188.086 [140/18/3219] Building CXX object 
tools/mlir/lib/Dialect/OpenMP/Transforms/CMakeFiles/obj.MLIROpenMPTransforms.dir/MarkDeclareTarget.cpp.o
188.112 [139/18/3220] Building CXX object 
tools/clang/lib/CIR/Dialect/IR/CMakeFiles/obj.MLIRCIR.dir/CIRAttrs.cpp.o
FAILED: 
tools/clang/lib/CIR/Dialect/IR/CMakeFiles/obj.MLIRCIR.dir/CIRAttrs.cpp.o 
ccache /usr/bin/clang++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS 
-D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE 
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/tools/clang/lib/CIR/Dialect/IR
 
-I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/lib/CIR/Dialect/IR
 
-I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/include 
-I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/tools/clang/include 
-I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/include 
-I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include 
-I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/../mlir/include
 -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/tools/mlir/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 
-Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported 
-fno-omit-frame-pointer -gline-tables-only -fsanitize=thread 
-fdiagnostics-color -ffunction-sections -fdata-sections -Xclang 
-fno-pch-timestamp -fno-common -Wno-nested-anon-types -O3 -DNDEBUG -UNDEBUG 
-fno-exceptions -funwind-tables -fno-rtti -std=c++17 -Winvalid-pch -Xclang 
-include-pch -Xclang 
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/cmake_pch.hxx.pch
 -Xclang -include -Xclang 
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/cmake_pch.hxx
 -MD -MT 
tools/clang/lib/CIR/Dialect/IR/CMakeFiles/obj.MLIRCIR.dir/CIRAttrs.cpp.o -MF 
tools/clang/lib/CIR/Dialect/IR/CMakeFiles/obj.MLIRCIR.dir/CIRAttrs.cpp.o.d -o 
tools/clang/lib/CIR/Dialect/IR/CMakeFiles/obj.MLIRCIR.dir/CIRAttrs.cpp.o -c 
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/lib/CIR/Dialect/IR/CIRAttrs.cpp
In file included from 
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/lib/CIR/Dialect/IR/CIRAttrs.cpp:61:
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/tools/clang/include/clang/CIR/Dialect/IR/CIROpsAttributes.cpp.inc:8084:60:
 warning: In the GNU C Library, "major" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "major", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "major", you should undefine it after including <sys/types.h>. 
[-W#pragma-messages]
 8084 |   OpenCLVersionAttrStorage(int32_t major, int32_t minor) : 
major(std::move(major)), minor(std::move(minor)) {}
      |                                                            ^
/usr/include/x86_64-linux-gnu/sys/sysmacros.h:101:21: note: expanded from macro 
'major'
  101 | # define major(dev) __SYSMACROS_DM (major) gnu_dev_major (dev)
      |                     ^
/usr/include/x86_64-linux-gnu/sys/sysmacros.h:52:32: note: expanded from macro 
'__SYSMACROS_DM'
   52 | #define __SYSMACROS_DM(symbol) __SYSMACROS_DM1 \
      |                                ^
/usr/include/x86_64-linux-gnu/sys/sysmacros.h:62:30: note: expanded from macro 
'__SYSMACROS_DM1'
   62 | #define __SYSMACROS_DM1(...) __glibc_macro_warning (#__VA_ARGS__)
      |                              ^
/usr/include/x86_64-linux-gnu/sys/cdefs.h:470:3: note: expanded from macro 
'__glibc_macro_warning'
  470 |   __glibc_macro_warning1 (GCC warning message)
      |   ^
/usr/include/x86_64-linux-gnu/sys/cdefs.h:468:42: note: expanded from macro 
'__glibc_macro_warning1'
  468 | # define __glibc_macro_warning1(message) _Pragma (#message)
      |                                          ^
<scratch space>:4:6: note: expanded from here
    4 |  GCC warning "In the GNU C Library, \"major\" is defined\n by 
<sys/sysmacros.h>. For historical compatibility, it is\n currently defined by 
<sys/types.h> as well, but we plan to\n remove this soon. To use \"major\", 
include <sys/sysmacros.h>\n directly. If you did not intend to use a 
system-defined macro\n \"major\", you should undefine it after including 
<sys/types.h>."
      |      ^
In file included from 
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/clang/lib/CIR/Dialect/IR/CIRAttrs.cpp:61:
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/tools/clang/include/clang/CIR/Dialect/IR/CIROpsAttributes.cpp.inc:8084:85:
 warning: In the GNU C Library, "minor" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "minor", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "minor", you should undefine it after including <sys/types.h>. 
[-W#pragma-messages]
 8084 |   OpenCLVersionAttrStorage(int32_t major, int32_t minor) : 
major(std::move(major)), minor(std::move(minor)) {}
      |                                                                         
            ^
/usr/include/x86_64-linux-gnu/sys/sysmacros.h:102:21: note: expanded from macro 
'minor'

```

</details>

https://github.com/llvm/llvm-project/pull/221291
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to