llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while 
building `clang` at step 5 "compile-openmp".

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

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

```
Step 5 (compile-openmp) failure: build (failure)
...
25.724 [922/10/6145] Linking CXX executable bin/lli
25.914 [922/9/6146] Linking CXX executable bin/llvm-exegesis
25.968 [922/8/6147] Linking CXX executable bin/clang-diff
26.292 [922/7/6148] Linking CXX executable bin/clang-refactor
26.332 [922/6/6149] Linking CXX executable bin/clang-installapi
26.746 [922/5/6150] Building AMDGPUGenRegisterBank.inc...
26.757 [922/4/6151] Building AMDGPUGenRegisterInfo.inc...
26.793 [921/4/6152] Linking CXX static library lib/libFortranEvaluate.a
27.151 [920/4/6153] Linking CXX executable bin/clang-import-test
28.154 [920/3/6154] Building CXX object 
tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StackAddrEscapeChecker.cpp.o
FAILED: 
tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StackAddrEscapeChecker.cpp.o
 
ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG 
-D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS 
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-Itools/clang/lib/StaticAnalyzer/Checkers 
-I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/lib/StaticAnalyzer/Checkers
 -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include 
-Itools/clang/include -Iinclude 
-I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include 
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time 
-fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings 
-Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long 
-Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-noexcept-type 
-Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation 
-fdiagnostics-color -ffunction-sections -fdata-sections -fno-common 
-Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG  -fno-exceptions 
-funwind-tables -fno-rtti -UNDEBUG -std=c++1z -MD -MT 
tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StackAddrEscapeChecker.cpp.o
 -MF 
tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StackAddrEscapeChecker.cpp.o.d
 -o 
tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StackAddrEscapeChecker.cpp.o
 -c 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp
In file included from 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/AST/Type.h:31:0,
                 from 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/AST/DeclarationName.h:16,
                 from 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/AST/ASTConcept.h:17,
                 from 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/AST/ExprCXX.h:17,
                 from 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp:14:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/PointerAuthOptions.h:70:18:
 warning: ‘clang::PointerAuthSchema::TheKind’ is too small to hold all values 
of ‘enum class clang::PointerAuthSchema::Kind’
   Kind TheKind : 2;
                  ^
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/PointerAuthOptions.h:74:58:
 warning: ‘clang::PointerAuthSchema::SelectedAuthenticationMode’ is too small 
to hold all values of ‘enum class clang::PointerAuthenticationMode’
   PointerAuthenticationMode SelectedAuthenticationMode : 2;
                                                          ^
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Basic/PointerAuthOptions.h:75:39:
 warning: ‘clang::PointerAuthSchema::DiscriminationKind’ is too small to hold 
all values of ‘enum class clang::PointerAuthSchema::Discrimination’
   Discrimination DiscriminationKind : 2;
                                       ^
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp:252:28:
 error: declaration of ‘const clang::StackFrameContext* 
FindStackRegionsSymbolVisitor::StackFrameContext’ [-fpermissive]
   const StackFrameContext *StackFrameContext;
                            ^~~~~~~~~~~~~~~~~
In file included from 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Analysis/ProgramPoint.h:17:0,
                 from 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/StaticAnalyzer/Core/Checker.h:16,
                 from 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h:18,
                 from 
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp:17:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/clang/include/clang/Analysis/AnalysisDeclContext.h:299:7:
 error: changes meaning of ‘StackFrameContext’ from ‘class 
clang::StackFrameContext’ [-fpermissive]
 class StackFrameContext : public LocationContext {
       ^~~~~~~~~~~~~~~~~
29.334 [920/2/6155] Linking CXX static library lib/libFortranSemantics.a
36.202 [920/1/6156] Building InstCombineTables.inc...
ninja: build stopped: subcommand failed.

```

</details>

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

Reply via email to