llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-nvptx-nvidia-ubuntu` running on `as-builder-7` while building `clang,llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/180/builds/38075 <details> <summary>Here is the relevant piece of the build log for the reference</summary> ``` Step 5 (build-unified-tree) failure: build (failure) ... 1.173 [2587/10/333] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o 1.196 [2587/9/334] Linking CXX static library lib/libDynamicLibraryLib.a 1.220 [2587/8/335] Linking CXX executable bin/llvm-PerfectShuffle 1.231 [2587/7/336] Linking CXX shared module unittests/Support/DynamicLibrary/PipSqueak.so 1.232 [2587/6/337] Linking CXX shared module unittests/Support/DynamicLibrary/SecondLib.so 1.253 [2587/5/338] Linking CXX shared library lib/libbenchmark.so.0.0.0 1.276 [2586/5/339] Creating library symlink lib/libbenchmark.so.0 lib/libbenchmark.so 1.343 [2585/5/340] Linking CXX shared library lib/libbenchmark_main.so.0.0.0 1.365 [2584/5/341] Creating library symlink lib/libbenchmark_main.so.0 lib/libbenchmark_main.so 6.122 [2584/4/342] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /usr/bin/c++ -DLLVM_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/home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/build/lib/Support -I/home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/lib/Support -I/home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/build/include -I/home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/include -I/home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../third-party/siphash/include -I/home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc -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-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-dangling-pointer -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -Wno-c99-extensions -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o -c /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/lib/Support/APFloat.cpp In file included from /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/shared/math/erfcf16.h:15, from /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/shared/math.h:101, from /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/lib/Support/APFloat.cpp:43: /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/src/__support/math/erfcf16.h:96:5: warning: ‘f16’ or ‘F16’ suffix on floating constant only available with ‘-std=c++2b’ or ‘-std=gnu++2b’ [-Wpedantic] 96 | return 1.0f16; | ^~~~~~ /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/src/__support/math/erfcf16.h:110:5: warning: ‘f16’ or ‘F16’ suffix on floating constant only available with ‘-std=c++2b’ or ‘-std=gnu++2b’ [-Wpedantic] 110 | return 0.0f16; | ^~~~~~ In file included from /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/shared/math/erff16.h:15, from /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/shared/math.h:103: /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/src/__support/math/erff16.h:137:7: warning: ‘f16’ or ‘F16’ suffix on floating constant only available with ‘-std=c++2b’ or ‘-std=gnu++2b’ [-Wpedantic] 137 | return is_neg ? -1.0f16 : 1.0f16; | ^~~~~~ /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/src/__support/math/erff16.h:137:7: warning: ‘f16’ or ‘F16’ suffix on floating constant only available with ‘-std=c++2b’ or ‘-std=gnu++2b’ [-Wpedantic] /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/src/__support/math/erff16.h:147:3: warning: ‘f16’ or ‘F16’ suffix on floating constant only available with ‘-std=c++2b’ or ‘-std=gnu++2b’ [-Wpedantic] 147 | int idx = static_cast<int>(xbits.abs().get_val() * 8.0f16); | ^~~ In file included from /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/src/__support/FPUtil/generic/add_sub.h:16, from /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/src/__support/FPUtil/bfloat16.h:18, from /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/src/__support/math/asinbf16.h:15, from /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/shared/math/asinbf16.h:13, from /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/shared/math.h:22: /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/src/__support/FPUtil/BasicOperations.h: In function ‘constexpr __llvm_libc_apfloat::cpp::enable_if_t<is_floating_point_v<T>, T> __llvm_libc_apfloat::fputil::internal::max(T, T) [with T = _Float16; __llvm_libc_apfloat::cpp::enable_if_t<is_floating_point_v<T>, T> = _Float16]’: /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/src/__support/FPUtil/BasicOperations.h:64:27: warning: call to non-‘constexpr’ function ‘__llvm_libc_apfloat::fputil::FPBits<T>::FPBits(XType) [with XType = _Float16; T = _Float16]’ [-Winvalid-constexpr] 64 | FPBits<float16> x_bits(x); | ^ In file included from /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/src/__support/FPUtil/dyadic_float.h:13, from /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/src/__support/math/asin_utils.h:14, from /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/src/__support/math/acos.h:12, from /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/shared/math/acos.h:13, from /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/shared/math.h:14: /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/src/__support/FPUtil/FPBits.h:839:39: note: ‘__llvm_libc_apfloat::fputil::FPBits<T>::FPBits(XType) [with XType = _Float16; T = _Float16]’ declared here 839 | LIBC_INLINE LIBC_CONSTEXPR explicit FPBits(XType x) { | ^~~~~~ /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/src/__support/FPUtil/BasicOperations.h: In function ‘constexpr __llvm_libc_apfloat::cpp::enable_if_t<is_floating_point_v<T>, T> __llvm_libc_apfloat::fputil::internal::min(T, T) [with T = _Float16; __llvm_libc_apfloat::cpp::enable_if_t<is_floating_point_v<T>, T> = _Float16]’: /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/../libc/src/__support/FPUtil/BasicOperations.h:117:27: warning: call to non-‘constexpr’ function ‘__llvm_libc_apfloat::fputil::FPBits<T>::FPBits(XType) [with XType = _Float16; T = _Float16]’ [-Winvalid-constexpr] ``` </details> https://github.com/llvm/llvm-project/pull/172366 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
