llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-cuda-t4` running on `cuda-t4-0` while building `clang` at step 3 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/69/builds/456 Here is the relevant piece of the build log for the reference: ``` Step 3 (annotate) failure: '/buildbot/cuda-build --jobs=' (failure) ... [462/1026] Linking CXX executable libc/test/src/stdbit/libc.test.src.stdbit.stdc_count_ones_uc_test.__hermetic__.__build__ [463/1026] Linking CXX executable libc/test/include/libc.test.include.assert_test.__hermetic__.__build__ [464/1026] Linking CXX executable libc/test/include/libc.test.include.sys_queue_test.__hermetic__.__build__ [465/1026] Linking CXX executable libc/test/src/stdbit/libc.test.src.stdbit.stdc_count_ones_us_test.__hermetic__.__build__ [466/1026] Linking CXX executable libc/test/src/stdbit/libc.test.src.stdbit.stdc_count_ones_ui_test.__hermetic__.__build__ [467/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.block_test.__hermetic__.__build__ [468/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.blockstore_test.__hermetic__.__build__ [469/1026] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.atof_test.__hermetic__.__build__.dir/atof_test.cpp.o [470/1026] Linking CXX executable libc/test/include/libc.test.include.stdckdint_test.__hermetic__.__build__ [471/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.freelist_heap_test.__hermetic__.__build__ FAILED: libc/test/src/__support/libc.test.src.__support.freelist_heap_test.__hermetic__.__build__ : && /buildbot/cuda-t4-0/work/clang-cuda-t4/clang/bin/clang++ -O3 -DNDEBUG --target=nvptx64-nvidia-cuda -Wno-multi-gpu -Wl,--suppress-stack-size-warning -march=native -nostdlib -static --cuda-path=/usr/local/cuda-12.2 libc/src/__support/CPP/CMakeFiles/libc.src.__support.CPP.new.__internal__.dir/new.cpp.o libc/src/__support/RPC/CMakeFiles/libc.src.__support.RPC.rpc_client.__internal__.dir/rpc_client.cpp.o libc/src/__support/OSUtil/gpu/CMakeFiles/libc.src.__support.OSUtil.gpu.gpu_util.__internal__.dir/exit.cpp.o libc/src/__support/OSUtil/gpu/CMakeFiles/libc.src.__support.OSUtil.gpu.gpu_util.__internal__.dir/io.cpp.o libc/src/__support/GPU/CMakeFiles/libc.src.__support.GPU.allocator.__internal__.dir/allocator.cpp.o libc/src/stdlib/gpu/CMakeFiles/libc.src.stdlib.gpu.malloc.__internal__.dir/malloc.cpp.o libc/src/string/CMakeFiles/libc.src.string.memcmp.__internal__.dir/memcmp.cpp.o libc/src/string/CMakeFiles/libc.src.string.memcpy.__internal__.dir/memcpy.cpp.o libc/src/stdlib/CMakeFiles/libc.src.stdlib._Exit.__internal__.dir/_Exit.cpp.o libc/src/stdlib/CMakeFiles/libc.src.stdlib.exit_handler.__internal__.dir/exit_handler.cpp.o libc/src/stdlib/CMakeFiles/libc.src.stdlib.atexit.__internal__.dir/atexit.cpp.o libc/src/stdlib/CMakeFiles/libc.src.stdlib.exit.__internal__.dir/exit.cpp.o libc/startup/gpu/nvptx/CMakeFiles/libc.startup.gpu.nvptx.crt1.__internal__.dir/start.cpp.o libc/src/string/CMakeFiles/libc.src.string.bcmp.__internal__.dir/bcmp.cpp.o libc/src/string/CMakeFiles/libc.src.string.bzero.__internal__.dir/bzero.cpp.o libc/src/string/CMakeFiles/libc.src.string.memmove.__internal__.dir/memmove.cpp.o libc/src/string/CMakeFiles/libc.src.string.memset.__internal__.dir/memset.cpp.o libc/src/__support/StringUtil/CMakeFiles/libc.src.__support.StringUtil.error_to_string.__internal__.dir/error_to_string.cpp.o libc/src/time/gpu/CMakeFiles/libc.src.time.gpu.time_utils.__internal__.dir/time_utils.cpp.o libc/src/time/gpu/CMakeFiles/libc.src.time.gpu.clock.__internal__.dir/clock.cpp.o libc/test/UnitTest/CMakeFiles/LibcTest.hermetic.dir/CmakeFilePath.cpp.o libc/test/UnitTest/CMakeFiles/LibcTest.hermetic.dir/LibcTest.cpp.o libc/test/UnitTest/CMakeFiles/LibcTest.hermetic.dir/LibcTestMain.cpp.o libc/test/UnitTest/CMakeFiles/LibcTest.hermetic.dir/TestLogger.cpp.o libc/test/UnitTest/CMakeFiles/LibcHermeticTestSupport.hermetic.dir/HermeticTestUtils.cpp.o libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_heap_test.__hermetic__.__build__.dir/freelist_heap_test.cpp.o libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_heap_test.__hermetic__.__build__.dir/freelist_malloc_test.cpp.o -o libc/test/src/__support/libc.test.src.__support.freelist_heap_test.__hermetic__.__build__ -llibc.startup.gpu.crt1.__internal__ && : nvlink error : Undefined reference to '_ZN22__llvm_libc_19_0_0_git13freelist_heapE' in '/tmp/freelist_heap_test.cpp-267f71.cubin' nvlink error : Undefined reference to '_ZN22__llvm_libc_19_0_0_git4freeEPv' in '/tmp/freelist_malloc_test.cpp-eff103.cubin' nvlink error : Undefined reference to '_ZN22__llvm_libc_19_0_0_git6callocEmm' in '/tmp/freelist_malloc_test.cpp-eff103.cubin' clang++: error: nvlink command failed with exit code 255 (use -v to see invocation) clang version 19.0.0git (https://github.com/llvm/llvm-project.git f2b17d2582b45dbe83421d29e77cc1d5fdf4e069) Target: nvptx64-nvidia-cuda Thread model: posix InstalledDir: /buildbot/cuda-t4-0/work/clang-cuda-t4/clang/bin Build config: +assertions clang++: note: diagnostic msg: Error generating preprocessed source(s) - no preprocessable inputs. [472/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.freelist_test.__hermetic__.__build__ [473/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.endian_test.__hermetic__.__build__ [474/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.math_extras_test.__hermetic__.__build__ [475/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.str_to_float_test.__hermetic__.__build__ [476/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.high_precision_decimal_test.__hermetic__.__build__ [477/1026] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtod_test.__hermetic__.__build__.dir/strtod_test.cpp.o [478/1026] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtol_test.__hermetic__.__build__.dir/strtol_test.cpp.o [479/1026] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtof_test.__hermetic__.__build__.dir/strtof_test.cpp.o [480/1026] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtoint32_test.__hermetic__.__build__.dir/strtoint32_test.cpp.o ninja: build stopped: subcommand failed. ++ err=1 ++ echo PID 571117: subprocess exited with error 1 ++ exit 1 PID 571117: subprocess exited with error 1 + step_failure + echo @@@STEP_FAILURE@@@ @@@STEP_FAILURE@@@ Step 12 (Testing GPU libc) failure: (failure) ... [462/1026] Linking CXX executable libc/test/src/stdbit/libc.test.src.stdbit.stdc_count_ones_uc_test.__hermetic__.__build__ [463/1026] Linking CXX executable libc/test/include/libc.test.include.assert_test.__hermetic__.__build__ [464/1026] Linking CXX executable libc/test/include/libc.test.include.sys_queue_test.__hermetic__.__build__ [465/1026] Linking CXX executable libc/test/src/stdbit/libc.test.src.stdbit.stdc_count_ones_us_test.__hermetic__.__build__ [466/1026] Linking CXX executable libc/test/src/stdbit/libc.test.src.stdbit.stdc_count_ones_ui_test.__hermetic__.__build__ [467/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.block_test.__hermetic__.__build__ [468/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.blockstore_test.__hermetic__.__build__ [469/1026] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.atof_test.__hermetic__.__build__.dir/atof_test.cpp.o [470/1026] Linking CXX executable libc/test/include/libc.test.include.stdckdint_test.__hermetic__.__build__ [471/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.freelist_heap_test.__hermetic__.__build__ FAILED: libc/test/src/__support/libc.test.src.__support.freelist_heap_test.__hermetic__.__build__ : && /buildbot/cuda-t4-0/work/clang-cuda-t4/clang/bin/clang++ -O3 -DNDEBUG --target=nvptx64-nvidia-cuda -Wno-multi-gpu -Wl,--suppress-stack-size-warning -march=native -nostdlib -static --cuda-path=/usr/local/cuda-12.2 libc/src/__support/CPP/CMakeFiles/libc.src.__support.CPP.new.__internal__.dir/new.cpp.o libc/src/__support/RPC/CMakeFiles/libc.src.__support.RPC.rpc_client.__internal__.dir/rpc_client.cpp.o libc/src/__support/OSUtil/gpu/CMakeFiles/libc.src.__support.OSUtil.gpu.gpu_util.__internal__.dir/exit.cpp.o libc/src/__support/OSUtil/gpu/CMakeFiles/libc.src.__support.OSUtil.gpu.gpu_util.__internal__.dir/io.cpp.o libc/src/__support/GPU/CMakeFiles/libc.src.__support.GPU.allocator.__internal__.dir/allocator.cpp.o libc/src/stdlib/gpu/CMakeFiles/libc.src.stdlib.gpu.malloc.__internal__.dir/malloc.cpp.o libc/src/string/CMakeFiles/libc.src.string.memcmp.__internal__.dir/memcmp.cpp.o libc/src/string/CMakeFiles/libc.src.string.memcpy.__internal__.dir/memcpy.cpp.o libc/src/stdlib/CMakeFiles/libc.src.stdlib._Exit.__internal__.dir/_Exit.cpp.o libc/src/stdlib/CMakeFiles/libc.src.stdlib.exit_handler.__internal__.dir/exit_handler.cpp.o libc/src/stdlib/CMakeFiles/libc.src.stdlib.atexit.__internal__.dir/atexit.cpp.o libc/src/stdlib/CMakeFiles/libc.src.stdlib.exit.__internal__.dir/exit.cpp.o libc/startup/gpu/nvptx/CMakeFiles/libc.startup.gpu.nvptx.crt1.__internal__.dir/start.cpp.o libc/src/string/CMakeFiles/libc.src.string.bcmp.__internal__.dir/bcmp.cpp.o libc/src/string/CMakeFiles/libc.src.string.bzero.__internal__.dir/bzero.cpp.o libc/src/string/CMakeFiles/libc.src.string.memmove.__internal__.dir/memmove.cpp.o libc/src/string/CMakeFiles/libc.src.string.memset.__internal__.dir/memset.cpp.o libc/src/__support/StringUtil/CMakeFiles/libc.src.__support.StringUtil.error_to_string.__internal__.dir/error_to_string.cpp.o libc/src/time/gpu/CMakeFiles/libc.src.time.gpu.time_utils.__internal__.dir/time_utils.cpp.o libc/src/time/gpu/CMakeFiles/libc.src.time.gpu.clock.__internal__.dir/clock.cpp.o libc/test/UnitTest/CMakeFiles/LibcTest.hermetic.dir/CmakeFilePath.cpp.o libc/test/UnitTest/CMakeFiles/LibcTest.hermetic.dir/LibcTest.cpp.o libc/test/UnitTest/CMakeFiles/LibcTest.hermetic.dir/LibcTestMain.cpp.o libc/test/UnitTest/CMakeFiles/LibcTest.hermetic.dir/TestLogger.cpp.o libc/test/UnitTest/CMakeFiles/LibcHermeticTestSupport.hermetic.dir/HermeticTestUtils.cpp.o libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_heap_test.__hermetic__.__build__.dir/freelist_heap_test.cpp.o libc/test/src/__support/CMakeFiles/libc.test.src.__support.freelist_heap_test.__hermetic__.__build__.dir/freelist_malloc_test.cpp.o -o libc/test/src/__support/libc.test.src.__support.freelist_heap_test.__hermetic__.__build__ -llibc.startup.gpu.crt1.__internal__ && : nvlink error : Undefined reference to '_ZN22__llvm_libc_19_0_0_git13freelist_heapE' in '/tmp/freelist_heap_test.cpp-267f71.cubin' nvlink error : Undefined reference to '_ZN22__llvm_libc_19_0_0_git4freeEPv' in '/tmp/freelist_malloc_test.cpp-eff103.cubin' nvlink error : Undefined reference to '_ZN22__llvm_libc_19_0_0_git6callocEmm' in '/tmp/freelist_malloc_test.cpp-eff103.cubin' clang++: error: nvlink command failed with exit code 255 (use -v to see invocation) clang version 19.0.0git (https://github.com/llvm/llvm-project.git f2b17d2582b45dbe83421d29e77cc1d5fdf4e069) Target: nvptx64-nvidia-cuda Thread model: posix InstalledDir: /buildbot/cuda-t4-0/work/clang-cuda-t4/clang/bin Build config: +assertions clang++: note: diagnostic msg: Error generating preprocessed source(s) - no preprocessable inputs. [472/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.freelist_test.__hermetic__.__build__ [473/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.endian_test.__hermetic__.__build__ [474/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.math_extras_test.__hermetic__.__build__ [475/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.str_to_float_test.__hermetic__.__build__ [476/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.high_precision_decimal_test.__hermetic__.__build__ [477/1026] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtod_test.__hermetic__.__build__.dir/strtod_test.cpp.o [478/1026] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtol_test.__hermetic__.__build__.dir/strtol_test.cpp.o [479/1026] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtof_test.__hermetic__.__build__.dir/strtof_test.cpp.o [480/1026] Building CXX object libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.strtoint32_test.__hermetic__.__build__.dir/strtoint32_test.cpp.o ninja: build stopped: subcommand failed. ++ err=1 ++ echo PID 571117: subprocess exited with error 1 ++ exit 1 PID 571117: subprocess exited with error 1 + step_failure + echo @@@STEP_FAILURE@@@ program finished with exit code 0 elapsedTime=434.335271 ``` https://github.com/llvm/llvm-project/pull/95873 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits