https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sci-libs/rocRAND-5.6.0 fails to compile (PYTHON-3.12-SYSTEM). Discovered on: amd64 (internal ref: python-3.12_tinderbox) NOTE: (PYTHON-3.12-SYSTEM) in the summary means that the bug was found on a machine that runs python-3.12 but this bug MAY or MAY NOT BE related to the new python version
Created attachment 868977 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_agent_extension_supported@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_agent_get_info@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_agent_iterate_isas@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_agent_iterate_memory_pools@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_agent_memory_pool_get_info@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_agents_allow_access@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_coherency_set_type@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_image_create@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_interop_map_buffer@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_interop_unmap_buffer@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_ipc_memory_attach@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_ipc_memory_create@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_ipc_memory_detach@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_memory_async_copy@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_memory_async_copy_rect@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_memory_fill@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_memory_lock_to_pool@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_memory_pool_allocate@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_memory_pool_free@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_memory_pool_get_info@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_memory_unlock@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_pointer_info@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_profiling_async_copy_enable@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_profiling_get_async_copy_time@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_profiling_get_dispatch_time@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_profiling_set_profiler_enabled@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_queue_cu_set_mask@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_queue_set_priority@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_signal_async_handler@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_signal_create@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_signal_value_pointer@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_svm_attributes_get@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_svm_attributes_set@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_amd_svm_prefetch_async@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_code_object_reader_create_from_memory@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_code_object_reader_destroy@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_executable_agent_global_variable_define@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_executable_create_alt@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_executable_destroy@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_executable_freeze@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_executable_get_symbol_by_name@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_executable_load_agent_code_object@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_executable_symbol_get_info@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_ext_image_create@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_ext_image_create_with_layout@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_ext_image_data_get_info@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_ext_image_destroy@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_ext_image_export@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_ext_image_import@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_ext_sampler_create@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_ext_sampler_destroy@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_init@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_isa_get_info_alt@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_iterate_agents@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_memory_copy@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_memory_deregister@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_memory_register@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_queue_add_write_index_screlease@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_queue_create@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_queue_destroy@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_queue_load_read_index_relaxed@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_queue_load_read_index_scacquire@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_queue_load_write_index_relaxed@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_shut_down@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_signal_add_relaxed@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_signal_create@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_signal_destroy@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_signal_load_relaxed@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_signal_silent_store_relaxed@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_signal_store_relaxed@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_signal_store_screlease@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_signal_subtract_relaxed@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_signal_wait_scacquire@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_status_string@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_system_extension_supported@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_system_get_info@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so.5.4: undefined reference to `hsa_system_get_major_extension_table@ROCR_1' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: warning: libhsa-runtime64.so.1, needed by /usr/lib64/libamdhip64.so.5.4, not found (try using -rpath or -rpath-link) FAILED: test/test_rocrand_basic FAILED: test/test_rocrand_cpp_wrapper FAILED: test/test_rocrand_generate FAILED: test/test_rocrand_generate_log_normal FAILED: test/test_rocrand_generate_normal FAILED: test/test_rocrand_generate_poisson clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
Agostino, I suspect the rocr-runtime package version is too low. Are you able to access the tinderbox for the emerge -pv rocr-runtime output?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f762d4c8b48897a82f79bd64b7b8bc1aee8b98f commit 2f762d4c8b48897a82f79bd64b7b8bc1aee8b98f Author: Benda Xu <heroxbd@gentoo.org> AuthorDate: 2023-11-18 03:41:01 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2023-12-14 14:51:04 +0000 dev-util/hip: depend on rocr-runtime. HIP uses hsa_amd_memory_copy_engine_status() function, only available in rocr-runtime newer than 5.6.0. Closes: https://bugs.gentoo.org/913208 Signed-off-by: Benda Xu <heroxbd@gentoo.org> dev-util/hip/hip-5.7.1-r1.ebuild | 1 + 1 file changed, 1 insertion(+)