[clang] [NFC][Driver] Change SYCL test file extension .c -> .cpp (PR #173937)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 20 09:36:20 PST 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `hip-third-party-libs-test` running on `ext_buildbot_hw_05-hip-docker` while building `clang` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/206/builds/12177
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/hip-tpl.py --jobs=32' (failure)
...
[8316/8437] Creating library symlink lib/libFIRBuilder.so
[8317/8437] Linking CXX shared library lib/libFIROpenMPSupport.so.23.0git
[8318/8437] Creating library symlink lib/libFIROpenMPSupport.so
[8319/8437] Linking CXX shared library lib/libFortranUtils.so.23.0git
[8320/8437] Creating library symlink lib/libFortranUtils.so
[8321/8437] Linking CXX shared library lib/libFIROpenACCSupport.so.23.0git
[8322/8437] Creating library symlink lib/libFIROpenACCSupport.so
[8323/8437] Linking CXX shared library lib/libFIRAnalysis.so.23.0git
[8324/8437] Creating library symlink lib/libFIRAnalysis.so
[8325/8437] Linking CXX shared library lib/libFIROpenACCAnalysis.so.23.0git
FAILED: lib/libFIROpenACCAnalysis.so.23.0git
: && /usr/bin/c++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-deprecated-copy -Wno-ctad-maybe-unsupported -fno-semantic-interposition -fpch-preprocess -O3 -DNDEBUG -fno-semantic-interposition -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/botworker/bbot/hip-third-party-libs-test/build/./lib -Wl,--gc-sections -shared -Wl,-soname,libFIROpenACCAnalysis.so.23.0git -o lib/libFIROpenACCAnalysis.so.23.0git tools/flang/lib/Optimizer/OpenACC/Analysis/CMakeFiles/FIROpenACCAnalysis.dir/FIROpenACCSupportAnalysis.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/hip-third-party-libs-test/build/lib:" lib/libFIRAnalysis.so.23.0git lib/libFIROpenACCSupport.so.23.0git lib/libHLFIRDialect.so.23.0git lib/libFIRDialect.so.23.0git lib/libMLIROpenACCDialect.so.23.0git lib/libMLIROpenACCMPCommon.so.23.0git lib/libMLIRGPUDialect.so.23.0git lib/libMLIRMemRefDialect.so.23.0git lib/libMLIRArithUtils.so.23.0git lib/libMLIRComplexDialect.so.23.0git lib/libMLIRDialectUtils.so.23.0git lib/libMLIRDLTIDialect.so.23.0git lib/libMLIRMathDialect.so.23.0git lib/libMLIRArithDialect.so.23.0git lib/libMLIRInferIntRangeCommon.so.23.0git lib/libMLIRShapedOpInterfaces.so.23.0git lib/libMLIRCastInterfaces.so.23.0git lib/libMLIRDialect.so.23.0git lib/libMLIRLLVMDialect.so.23.0git lib/libMLIRPtrMemorySpaceInterfaces.so.23.0git lib/libMLIRMemorySlotInterfaces.so.23.0git lib/libMLIRMemOpInterfaces.so.23.0git lib/libMLIRUBDialect.so.23.0git lib/libMLIRValueBoundsOpInterface.so.23.0git lib/libMLIRDestinationStyleOpInterface.so.23.0git lib/libMLIRAnalysis.so.23.0git lib/libMLIRControlFlowInterfaces.so.23.0git lib/libMLIRSideEffectInterfaces.so.23.0git lib/libMLIRDataLayoutInterfaces.so.23.0git lib/libMLIRInferTypeOpInterface.so.23.0git lib/libMLIRInferStridedMetadataInterface.so.23.0git lib/libMLIRInferIntRangeInterface.so.23.0git lib/libMLIRViewLikeInterface.so.23.0git lib/libMLIRLoopLikeInterface.so.23.0git lib/libMLIRFunctionInterfaces.so.23.0git lib/libMLIRCallInterfaces.so.23.0git lib/libMLIRPresburger.so.23.0git lib/libMLIRIR.so.23.0git lib/libMLIRSupport.so.23.0git lib/libLLVMCore.so.23.0git lib/libLLVMBinaryFormat.so.23.0git lib/libLLVMSupport.so.23.0git -Wl,-rpath-link,/home/botworker/bbot/hip-third-party-libs-test/build/lib && :
/usr/bin/ld: tools/flang/lib/Optimizer/OpenACC/Analysis/CMakeFiles/FIROpenACCAnalysis.dir/FIROpenACCSupportAnalysis.cpp.o: in function `fir::acc::FIROpenACCSupportAnalysis::isValidValueUse(mlir::Value, mlir::Region&)':
FIROpenACCSupportAnalysis.cpp:(.text._ZN3fir3acc25FIROpenACCSupportAnalysis15isValidValueUseEN4mlir5ValueERNS2_6RegionE+0xf): undefined reference to `mlir::acc::isValidValueUse(mlir::Value, mlir::Region&)'
collect2: error: ld returned 1 exit status
[8326/8437] Linking CXX shared library lib/libFIRTestOpenACCInterfaces.so.23.0git
[8327/8437] Linking CXX shared library lib/libFIRCodeGen.so.23.0git
[8328/8437] Linking CXX shared library lib/libFlangOpenMPTransforms.so.23.0git
[8329/8437] Linking CXX executable bin/fir-lsp-server
[8330/8437] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/MultiImageFortran.cpp.o
In file included from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/Support/MemoryBuffer.h:17,
from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/flang/include/flang/Parser/source.h:19,
from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/flang/include/flang/Parser/provenance.h:15,
from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/flang/include/flang/Parser/message.h:17,
from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/flang/include/flang/Evaluate/common.h:19,
from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/flang/include/flang/Evaluate/expression.h:19,
from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/flang/include/flang/Semantics/tools.h:16,
from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/flang/include/flang/Lower/Support/Utils.h:18,
from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/flang/include/flang/Lower/ConvertExpr.h:20,
from /home/botworker/bbot/hip-third-party-libs-test/build/tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/cmake_pch.hxx:5,
from <command-line>:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = mlir::Block*]’:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/mlir/include/mlir/IR/BlockSupport.h:116:44: required from here
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:112:41: warning: initializing ‘llvm::ArrayRef<mlir::Block*>::Data’ from ‘std::initializer_list<mlir::Block*>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
112 | : Data(Vec.begin() == Vec.end() ? (T *)nullptr : Vec.begin()),
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = long int]’:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/mlir/include/mlir/IR/AffineMap.h:294:38: required from here
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:112:41: warning: initializing ‘llvm::ArrayRef<long int>::Data’ from ‘std::initializer_list<long int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = mlir::Value]’:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/mlir/include/mlir/IR/ValueRange.h:405:42: required from here
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:112:41: warning: initializing ‘llvm::ArrayRef<mlir::Value>::Data’ from ‘std::initializer_list<mlir::Value>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = mlir::Type]’:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/mlir/include/mlir/IR/TypeRange.h:53:39: required from here
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:112:41: warning: initializing ‘llvm::ArrayRef<mlir::Type>::Data’ from ‘std::initializer_list<mlir::Type>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = unsigned int]’:
/home/botworker/bbot/hip-third-party-libs-test/build/tools/mlir/include/mlir/Interfaces/FunctionInterfaces.h.inc:270:29: required from here
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:112:41: warning: initializing ‘llvm::ArrayRef<unsigned int>::Data’ from ‘std::initializer_list<unsigned int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = mlir::DictionaryAttr]’:
Step 7 (build cmake config) failure: build cmake config (failure)
...
[8316/8437] Creating library symlink lib/libFIRBuilder.so
[8317/8437] Linking CXX shared library lib/libFIROpenMPSupport.so.23.0git
[8318/8437] Creating library symlink lib/libFIROpenMPSupport.so
[8319/8437] Linking CXX shared library lib/libFortranUtils.so.23.0git
[8320/8437] Creating library symlink lib/libFortranUtils.so
[8321/8437] Linking CXX shared library lib/libFIROpenACCSupport.so.23.0git
[8322/8437] Creating library symlink lib/libFIROpenACCSupport.so
[8323/8437] Linking CXX shared library lib/libFIRAnalysis.so.23.0git
[8324/8437] Creating library symlink lib/libFIRAnalysis.so
[8325/8437] Linking CXX shared library lib/libFIROpenACCAnalysis.so.23.0git
FAILED: lib/libFIROpenACCAnalysis.so.23.0git
: && /usr/bin/c++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-deprecated-copy -Wno-ctad-maybe-unsupported -fno-semantic-interposition -fpch-preprocess -O3 -DNDEBUG -fno-semantic-interposition -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/botworker/bbot/hip-third-party-libs-test/build/./lib -Wl,--gc-sections -shared -Wl,-soname,libFIROpenACCAnalysis.so.23.0git -o lib/libFIROpenACCAnalysis.so.23.0git tools/flang/lib/Optimizer/OpenACC/Analysis/CMakeFiles/FIROpenACCAnalysis.dir/FIROpenACCSupportAnalysis.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/hip-third-party-libs-test/build/lib:" lib/libFIRAnalysis.so.23.0git lib/libFIROpenACCSupport.so.23.0git lib/libHLFIRDialect.so.23.0git lib/libFIRDialect.so.23.0git lib/libMLIROpenACCDialect.so.23.0git lib/libMLIROpenACCMPCommon.so.23.0git lib/libMLIRGPUDialect.so.23.0git lib/libMLIRMemRefDialect.so.23.0git lib/libMLIRArithUtils.so.23.0git lib/libMLIRComplexDialect.so.23.0git lib/libMLIRDialectUtils.so.23.0git lib/libMLIRDLTIDialect.so.23.0git lib/libMLIRMathDialect.so.23.0git lib/libMLIRArithDialect.so.23.0git lib/libMLIRInferIntRangeCommon.so.23.0git lib/libMLIRShapedOpInterfaces.so.23.0git lib/libMLIRCastInterfaces.so.23.0git lib/libMLIRDialect.so.23.0git lib/libMLIRLLVMDialect.so.23.0git lib/libMLIRPtrMemorySpaceInterfaces.so.23.0git lib/libMLIRMemorySlotInterfaces.so.23.0git lib/libMLIRMemOpInterfaces.so.23.0git lib/libMLIRUBDialect.so.23.0git lib/libMLIRValueBoundsOpInterface.so.23.0git lib/libMLIRDestinationStyleOpInterface.so.23.0git lib/libMLIRAnalysis.so.23.0git lib/libMLIRControlFlowInterfaces.so.23.0git lib/libMLIRSideEffectInterfaces.so.23.0git lib/libMLIRDataLayoutInterfaces.so.23.0git lib/libMLIRInferTypeOpInterface.so.23.0git lib/libMLIRInferStridedMetadataInterface.so.23.0git lib/libMLIRInferIntRangeInterface.so.23.0git lib/libMLIRViewLikeInterface.so.23.0git lib/libMLIRLoopLikeInterface.so.23.0git lib/libMLIRFunctionInterfaces.so.23.0git lib/libMLIRCallInterfaces.so.23.0git lib/libMLIRPresburger.so.23.0git lib/libMLIRIR.so.23.0git lib/libMLIRSupport.so.23.0git lib/libLLVMCore.so.23.0git lib/libLLVMBinaryFormat.so.23.0git lib/libLLVMSupport.so.23.0git -Wl,-rpath-link,/home/botworker/bbot/hip-third-party-libs-test/build/lib && :
/usr/bin/ld: tools/flang/lib/Optimizer/OpenACC/Analysis/CMakeFiles/FIROpenACCAnalysis.dir/FIROpenACCSupportAnalysis.cpp.o: in function `fir::acc::FIROpenACCSupportAnalysis::isValidValueUse(mlir::Value, mlir::Region&)':
FIROpenACCSupportAnalysis.cpp:(.text._ZN3fir3acc25FIROpenACCSupportAnalysis15isValidValueUseEN4mlir5ValueERNS2_6RegionE+0xf): undefined reference to `mlir::acc::isValidValueUse(mlir::Value, mlir::Region&)'
collect2: error: ld returned 1 exit status
[8326/8437] Linking CXX shared library lib/libFIRTestOpenACCInterfaces.so.23.0git
[8327/8437] Linking CXX shared library lib/libFIRCodeGen.so.23.0git
[8328/8437] Linking CXX shared library lib/libFlangOpenMPTransforms.so.23.0git
[8329/8437] Linking CXX executable bin/fir-lsp-server
[8330/8437] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/MultiImageFortran.cpp.o
In file included from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/Support/MemoryBuffer.h:17,
from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/flang/include/flang/Parser/source.h:19,
from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/flang/include/flang/Parser/provenance.h:15,
from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/flang/include/flang/Parser/message.h:17,
from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/flang/include/flang/Evaluate/common.h:19,
from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/flang/include/flang/Evaluate/expression.h:19,
from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/flang/include/flang/Semantics/tools.h:16,
from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/flang/include/flang/Lower/Support/Utils.h:18,
from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/flang/include/flang/Lower/ConvertExpr.h:20,
from /home/botworker/bbot/hip-third-party-libs-test/build/tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/cmake_pch.hxx:5,
from <command-line>:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = mlir::Block*]’:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/mlir/include/mlir/IR/BlockSupport.h:116:44: required from here
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:112:41: warning: initializing ‘llvm::ArrayRef<mlir::Block*>::Data’ from ‘std::initializer_list<mlir::Block*>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
112 | : Data(Vec.begin() == Vec.end() ? (T *)nullptr : Vec.begin()),
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = long int]’:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/mlir/include/mlir/IR/AffineMap.h:294:38: required from here
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:112:41: warning: initializing ‘llvm::ArrayRef<long int>::Data’ from ‘std::initializer_list<long int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = mlir::Value]’:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/mlir/include/mlir/IR/ValueRange.h:405:42: required from here
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:112:41: warning: initializing ‘llvm::ArrayRef<mlir::Value>::Data’ from ‘std::initializer_list<mlir::Value>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = mlir::Type]’:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/mlir/include/mlir/IR/TypeRange.h:53:39: required from here
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:112:41: warning: initializing ‘llvm::ArrayRef<mlir::Type>::Data’ from ‘std::initializer_list<mlir::Type>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = unsigned int]’:
/home/botworker/bbot/hip-third-party-libs-test/build/tools/mlir/include/mlir/Interfaces/FunctionInterfaces.h.inc:270:29: required from here
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:112:41: warning: initializing ‘llvm::ArrayRef<unsigned int>::Data’ from ‘std::initializer_list<unsigned int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/ArrayRef.h: In instantiation of ‘constexpr llvm::ArrayRef<T>::ArrayRef(std::initializer_list<_Tp>) [with T = mlir::DictionaryAttr]’:
```
</details>
https://github.com/llvm/llvm-project/pull/173937
More information about the cfe-commits
mailing list