BEGIN 1767673789.7307353 EXEC /therock/output/build/base/rocm_smi_lib/build /usr/local/therock-tools/bin/cmake -E env --unset=ROCM_PATH --unset=ROCM_DIR --unset=HIP_PATH --unset=HIP_DIR -- /usr/local/therock-tools/bin/cmake --build /therock/output/build/base/rocm_smi_lib/build 0.2 [1/39] cd /therock/output/build/base/rocm_smi_lib/build && /usr/local/therock-tools/bin/cmake -E rm -f /therock/output/build/base/rocm_smi_lib/stamp/stage.stamp 0.3 [2/39] cd /therock/output/build/base/rocm_smi_lib/build/rocm_smi && /usr/local/therock-tools/bin/cmake -E create_symlink ../libexec/rocm_smi/rocm_smi.py /therock/output/build/base/rocm_smi_lib/build/rocm_smi/bin/rocm-smi 1.4 [3/39] Building C object oam/CMakeFiles/oam_ex.dir/example/oam_example.c.o 1.7 [4/39] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_lib_loader.cc.o 1.8 [5/39] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_lib_loader.cc.o 3.0 [6/39] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_power_mon.cc.o 3.4 [7/39] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_power_mon.cc.o 4.2 [8/39] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_logger.cc.o 4.2 [9/39] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_logger.cc.o 4.2 [10/39] Building CXX object oam/CMakeFiles/oam.dir/__/third_party/shared_mutex/shared_mutex.cc.o 4.2 [11/39] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_properties.cc.o 4.5 [12/39] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/third_party/shared_mutex/shared_mutex.cc.o 4.5 [13/39] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_counters.cc.o 5.2 [14/39] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_counters.cc.o 5.2 [15/39] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_io_link.cc.o 5.2 [16/39] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_properties.cc.o 5.5 [17/39] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_io_link.cc.o 6.8 [18/39] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_kfd.cc.o 7.2 [19/39] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_main.cc.o 7.5 [20/39] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_device.cc.o 7.6 [21/39] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_device.cc.o 7.7 [22/39] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_kfd.cc.o 7.8 [23/39] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_main.cc.o 8.0 [24/39] Building CXX object rocm_smi/CMakeFiles/rocm_smi_ex.dir/example/rocm_smi_example.cc.o 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc: In function ‘rsmi_status_t test_set_compute_partitioning(uint32_t)’: 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc:634:44: warning: the address of ‘originalComputePartition’ will never be NULL [-Waddress] 8.0 634 | << (((originalComputePartition == nullptr) 8.0 | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc:622:8: note: ‘originalComputePartition’ declared here 8.0 622 | char originalComputePartition[kLength]; 8.0 | ^~~~~~~~~~~~~~~~~~~~~~~~ 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc:635:47: warning: the address of ‘originalComputePartition’ will never be NULL [-Waddress] 8.0 635 | || ((originalComputePartition != nullptr) 8.0 | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc:622:8: note: ‘originalComputePartition’ declared here 8.0 622 | char originalComputePartition[kLength]; 8.0 | ^~~~~~~~~~~~~~~~~~~~~~~~ 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc: In function ‘rsmi_status_t test_set_memory_partition(uint32_t)’: 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc:682:43: warning: the address of ‘originalMemoryPartition’ will never be NULL [-Waddress] 8.0 682 | << (((originalMemoryPartition == nullptr) 8.0 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc:671:8: note: ‘originalMemoryPartition’ declared here 8.0 671 | char originalMemoryPartition[kLength]; 8.0 | ^~~~~~~~~~~~~~~~~~~~~~~ 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc:683:46: warning: the address of ‘originalMemoryPartition’ will never be NULL [-Waddress] 8.0 683 | || ((originalMemoryPartition != nullptr) 8.0 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc:671:8: note: ‘originalMemoryPartition’ declared here 8.0 671 | char originalMemoryPartition[kLength]; 8.0 | ^~~~~~~~~~~~~~~~~~~~~~~ 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc: In function ‘int main()’: 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc:784:47: warning: the address of ‘current_compute_partition’ will never be NULL [-Waddress] 8.0 784 | << (((current_compute_partition == nullptr) 8.0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc:780:10: note: ‘current_compute_partition’ declared here 8.0 780 | char current_compute_partition[256]; 8.0 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc:785:50: warning: the address of ‘current_compute_partition’ will never be NULL [-Waddress] 8.0 785 | || ((current_compute_partition != nullptr) 8.0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc:780:10: note: ‘current_compute_partition’ declared here 8.0 780 | char current_compute_partition[256]; 8.0 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc:800:38: warning: the address of ‘memory_partition’ will never be NULL [-Waddress] 8.0 800 | << (((memory_partition == nullptr) 8.0 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc:796:10: note: ‘memory_partition’ declared here 8.0 796 | char memory_partition[kLength]; 8.0 | ^~~~~~~~~~~~~~~~ 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc:801:41: warning: the address of ‘memory_partition’ will never be NULL [-Waddress] 8.0 801 | || ((memory_partition != nullptr) 8.0 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc:796:10: note: ‘memory_partition’ declared here 8.0 796 | char memory_partition[kLength]; 8.0 | ^~~~~~~~~~~~~~~~ 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc:1205:49: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘float’ may change value [-Wconversion] 8.0 1205 | std::cout << (static_cast(val_i64)/val_ui64) * 100; 8.0 | ^~~~~~~~ 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc: In instantiation of ‘constexpr float convert_mw_to_w(T) [with T = long unsigned int]’: 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc:1236:35: required from here 8.0 /therock/src/rocm-systems/projects/rocm-smi-lib/rocm_smi/example/rocm_smi_example.cc:721:31: warning: conversion from ‘long unsigned int’ to ‘double’ may change value [-Wconversion] 8.0 721 | return static_cast(mw / 1000.0); 8.0 | ^~ 9.0 [25/39] Building CXX object oam/CMakeFiles/oam.dir/src/amd_oam.cc.o 10.4 [26/39] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_monitor.cc.o 11.3 [27/39] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_monitor.cc.o 13.1 [28/39] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_utils.cc.o 13.1 /therock/src/rocm-systems/projects/rocm-smi-lib/src/rocm_smi_utils.cc: In function ‘std::string amd::smi::find_file_in_folder(const std::string&, const std::string&)’: 13.1 /therock/src/rocm-systems/projects/rocm-smi-lib/src/rocm_smi_utils.cc:1277:59: warning: ignoring attributes on template argument ‘int (*)(DIR*)’ [-Wignored-attributes] 13.1 1277 | using dir_ptr = std::unique_ptr; 13.1 | ^ 13.3 [29/39] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_gpu_metrics.cc.o 13.6 [30/39] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_gpu_metrics.cc.o 13.7 [31/39] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_utils.cc.o 13.7 /therock/src/rocm-systems/projects/rocm-smi-lib/src/rocm_smi_utils.cc: In function ‘std::string amd::smi::find_file_in_folder(const std::string&, const std::string&)’: 13.7 /therock/src/rocm-systems/projects/rocm-smi-lib/src/rocm_smi_utils.cc:1277:59: warning: ignoring attributes on template argument ‘int (*)(DIR*)’ [-Wignored-attributes] 13.7 1277 | using dir_ptr = std::unique_ptr; 13.7 | ^ 16.4 [32/39] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi.cc.o 16.5 In file included from /therock/src/rocm-systems/projects/rocm-smi-lib/src/rocm_smi.cc:74: 16.5 /therock/src/rocm-systems/projects/rocm-smi-lib/include/rocm_smi/rocm_smi_utils.h: In instantiation of ‘decltype(auto) amd::smi::TagTextContents_t::get_structured_data_subkey_last(const PrimaryKeyType&) [with PrimaryKeyType = std::__cxx11::basic_string; PrimaryDataType = std::__cxx11::basic_string; SecondaryKeyType = std::__cxx11::basic_string; SecondaryDataType = std::__cxx11::basic_string]’: 16.5 /therock/src/rocm-systems/projects/rocm-smi-lib/src/rocm_smi.cc:1440:87: required from here 16.5 /therock/src/rocm-systems/projects/rocm-smi-lib/include/rocm_smi/rocm_smi_utils.h:455:138: warning: conversion from ‘long unsigned int’ to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 16.5 455 | (get_structured_subkeys_size(prim_key) - 1)))); 16.5 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 16.5 /therock/src/rocm-systems/projects/rocm-smi-lib/src/rocm_smi.cc: In lambda function: 16.5 /therock/src/rocm-systems/projects/rocm-smi-lib/src/rocm_smi.cc:6356:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 16.5 6356 | char *rw = "\0"; 16.5 | ^~~~ 16.5 /therock/src/rocm-systems/projects/rocm-smi-lib/src/rocm_smi.cc:6375:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 16.5 6375 | char *migrate_update = "\0"; 16.5 | ^~~~ 16.5 /therock/src/rocm-systems/projects/rocm-smi-lib/src/rocm_smi.cc:6410:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 16.5 6410 | char *rescheduled = "\0"; 16.5 | ^~~~ 16.6 [33/39] Linking CXX shared library rocm_smi/librocm_smi64.so.1.0 16.7 [34/39] Creating library symlink rocm_smi/librocm_smi64.so.1 rocm_smi/librocm_smi64.so 16.8 [35/39] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi.cc.o 16.8 In file included from /therock/src/rocm-systems/projects/rocm-smi-lib/src/rocm_smi.cc:74: 16.8 /therock/src/rocm-systems/projects/rocm-smi-lib/include/rocm_smi/rocm_smi_utils.h: In instantiation of ‘decltype(auto) amd::smi::TagTextContents_t::get_structured_data_subkey_last(const PrimaryKeyType&) [with PrimaryKeyType = std::__cxx11::basic_string; PrimaryDataType = std::__cxx11::basic_string; SecondaryKeyType = std::__cxx11::basic_string; SecondaryDataType = std::__cxx11::basic_string]’: 16.8 /therock/src/rocm-systems/projects/rocm-smi-lib/src/rocm_smi.cc:1440:87: required from here 16.8 /therock/src/rocm-systems/projects/rocm-smi-lib/include/rocm_smi/rocm_smi_utils.h:455:138: warning: conversion from ‘long unsigned int’ to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 16.8 455 | (get_structured_subkeys_size(prim_key) - 1)))); 16.8 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 16.8 /therock/src/rocm-systems/projects/rocm-smi-lib/src/rocm_smi.cc: In lambda function: 16.8 /therock/src/rocm-systems/projects/rocm-smi-lib/src/rocm_smi.cc:6356:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 16.8 6356 | char *rw = "\0"; 16.8 | ^~~~ 16.8 /therock/src/rocm-systems/projects/rocm-smi-lib/src/rocm_smi.cc:6375:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 16.8 6375 | char *migrate_update = "\0"; 16.8 | ^~~~ 16.8 /therock/src/rocm-systems/projects/rocm-smi-lib/src/rocm_smi.cc:6410:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 16.8 6410 | char *rescheduled = "\0"; 16.8 | ^~~~ 16.8 [36/39] Linking CXX executable rocm_smi/rocm_smi_ex 16.9 [37/39] Linking CXX shared library oam/liboam.so.1.0 17.1 [38/39] Creating library symlink oam/liboam.so.1 oam/liboam.so 17.2 [39/39] Linking C executable oam/oam_ex END 1767673806.9146018 17.183866500854492 0