[llvm] Add the 'initializes' attribute langref and support (PR #84803)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 21 12:24:06 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-cuda-t4` running on `cuda-t4-0` while building `llvm` at step 3 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/69/builds/467
Here is the relevant piece of the build log for the reference:
```
Step 3 (annotate) failure: '/buildbot/cuda-build --jobs=' (failure)
...
[453/1026] Linking CXX executable libc/test/include/libc.test.include.stdckdint_test.__hermetic__.__build__
[454/1026] Linking CXX executable libc/test/include/libc.test.include.assert_test.__hermetic__.__build__
[455/1026] Linking CXX executable libc/test/src/stdbit/libc.test.src.stdbit.stdc_count_ones_ui_test.__hermetic__.__build__
[456/1026] Linking CXX executable libc/test/include/libc.test.include.sys_queue_test.__hermetic__.__build__
[457/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.block_test.__hermetic__.__build__
[458/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.freelist_test.__hermetic__.__build__
[459/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.high_precision_decimal_test.__hermetic__.__build__
[460/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.str_to_float_test.__hermetic__.__build__
[461/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.fixedvector_test.__hermetic__.__build__
[462/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-7e0196.cubin'
nvlink error : Undefined reference to '_ZN22__llvm_libc_19_0_0_git4freeEPv' in '/tmp/freelist_malloc_test.cpp-64cbab.cubin'
nvlink error : Undefined reference to '_ZN22__llvm_libc_19_0_0_git6callocEmm' in '/tmp/freelist_malloc_test.cpp-64cbab.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 5ece35df8586d0cb8c104a9f44eaae771de025f5)
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.
[463/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.endian_test.__hermetic__.__build__
[464/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.math_extras_test.__hermetic__.__build__
[465/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.blockstore_test.__hermetic__.__build__
[466/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.integer_to_string_test.__hermetic__.__build__
[467/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.str_to_integer_test.__hermetic__.__build__
[468/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.integer_literals_test.__hermetic__.__build__
[469/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.char_vector_test.__hermetic__.__build__
[470/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.memory_size_test.__hermetic__.__build__
[471/1026] Linking CXX executable libc/test/src/__support/CPP/libc.test.src.__support.CPP.algorithm_test.__hermetic__.__build__
ninja: build stopped: subcommand failed.
++ err=1
++ echo PID 714372: subprocess exited with error 1
++ exit 1
PID 714372: subprocess exited with error 1
+ step_failure
+ echo @@@STEP_FAILURE@@@
@@@STEP_FAILURE@@@
Step 12 (Testing GPU libc) failure: (failure)
...
[453/1026] Linking CXX executable libc/test/include/libc.test.include.stdckdint_test.__hermetic__.__build__
[454/1026] Linking CXX executable libc/test/include/libc.test.include.assert_test.__hermetic__.__build__
[455/1026] Linking CXX executable libc/test/src/stdbit/libc.test.src.stdbit.stdc_count_ones_ui_test.__hermetic__.__build__
[456/1026] Linking CXX executable libc/test/include/libc.test.include.sys_queue_test.__hermetic__.__build__
[457/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.block_test.__hermetic__.__build__
[458/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.freelist_test.__hermetic__.__build__
[459/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.high_precision_decimal_test.__hermetic__.__build__
[460/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.str_to_float_test.__hermetic__.__build__
[461/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.fixedvector_test.__hermetic__.__build__
[462/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-7e0196.cubin'
nvlink error : Undefined reference to '_ZN22__llvm_libc_19_0_0_git4freeEPv' in '/tmp/freelist_malloc_test.cpp-64cbab.cubin'
nvlink error : Undefined reference to '_ZN22__llvm_libc_19_0_0_git6callocEmm' in '/tmp/freelist_malloc_test.cpp-64cbab.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 5ece35df8586d0cb8c104a9f44eaae771de025f5)
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.
[463/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.endian_test.__hermetic__.__build__
[464/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.math_extras_test.__hermetic__.__build__
[465/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.blockstore_test.__hermetic__.__build__
[466/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.integer_to_string_test.__hermetic__.__build__
[467/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.str_to_integer_test.__hermetic__.__build__
[468/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.integer_literals_test.__hermetic__.__build__
[469/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.char_vector_test.__hermetic__.__build__
[470/1026] Linking CXX executable libc/test/src/__support/libc.test.src.__support.memory_size_test.__hermetic__.__build__
[471/1026] Linking CXX executable libc/test/src/__support/CPP/libc.test.src.__support.CPP.algorithm_test.__hermetic__.__build__
ninja: build stopped: subcommand failed.
++ err=1
++ echo PID 714372: subprocess exited with error 1
++ exit 1
PID 714372: subprocess exited with error 1
+ step_failure
+ echo @@@STEP_FAILURE@@@
program finished with exit code 0
elapsedTime=742.820871
```
https://github.com/llvm/llvm-project/pull/84803
More information about the llvm-commits
mailing list