Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 912198

Summary: dev-util/roctracer-5.3.3-r1 fails to compile (PYTHON-3.12-SYSTEM): x86_64-pc-linux-gnu-ld.bfd: libamdhip64.so: undefined reference to hsa_memory_copy@ROCR_1
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED OBSOLETE    
Severity: normal CC: gentoo, xgreenlandforwyy
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 921826    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-08-12 20:36:55 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/roctracer-5.3.3-r1 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
Comment 1 Agostino Sarubbo gentoo-dev 2023-08-12 20:36:58 UTC
Created attachment 867744 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-08-12 20:36:58 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_agent_extension_supported@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_agent_get_info@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_agent_iterate_isas@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_agent_iterate_memory_pools@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: 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: undefined reference to `hsa_amd_agents_allow_access@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_coherency_set_type@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_image_create@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_interop_map_buffer@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_interop_unmap_buffer@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_ipc_memory_attach@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_ipc_memory_create@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_ipc_memory_detach@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_memory_async_copy@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_memory_async_copy_rect@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_memory_fill@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_memory_lock_to_pool@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_memory_pool_allocate@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_memory_pool_free@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_memory_pool_get_info@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_memory_unlock@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_pointer_info@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_profiling_async_copy_enable@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: 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: undefined reference to `hsa_amd_profiling_get_dispatch_time@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_profiling_set_profiler_enabled@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_queue_cu_set_mask@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_queue_set_priority@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_signal_async_handler@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_signal_create@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_signal_value_pointer@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_svm_attributes_get@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_svm_attributes_set@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_amd_svm_prefetch_async@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: 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: undefined reference to `hsa_code_object_reader_destroy@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_executable_agent_global_variable_define@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_executable_create_alt@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_executable_destroy@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_executable_freeze@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_executable_get_symbol_by_name@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_executable_load_agent_code_object@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_executable_symbol_get_info@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_ext_image_create@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_ext_image_create_with_layout@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_ext_image_data_get_info@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_ext_image_destroy@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_ext_image_export@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_ext_image_import@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_ext_sampler_create@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_ext_sampler_destroy@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_init@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_isa_get_info_alt@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_iterate_agents@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_memory_copy@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_memory_deregister@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_memory_register@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_queue_add_write_index_screlease@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_queue_create@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_queue_destroy@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_queue_load_read_index_relaxed@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_queue_load_read_index_scacquire@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_queue_load_write_index_relaxed@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_shut_down@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_signal_add_relaxed@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_signal_create@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_signal_destroy@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_signal_load_relaxed@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_signal_silent_store_relaxed@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_signal_store_relaxed@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_signal_store_screlease@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_signal_subtract_relaxed@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_signal_wait_scacquire@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_status_string@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_system_extension_supported@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: undefined reference to `hsa_system_get_info@ROCR_1'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libamdhip64.so: 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, not found (try using -rpath or -rpath-link)
FAILED: test/roctx_test 
RESULT_VARIABLE No such file or directory OUTPUT_VARIABLE: 
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-03-24 02:42:46 UTC
Mass-closing "PYTHON-3.12-SYSTEM" bugs.  Most of them are either obsolete (i.e. packages have 3.12 support already), or report issues completely tangential to Python 3.12 support.  Manually checking them is a waste of time.