[flang-commits] [flang] [flang][NFC] Move OpenMP related passes into a separate directory (PR #104732)
LLVM Continuous Integration via flang-commits
flang-commits at lists.llvm.org
Wed Aug 21 07:06:27 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `flang-aarch64-libcxx` running on `linaro-flang-aarch64-libcxx` while building `flang` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/89/builds/4619
Here is the relevant piece of the build log for the reference:
```
Step 5 (build-unified-tree) failure: build (failure)
...
61.595 [360/34/6763] Linking CXX shared library lib/libFortranEvaluate.so.20.0git
64.048 [360/33/6764] Linking CXX shared library lib/libclang-cpp.so.20.0git
69.567 [360/32/6765] Building CXX object tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MarkDeclareTarget.cpp.o
70.334 [360/31/6766] Building CXX object tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MapInfoFinalization.cpp.o
71.831 [360/30/6767] Building CXX object tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/FunctionFiltering.cpp.o
71.843 [350/39/6768] Creating library symlink lib/libclang-cpp.so
71.843 [350/38/6769] Creating library symlink lib/libFortranEvaluate.so
71.850 [350/37/6770] Building StripOpts.inc...
71.852 [350/36/6771] Building WindresOpts.inc...
71.995 [350/35/6772] Linking CXX shared library lib/libFlangOpenMPTransforms.so.20.0git
FAILED: lib/libFlangOpenMPTransforms.so.20.0git
: && /usr/local/bin/c++ -fPIC -stdlib=libc++ -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 -Werror -Wno-deprecated-copy -Wno-string-conversion -Wno-ctad-maybe-unsupported -Wno-unused-command-line-argument -Wstring-conversion -Wcovered-switch-default -Wno-nested-anon-types -O3 -DNDEBUG -stdlib=libc++ -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/./lib -Wl,--gc-sections -shared -Wl,-soname,libFlangOpenMPTransforms.so.20.0git -o lib/libFlangOpenMPTransforms.so.20.0git tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/FunctionFiltering.cpp.o tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MapInfoFinalization.cpp.o tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MarkDeclareTarget.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/lib:" lib/libFIRCodeGen.so.20.0git lib/libFortranCommon.so.20.0git lib/libFIRAnalysis.so.20.0git lib/libFIRBuilder.so.20.0git lib/libHLFIRDialect.so.20.0git lib/libFIRSupport.so.20.0git lib/libFIRDialect.so.20.0git lib/libFIRDialectSupport.so.20.0git lib/libMLIROpenMPDialect.so.20.0git lib/libMLIROpenACCMPCommon.so.20.0git lib/libMLIRFuncDialect.so.20.0git lib/libMLIRLLVMDialect.so.20.0git lib/libMLIRMemorySlotInterfaces.so.20.0git lib/libMLIRCallInterfaces.so.20.0git lib/libMLIRControlFlowInterfaces.so.20.0git lib/libMLIRInferTypeOpInterface.so.20.0git lib/libMLIRSideEffectInterfaces.so.20.0git lib/libMLIRDataLayoutInterfaces.so.20.0git lib/libMLIRFunctionInterfaces.so.20.0git lib/libMLIRIR.so.20.0git lib/libMLIRSupport.so.20.0git lib/libLLVMBitWriter.so.20.0git lib/libLLVMAsmParser.so.20.0git lib/libLLVMBitReader.so.20.0git lib/libLLVMCore.so.20.0git lib/libLLVMBinaryFormat.so.20.0git lib/libLLVMSupport.so.20.0git -Wl,-rpath-link,/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/lib && :
/usr/bin/ld: tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/FunctionFiltering.cpp.o: in function `mlir::Pass::~Pass()':
FunctionFiltering.cpp:(.text._ZN4mlir4PassD2Ev[_ZN4mlir4PassD2Ev]+0x10): undefined reference to `vtable for mlir::Pass'
/usr/bin/ld: FunctionFiltering.cpp:(.text._ZN4mlir4PassD2Ev[_ZN4mlir4PassD2Ev]+0x18): undefined reference to `vtable for mlir::Pass'
/usr/bin/ld: tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/FunctionFiltering.cpp.o:(.data.rel.ro._ZTVN12_GLOBAL__N_121FunctionFilteringPassE+0x40): undefined reference to `mlir::Pass::initializeOptions(llvm::StringRef, llvm::function_ref<llvm::LogicalResult (llvm::Twine const&)>)'
/usr/bin/ld: tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/FunctionFiltering.cpp.o:(.data.rel.ro._ZTVN12_GLOBAL__N_121FunctionFilteringPassE+0x68): undefined reference to `mlir::Pass::anchor()'
/usr/bin/ld: tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MapInfoFinalization.cpp.o:(.data.rel.ro._ZTVN12_GLOBAL__N_123MapInfoFinalizationPassE+0x40): undefined reference to `mlir::Pass::initializeOptions(llvm::StringRef, llvm::function_ref<llvm::LogicalResult (llvm::Twine const&)>)'
/usr/bin/ld: tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MapInfoFinalization.cpp.o:(.data.rel.ro._ZTVN12_GLOBAL__N_123MapInfoFinalizationPassE+0x68): undefined reference to `mlir::Pass::anchor()'
/usr/bin/ld: tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MarkDeclareTarget.cpp.o:(.data.rel.ro._ZTVN12_GLOBAL__N_121MarkDeclareTargetPassE+0x40): undefined reference to `mlir::Pass::initializeOptions(llvm::StringRef, llvm::function_ref<llvm::LogicalResult (llvm::Twine const&)>)'
/usr/bin/ld: tools/flang/lib/Optimizer/OpenMP/CMakeFiles/FlangOpenMPTransforms.dir/MarkDeclareTarget.cpp.o:(.data.rel.ro._ZTVN12_GLOBAL__N_121MarkDeclareTargetPassE+0x68): undefined reference to `mlir::Pass::anchor()'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
72.003 [350/34/6773] Linking CXX executable bin/llvm-objdump
72.031 [350/33/6774] Linking CXX executable bin/llvm-pdbutil
72.034 [350/32/6775] Linking CXX executable bin/llvm-profgen
72.068 [350/31/6776] Linking CXX shared library lib/libclangInterpreter.so.20.0git
72.110 [350/30/6777] Linking CXX executable bin/clang-20
72.225 [350/29/6778] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/CufOpConversion.cpp.o
73.608 [350/28/6779] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/StackReclaim.cpp.o
73.726 [350/27/6780] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AnnotateConstant.cpp.o
73.889 [350/26/6781] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/SimplifyRegionLite.cpp.o
74.278 [350/25/6782] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/ExternalNameConversion.cpp.o
74.389 [350/24/6783] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AlgebraicSimplification.cpp.o
75.154 [350/23/6784] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/ConstantArgumentGlobalisation.cpp.o
75.720 [350/22/6785] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AddAliasTags.cpp.o
76.088 [350/21/6786] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/VScaleAttr.cpp.o
76.300 [350/20/6787] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/SimplifyIntrinsics.cpp.o
76.452 [350/19/6788] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/FunctionAttr.cpp.o
76.472 [350/18/6789] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AssumedRankOpConversion.cpp.o
76.662 [350/17/6790] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AddDebugInfo.cpp.o
76.823 [350/16/6791] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/CharacterConversion.cpp.o
77.017 [350/15/6792] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AffineDemotion.cpp.o
77.842 [350/14/6793] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/LoopVersioning.cpp.o
77.856 [350/13/6794] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AbstractResult.cpp.o
77.914 [350/12/6795] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/ControlFlowConverter.cpp.o
78.036 [350/11/6796] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/MemoryAllocation.cpp.o
78.495 [350/10/6797] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/MemRefDataFlowOpt.cpp.o
78.777 [350/9/6798] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/AffinePromotion.cpp.o
80.309 [350/8/6799] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/ArrayValueCopy.cpp.o
```
https://github.com/llvm/llvm-project/pull/104732
More information about the flang-commits
mailing list