Page MenuHomeSolus

D13166.id32168.diff
No OneTemporary

D13166.id32168.diff

Index: Makefile
===================================================================
--- /dev/null
+++ Makefile
@@ -0,0 +1 @@
+include ../Makefile.common
Index: abi_libs
===================================================================
--- /dev/null
+++ abi_libs
@@ -0,0 +1 @@
+libhsa-runtime64.so.1
Index: abi_symbols
===================================================================
--- /dev/null
+++ abi_symbols
@@ -0,0 +1,225 @@
+libhsa-runtime64.so.1:_amdgpu_r_debug
+libhsa-runtime64.so.1:hsa_agent_extension_supported
+libhsa-runtime64.so.1:hsa_agent_get_exception_policies
+libhsa-runtime64.so.1:hsa_agent_get_info
+libhsa-runtime64.so.1:hsa_agent_iterate_caches
+libhsa-runtime64.so.1:hsa_agent_iterate_isas
+libhsa-runtime64.so.1:hsa_agent_iterate_regions
+libhsa-runtime64.so.1:hsa_agent_major_extension_supported
+libhsa-runtime64.so.1:hsa_amd_agent_iterate_memory_pools
+libhsa-runtime64.so.1:hsa_amd_agent_memory_pool_get_info
+libhsa-runtime64.so.1:hsa_amd_agents_allow_access
+libhsa-runtime64.so.1:hsa_amd_async_function
+libhsa-runtime64.so.1:hsa_amd_coherency_get_type
+libhsa-runtime64.so.1:hsa_amd_coherency_set_type
+libhsa-runtime64.so.1:hsa_amd_deregister_deallocation_callback
+libhsa-runtime64.so.1:hsa_amd_image_create
+libhsa-runtime64.so.1:hsa_amd_image_get_info_max_dim
+libhsa-runtime64.so.1:hsa_amd_interop_map_buffer
+libhsa-runtime64.so.1:hsa_amd_interop_unmap_buffer
+libhsa-runtime64.so.1:hsa_amd_ipc_memory_attach
+libhsa-runtime64.so.1:hsa_amd_ipc_memory_create
+libhsa-runtime64.so.1:hsa_amd_ipc_memory_detach
+libhsa-runtime64.so.1:hsa_amd_ipc_signal_attach
+libhsa-runtime64.so.1:hsa_amd_ipc_signal_create
+libhsa-runtime64.so.1:hsa_amd_memory_async_copy
+libhsa-runtime64.so.1:hsa_amd_memory_async_copy_rect
+libhsa-runtime64.so.1:hsa_amd_memory_fill
+libhsa-runtime64.so.1:hsa_amd_memory_lock
+libhsa-runtime64.so.1:hsa_amd_memory_lock_to_pool
+libhsa-runtime64.so.1:hsa_amd_memory_migrate
+libhsa-runtime64.so.1:hsa_amd_memory_pool_allocate
+libhsa-runtime64.so.1:hsa_amd_memory_pool_can_migrate
+libhsa-runtime64.so.1:hsa_amd_memory_pool_free
+libhsa-runtime64.so.1:hsa_amd_memory_pool_get_info
+libhsa-runtime64.so.1:hsa_amd_memory_unlock
+libhsa-runtime64.so.1:hsa_amd_pointer_info
+libhsa-runtime64.so.1:hsa_amd_pointer_info_set_userdata
+libhsa-runtime64.so.1:hsa_amd_profiling_async_copy_enable
+libhsa-runtime64.so.1:hsa_amd_profiling_convert_tick_to_system_domain
+libhsa-runtime64.so.1:hsa_amd_profiling_get_async_copy_time
+libhsa-runtime64.so.1:hsa_amd_profiling_get_dispatch_time
+libhsa-runtime64.so.1:hsa_amd_profiling_set_profiler_enabled
+libhsa-runtime64.so.1:hsa_amd_queue_cu_get_mask
+libhsa-runtime64.so.1:hsa_amd_queue_cu_set_mask
+libhsa-runtime64.so.1:hsa_amd_queue_set_priority
+libhsa-runtime64.so.1:hsa_amd_register_deallocation_callback
+libhsa-runtime64.so.1:hsa_amd_register_system_event_handler
+libhsa-runtime64.so.1:hsa_amd_signal_async_handler
+libhsa-runtime64.so.1:hsa_amd_signal_create
+libhsa-runtime64.so.1:hsa_amd_signal_value_pointer
+libhsa-runtime64.so.1:hsa_amd_signal_wait_any
+libhsa-runtime64.so.1:hsa_amd_svm_attributes_get
+libhsa-runtime64.so.1:hsa_amd_svm_attributes_set
+libhsa-runtime64.so.1:hsa_amd_svm_prefetch_async
+libhsa-runtime64.so.1:hsa_cache_get_info
+libhsa-runtime64.so.1:hsa_code_object_deserialize
+libhsa-runtime64.so.1:hsa_code_object_destroy
+libhsa-runtime64.so.1:hsa_code_object_get_info
+libhsa-runtime64.so.1:hsa_code_object_get_symbol
+libhsa-runtime64.so.1:hsa_code_object_get_symbol_from_name
+libhsa-runtime64.so.1:hsa_code_object_iterate_symbols
+libhsa-runtime64.so.1:hsa_code_object_reader_create_from_file
+libhsa-runtime64.so.1:hsa_code_object_reader_create_from_memory
+libhsa-runtime64.so.1:hsa_code_object_reader_destroy
+libhsa-runtime64.so.1:hsa_code_object_serialize
+libhsa-runtime64.so.1:hsa_code_symbol_get_info
+libhsa-runtime64.so.1:hsa_executable_agent_global_variable_define
+libhsa-runtime64.so.1:hsa_executable_create
+libhsa-runtime64.so.1:hsa_executable_create_alt
+libhsa-runtime64.so.1:hsa_executable_destroy
+libhsa-runtime64.so.1:hsa_executable_freeze
+libhsa-runtime64.so.1:hsa_executable_get_info
+libhsa-runtime64.so.1:hsa_executable_get_symbol
+libhsa-runtime64.so.1:hsa_executable_get_symbol_by_name
+libhsa-runtime64.so.1:hsa_executable_global_variable_define
+libhsa-runtime64.so.1:hsa_executable_iterate_agent_symbols
+libhsa-runtime64.so.1:hsa_executable_iterate_program_symbols
+libhsa-runtime64.so.1:hsa_executable_iterate_symbols
+libhsa-runtime64.so.1:hsa_executable_load_agent_code_object
+libhsa-runtime64.so.1:hsa_executable_load_code_object
+libhsa-runtime64.so.1:hsa_executable_load_program_code_object
+libhsa-runtime64.so.1:hsa_executable_readonly_variable_define
+libhsa-runtime64.so.1:hsa_executable_symbol_get_info
+libhsa-runtime64.so.1:hsa_executable_validate
+libhsa-runtime64.so.1:hsa_executable_validate_alt
+libhsa-runtime64.so.1:hsa_ext_image_clear
+libhsa-runtime64.so.1:hsa_ext_image_copy
+libhsa-runtime64.so.1:hsa_ext_image_create
+libhsa-runtime64.so.1:hsa_ext_image_create_with_layout
+libhsa-runtime64.so.1:hsa_ext_image_data_get_info
+libhsa-runtime64.so.1:hsa_ext_image_data_get_info_with_layout
+libhsa-runtime64.so.1:hsa_ext_image_destroy
+libhsa-runtime64.so.1:hsa_ext_image_export
+libhsa-runtime64.so.1:hsa_ext_image_get_capability
+libhsa-runtime64.so.1:hsa_ext_image_get_capability_with_layout
+libhsa-runtime64.so.1:hsa_ext_image_import
+libhsa-runtime64.so.1:hsa_ext_program_add_module
+libhsa-runtime64.so.1:hsa_ext_program_create
+libhsa-runtime64.so.1:hsa_ext_program_destroy
+libhsa-runtime64.so.1:hsa_ext_program_finalize
+libhsa-runtime64.so.1:hsa_ext_program_get_info
+libhsa-runtime64.so.1:hsa_ext_program_iterate_modules
+libhsa-runtime64.so.1:hsa_ext_sampler_create
+libhsa-runtime64.so.1:hsa_ext_sampler_destroy
+libhsa-runtime64.so.1:hsa_extension_get_name
+libhsa-runtime64.so.1:hsa_init
+libhsa-runtime64.so.1:hsa_isa_compatible
+libhsa-runtime64.so.1:hsa_isa_from_name
+libhsa-runtime64.so.1:hsa_isa_get_exception_policies
+libhsa-runtime64.so.1:hsa_isa_get_info
+libhsa-runtime64.so.1:hsa_isa_get_info_alt
+libhsa-runtime64.so.1:hsa_isa_get_round_method
+libhsa-runtime64.so.1:hsa_isa_iterate_wavefronts
+libhsa-runtime64.so.1:hsa_iterate_agents
+libhsa-runtime64.so.1:hsa_memory_allocate
+libhsa-runtime64.so.1:hsa_memory_assign_agent
+libhsa-runtime64.so.1:hsa_memory_copy
+libhsa-runtime64.so.1:hsa_memory_deregister
+libhsa-runtime64.so.1:hsa_memory_free
+libhsa-runtime64.so.1:hsa_memory_register
+libhsa-runtime64.so.1:hsa_queue_add_write_index_acq_rel
+libhsa-runtime64.so.1:hsa_queue_add_write_index_acquire
+libhsa-runtime64.so.1:hsa_queue_add_write_index_relaxed
+libhsa-runtime64.so.1:hsa_queue_add_write_index_release
+libhsa-runtime64.so.1:hsa_queue_add_write_index_scacq_screl
+libhsa-runtime64.so.1:hsa_queue_add_write_index_scacquire
+libhsa-runtime64.so.1:hsa_queue_add_write_index_screlease
+libhsa-runtime64.so.1:hsa_queue_cas_write_index_acq_rel
+libhsa-runtime64.so.1:hsa_queue_cas_write_index_acquire
+libhsa-runtime64.so.1:hsa_queue_cas_write_index_relaxed
+libhsa-runtime64.so.1:hsa_queue_cas_write_index_release
+libhsa-runtime64.so.1:hsa_queue_cas_write_index_scacq_screl
+libhsa-runtime64.so.1:hsa_queue_cas_write_index_scacquire
+libhsa-runtime64.so.1:hsa_queue_cas_write_index_screlease
+libhsa-runtime64.so.1:hsa_queue_create
+libhsa-runtime64.so.1:hsa_queue_destroy
+libhsa-runtime64.so.1:hsa_queue_inactivate
+libhsa-runtime64.so.1:hsa_queue_load_read_index_acquire
+libhsa-runtime64.so.1:hsa_queue_load_read_index_relaxed
+libhsa-runtime64.so.1:hsa_queue_load_read_index_scacquire
+libhsa-runtime64.so.1:hsa_queue_load_write_index_acquire
+libhsa-runtime64.so.1:hsa_queue_load_write_index_relaxed
+libhsa-runtime64.so.1:hsa_queue_load_write_index_scacquire
+libhsa-runtime64.so.1:hsa_queue_store_read_index_relaxed
+libhsa-runtime64.so.1:hsa_queue_store_read_index_release
+libhsa-runtime64.so.1:hsa_queue_store_read_index_screlease
+libhsa-runtime64.so.1:hsa_queue_store_write_index_relaxed
+libhsa-runtime64.so.1:hsa_queue_store_write_index_release
+libhsa-runtime64.so.1:hsa_queue_store_write_index_screlease
+libhsa-runtime64.so.1:hsa_region_get_info
+libhsa-runtime64.so.1:hsa_shut_down
+libhsa-runtime64.so.1:hsa_signal_add_acq_rel
+libhsa-runtime64.so.1:hsa_signal_add_acquire
+libhsa-runtime64.so.1:hsa_signal_add_relaxed
+libhsa-runtime64.so.1:hsa_signal_add_release
+libhsa-runtime64.so.1:hsa_signal_add_scacq_screl
+libhsa-runtime64.so.1:hsa_signal_add_scacquire
+libhsa-runtime64.so.1:hsa_signal_add_screlease
+libhsa-runtime64.so.1:hsa_signal_and_acq_rel
+libhsa-runtime64.so.1:hsa_signal_and_acquire
+libhsa-runtime64.so.1:hsa_signal_and_relaxed
+libhsa-runtime64.so.1:hsa_signal_and_release
+libhsa-runtime64.so.1:hsa_signal_and_scacq_screl
+libhsa-runtime64.so.1:hsa_signal_and_scacquire
+libhsa-runtime64.so.1:hsa_signal_and_screlease
+libhsa-runtime64.so.1:hsa_signal_cas_acq_rel
+libhsa-runtime64.so.1:hsa_signal_cas_acquire
+libhsa-runtime64.so.1:hsa_signal_cas_relaxed
+libhsa-runtime64.so.1:hsa_signal_cas_release
+libhsa-runtime64.so.1:hsa_signal_cas_scacq_screl
+libhsa-runtime64.so.1:hsa_signal_cas_scacquire
+libhsa-runtime64.so.1:hsa_signal_cas_screlease
+libhsa-runtime64.so.1:hsa_signal_create
+libhsa-runtime64.so.1:hsa_signal_destroy
+libhsa-runtime64.so.1:hsa_signal_exchange_acq_rel
+libhsa-runtime64.so.1:hsa_signal_exchange_acquire
+libhsa-runtime64.so.1:hsa_signal_exchange_relaxed
+libhsa-runtime64.so.1:hsa_signal_exchange_release
+libhsa-runtime64.so.1:hsa_signal_exchange_scacq_screl
+libhsa-runtime64.so.1:hsa_signal_exchange_scacquire
+libhsa-runtime64.so.1:hsa_signal_exchange_screlease
+libhsa-runtime64.so.1:hsa_signal_group_create
+libhsa-runtime64.so.1:hsa_signal_group_destroy
+libhsa-runtime64.so.1:hsa_signal_group_wait_any_relaxed
+libhsa-runtime64.so.1:hsa_signal_group_wait_any_scacquire
+libhsa-runtime64.so.1:hsa_signal_load_acquire
+libhsa-runtime64.so.1:hsa_signal_load_relaxed
+libhsa-runtime64.so.1:hsa_signal_load_scacquire
+libhsa-runtime64.so.1:hsa_signal_or_acq_rel
+libhsa-runtime64.so.1:hsa_signal_or_acquire
+libhsa-runtime64.so.1:hsa_signal_or_relaxed
+libhsa-runtime64.so.1:hsa_signal_or_release
+libhsa-runtime64.so.1:hsa_signal_or_scacq_screl
+libhsa-runtime64.so.1:hsa_signal_or_scacquire
+libhsa-runtime64.so.1:hsa_signal_or_screlease
+libhsa-runtime64.so.1:hsa_signal_silent_store_relaxed
+libhsa-runtime64.so.1:hsa_signal_silent_store_screlease
+libhsa-runtime64.so.1:hsa_signal_store_relaxed
+libhsa-runtime64.so.1:hsa_signal_store_release
+libhsa-runtime64.so.1:hsa_signal_store_screlease
+libhsa-runtime64.so.1:hsa_signal_subtract_acq_rel
+libhsa-runtime64.so.1:hsa_signal_subtract_acquire
+libhsa-runtime64.so.1:hsa_signal_subtract_relaxed
+libhsa-runtime64.so.1:hsa_signal_subtract_release
+libhsa-runtime64.so.1:hsa_signal_subtract_scacq_screl
+libhsa-runtime64.so.1:hsa_signal_subtract_scacquire
+libhsa-runtime64.so.1:hsa_signal_subtract_screlease
+libhsa-runtime64.so.1:hsa_signal_wait_acquire
+libhsa-runtime64.so.1:hsa_signal_wait_relaxed
+libhsa-runtime64.so.1:hsa_signal_wait_scacquire
+libhsa-runtime64.so.1:hsa_signal_xor_acq_rel
+libhsa-runtime64.so.1:hsa_signal_xor_acquire
+libhsa-runtime64.so.1:hsa_signal_xor_relaxed
+libhsa-runtime64.so.1:hsa_signal_xor_release
+libhsa-runtime64.so.1:hsa_signal_xor_scacq_screl
+libhsa-runtime64.so.1:hsa_signal_xor_scacquire
+libhsa-runtime64.so.1:hsa_signal_xor_screlease
+libhsa-runtime64.so.1:hsa_soft_queue_create
+libhsa-runtime64.so.1:hsa_status_string
+libhsa-runtime64.so.1:hsa_system_extension_supported
+libhsa-runtime64.so.1:hsa_system_get_extension_table
+libhsa-runtime64.so.1:hsa_system_get_info
+libhsa-runtime64.so.1:hsa_system_get_major_extension_table
+libhsa-runtime64.so.1:hsa_system_major_extension_supported
+libhsa-runtime64.so.1:hsa_wavefront_get_info
Index: abi_used_libs
===================================================================
--- /dev/null
+++ abi_used_libs
@@ -0,0 +1,9 @@
+ld-linux-x86-64.so.2
+libc.so.6
+libdrm.so.2
+libdrm_amdgpu.so.1
+libelf.so.1
+libgcc_s.so.1
+libm.so.6
+libnuma.so.1
+libstdc++.so.6
Index: abi_used_symbols
===================================================================
--- /dev/null
+++ abi_used_symbols
@@ -0,0 +1,299 @@
+ld-linux-x86-64.so.2:__tls_get_addr
+libc.so.6:__ctype_b_loc
+libc.so.6:__cxa_atexit
+libc.so.6:__errno_location
+libc.so.6:__fprintf_chk
+libc.so.6:__isoc99_fscanf
+libc.so.6:__isoc99_sscanf
+libc.so.6:__libc_single_threaded
+libc.so.6:__register_atfork
+libc.so.6:__sched_cpualloc
+libc.so.6:__sched_cpufree
+libc.so.6:__snprintf_chk
+libc.so.6:__sprintf_chk
+libc.so.6:__stack_chk_fail
+libc.so.6:__sysconf
+libc.so.6:abort
+libc.so.6:aligned_alloc
+libc.so.6:calloc
+libc.so.6:clock_getres
+libc.so.6:clock_gettime
+libc.so.6:close
+libc.so.6:closedir
+libc.so.6:dl_iterate_phdr
+libc.so.6:dladdr
+libc.so.6:dlclose
+libc.so.6:dlinfo
+libc.so.6:dlopen
+libc.so.6:dlsym
+libc.so.6:fclose
+libc.so.6:fgets
+libc.so.6:fopen
+libc.so.6:fprintf
+libc.so.6:fputc
+libc.so.6:fread
+libc.so.6:free
+libc.so.6:ftruncate
+libc.so.6:fwrite
+libc.so.6:get_nprocs
+libc.so.6:get_nprocs_conf
+libc.so.6:getenv
+libc.so.6:getpid
+libc.so.6:gettimeofday
+libc.so.6:getuid
+libc.so.6:ioctl
+libc.so.6:isalnum
+libc.so.6:isspace
+libc.so.6:isxdigit
+libc.so.6:lseek
+libc.so.6:madvise
+libc.so.6:malloc
+libc.so.6:memcmp
+libc.so.6:memcpy
+libc.so.6:memmove
+libc.so.6:memset
+libc.so.6:mmap
+libc.so.6:munmap
+libc.so.6:open
+libc.so.6:opendir
+libc.so.6:pthread_attr_destroy
+libc.so.6:pthread_attr_init
+libc.so.6:pthread_attr_setaffinity_np
+libc.so.6:pthread_attr_setstacksize
+libc.so.6:pthread_cond_destroy
+libc.so.6:pthread_cond_init
+libc.so.6:pthread_cond_signal
+libc.so.6:pthread_cond_timedwait
+libc.so.6:pthread_create
+libc.so.6:pthread_detach
+libc.so.6:pthread_join
+libc.so.6:pthread_mutex_destroy
+libc.so.6:pthread_mutex_init
+libc.so.6:pthread_mutex_lock
+libc.so.6:pthread_mutex_trylock
+libc.so.6:pthread_mutex_unlock
+libc.so.6:pthread_rwlock_destroy
+libc.so.6:pthread_rwlock_init
+libc.so.6:pthread_rwlock_rdlock
+libc.so.6:pthread_rwlock_tryrdlock
+libc.so.6:pthread_rwlock_trywrlock
+libc.so.6:pthread_rwlock_unlock
+libc.so.6:pthread_rwlock_wrlock
+libc.so.6:pthread_rwlockattr_destroy
+libc.so.6:pthread_rwlockattr_init
+libc.so.6:pthread_rwlockattr_setkind_np
+libc.so.6:read
+libc.so.6:readdir
+libc.so.6:readlink
+libc.so.6:realloc
+libc.so.6:sched_yield
+libc.so.6:sem_close
+libc.so.6:sem_open
+libc.so.6:sem_post
+libc.so.6:sem_unlink
+libc.so.6:sem_wait
+libc.so.6:sendfile
+libc.so.6:setenv
+libc.so.6:shm_open
+libc.so.6:shm_unlink
+libc.so.6:snprintf
+libc.so.6:sprintf
+libc.so.6:stderr
+libc.so.6:strchr
+libc.so.6:strcmp
+libc.so.6:strcpy
+libc.so.6:strdup
+libc.so.6:strerror
+libc.so.6:strlen
+libc.so.6:strncmp
+libc.so.6:strncpy
+libc.so.6:strtok
+libc.so.6:strtol
+libc.so.6:strtoul
+libc.so.6:syscall
+libc.so.6:sysconf
+libc.so.6:sysinfo
+libc.so.6:tempnam
+libc.so.6:tolower
+libc.so.6:toupper
+libc.so.6:uname
+libc.so.6:unlink
+libc.so.6:usleep
+libc.so.6:write
+libdrm.so.2:drmClose
+libdrm.so.2:drmOpenRender
+libdrm_amdgpu.so.1:amdgpu_device_deinitialize
+libdrm_amdgpu.so.1:amdgpu_device_initialize
+libdrm_amdgpu.so.1:amdgpu_get_marketing_name
+libelf.so.1:elf_begin
+libelf.so.1:elf_end
+libelf.so.1:elf_errmsg
+libelf.so.1:elf_getdata
+libelf.so.1:elf_getphdrnum
+libelf.so.1:elf_getscn
+libelf.so.1:elf_memory
+libelf.so.1:elf_ndxscn
+libelf.so.1:elf_newdata
+libelf.so.1:elf_newscn
+libelf.so.1:elf_update
+libelf.so.1:elf_version
+libelf.so.1:gelf_getehdr
+libelf.so.1:gelf_getphdr
+libelf.so.1:gelf_getshdr
+libelf.so.1:gelf_newehdr
+libelf.so.1:gelf_newphdr
+libelf.so.1:gelf_update_ehdr
+libelf.so.1:gelf_update_phdr
+libelf.so.1:gelf_update_shdr
+libgcc_s.so.1:_Unwind_Resume
+libm.so.6:pow
+libnuma.so.1:mbind
+libnuma.so.1:numa_available
+libnuma.so.1:numa_bitmask_alloc
+libnuma.so.1:numa_bitmask_free
+libnuma.so.1:numa_bitmask_setbit
+libnuma.so.1:numa_max_node
+libstdc++.so.6:_ZNKSt12__basic_fileIcE7is_openEv
+libstdc++.so.6:_ZNKSt5ctypeIcE13_M_widen_initEv
+libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13find_first_ofEPKcmm
+libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcmm
+libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm
+libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcmm
+libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc
+libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEmmRKS4_
+libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEmmRKS4_mm
+libstdc++.so.6:_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv
+libstdc++.so.6:_ZNKSt8__detail20_Prime_rehash_policy14_M_need_rehashEmmm
+libstdc++.so.6:_ZNSi10_M_extractIjEERSiRT_
+libstdc++.so.6:_ZNSi10_M_extractImEERSiRT_
+libstdc++.so.6:_ZNSi4readEPcl
+libstdc++.so.6:_ZNSi5seekgElSt12_Ios_Seekdir
+libstdc++.so.6:_ZNSi5tellgEv
+libstdc++.so.6:_ZNSo3putEc
+libstdc++.so.6:_ZNSo5flushEv
+libstdc++.so.6:_ZNSo5tellpEv
+libstdc++.so.6:_ZNSo5writeEPKcl
+libstdc++.so.6:_ZNSo9_M_insertIPKvEERSoT_
+libstdc++.so.6:_ZNSo9_M_insertIlEERSoT_
+libstdc++.so.6:_ZNSo9_M_insertImEERSoT_
+libstdc++.so.6:_ZNSolsEi
+libstdc++.so.6:_ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode
+libstdc++.so.6:_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev
+libstdc++.so.6:_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode
+libstdc++.so.6:_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev
+libstdc++.so.6:_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
+libstdc++.so.6:_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode
+libstdc++.so.6:_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode
+libstdc++.so.6:_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev
+libstdc++.so.6:_ZNSt15__exception_ptr13exception_ptr10_M_releaseEv
+libstdc++.so.6:_ZNSt15__exception_ptr13exception_ptr9_M_addrefEv
+libstdc++.so.6:_ZNSt15basic_streambufIcSt11char_traitsIcEE4syncEv
+libstdc++.so.6:_ZNSt15basic_streambufIcSt11char_traitsIcEE5imbueERKSt6locale
+libstdc++.so.6:_ZNSt15basic_streambufIcSt11char_traitsIcEE5uflowEv
+libstdc++.so.6:_ZNSt15basic_streambufIcSt11char_traitsIcEE6setbufEPcl
+libstdc++.so.6:_ZNSt15basic_streambufIcSt11char_traitsIcEE6xsgetnEPcl
+libstdc++.so.6:_ZNSt15basic_streambufIcSt11char_traitsIcEE6xsputnEPKcl
+libstdc++.so.6:_ZNSt15basic_streambufIcSt11char_traitsIcEE7seekoffElSt12_Ios_SeekdirSt13_Ios_Openmode
+libstdc++.so.6:_ZNSt15basic_streambufIcSt11char_traitsIcEE7seekposESt4fposI11__mbstate_tESt13_Ios_Openmode
+libstdc++.so.6:_ZNSt15basic_streambufIcSt11char_traitsIcEE9pbackfailEi
+libstdc++.so.6:_ZNSt15basic_streambufIcSt11char_traitsIcEE9showmanycEv
+libstdc++.so.6:_ZNSt15basic_streambufIcSt11char_traitsIcEE9underflowEv
+libstdc++.so.6:_ZNSt15basic_streambufIcSt11char_traitsIcEED2Ev
+libstdc++.so.6:_ZNSt16nested_exceptionD1Ev
+libstdc++.so.6:_ZNSt18condition_variable10notify_allEv
+libstdc++.so.6:_ZNSt18condition_variable10notify_oneEv
+libstdc++.so.6:_ZNSt18condition_variable4waitERSt11unique_lockISt5mutexE
+libstdc++.so.6:_ZNSt18condition_variableC1Ev
+libstdc++.so.6:_ZNSt18condition_variableD1Ev
+libstdc++.so.6:_ZNSt19_Sp_make_shared_tag5_S_eqERKSt9type_info
+libstdc++.so.6:_ZNSt6locale7classicEv
+libstdc++.so.6:_ZNSt6localeC1Ev
+libstdc++.so.6:_ZNSt6localeD1Ev
+libstdc++.so.6:_ZNSt6thread15_M_start_threadESt10unique_ptrINS_6_StateESt14default_deleteIS1_EEPFvvE
+libstdc++.so.6:_ZNSt6thread6_StateD2Ev
+libstdc++.so.6:_ZNSt6thread6detachEv
+libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
+libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructEmc
+libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE14_M_replace_auxEmmmc
+libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7reserveEm
+libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8_M_eraseEmm
+libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm
+libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_
+libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm
+libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEmmPKcm
+libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EPKcRKS3_
+libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev
+libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_
+libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc
+libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc
+libstdc++.so.6:_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode
+libstdc++.so.6:_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev
+libstdc++.so.6:_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev
+libstdc++.so.6:_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode
+libstdc++.so.6:_ZNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEED1Ev
+libstdc++.so.6:_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev
+libstdc++.so.6:_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev
+libstdc++.so.6:_ZNSt8__detail15_List_node_base7_M_hookEPS0_
+libstdc++.so.6:_ZNSt8__detail15_List_node_base9_M_unhookEv
+libstdc++.so.6:_ZNSt8ios_base4InitC1Ev
+libstdc++.so.6:_ZNSt8ios_base4InitD1Ev
+libstdc++.so.6:_ZNSt8ios_baseD2Ev
+libstdc++.so.6:_ZNSt9bad_allocD1Ev
+libstdc++.so.6:_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate
+libstdc++.so.6:_ZNSt9basic_iosIcSt11char_traitsIcEE5rdbufEPSt15basic_streambufIcS1_E
+libstdc++.so.6:_ZNSt9exceptionD2Ev
+libstdc++.so.6:_ZSt11_Hash_bytesPKvmm
+libstdc++.so.6:_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
+libstdc++.so.6:_ZSt16__throw_bad_castv
+libstdc++.so.6:_ZSt17__throw_bad_allocv
+libstdc++.so.6:_ZSt17current_exceptionv
+libstdc++.so.6:_ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE
+libstdc++.so.6:_ZSt18_Rb_tree_decrementPKSt18_Rb_tree_node_base
+libstdc++.so.6:_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base
+libstdc++.so.6:_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base
+libstdc++.so.6:_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base
+libstdc++.so.6:_ZSt18uncaught_exceptionv
+libstdc++.so.6:_ZSt19__throw_logic_errorPKc
+libstdc++.so.6:_ZSt20__throw_length_errorPKc
+libstdc++.so.6:_ZSt20__throw_out_of_rangePKc
+libstdc++.so.6:_ZSt20__throw_system_errori
+libstdc++.so.6:_ZSt24__throw_invalid_argumentPKc
+libstdc++.so.6:_ZSt24__throw_out_of_range_fmtPKcz
+libstdc++.so.6:_ZSt25__throw_bad_function_callv
+libstdc++.so.6:_ZSt28_Rb_tree_rebalance_for_erasePSt18_Rb_tree_node_baseRS_
+libstdc++.so.6:_ZSt28__throw_bad_array_new_lengthv
+libstdc++.so.6:_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_
+libstdc++.so.6:_ZSt4cerr
+libstdc++.so.6:_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_
+libstdc++.so.6:_ZSt7nothrow
+libstdc++.so.6:_ZSt9terminatev
+libstdc++.so.6:_ZSt9use_facetISt5ctypeIcEERKT_RKSt6locale
+libstdc++.so.6:_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St8_SetfillIS3_E
+libstdc++.so.6:_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_
+libstdc++.so.6:_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE
+libstdc++.so.6:_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE
+libstdc++.so.6:_ZTTNSt7__cxx1119basic_istringstreamIcSt11char_traitsIcESaIcEEE
+libstdc++.so.6:_ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE
+libstdc++.so.6:_ZTTSt14basic_ifstreamIcSt11char_traitsIcEE
+libstdc++.so.6:_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE
+libstdc++.so.6:_ZTVN10__cxxabiv117__class_type_infoE
+libstdc++.so.6:_ZTVN10__cxxabiv120__si_class_type_infoE
+libstdc++.so.6:_ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE
+libstdc++.so.6:_ZTVSt15basic_streambufIcSt11char_traitsIcEE
+libstdc++.so.6:_ZTVSt16nested_exception
+libstdc++.so.6:_ZTVSt9bad_alloc
+libstdc++.so.6:_ZdaPv
+libstdc++.so.6:_ZdlPv
+libstdc++.so.6:_ZdlPvRKSt9nothrow_t
+libstdc++.so.6:_Znam
+libstdc++.so.6:_Znwm
+libstdc++.so.6:_ZnwmRKSt9nothrow_t
+libstdc++.so.6:__cxa_allocate_exception
+libstdc++.so.6:__cxa_begin_catch
+libstdc++.so.6:__cxa_call_unexpected
+libstdc++.so.6:__cxa_end_catch
+libstdc++.so.6:__cxa_free_exception
+libstdc++.so.6:__cxa_pure_virtual
+libstdc++.so.6:__cxa_rethrow
+libstdc++.so.6:__cxa_throw
+libstdc++.so.6:__gxx_personality_v0
Index: files/0001-Use-CMAKE_INSTALL_LIBDIR.patch
===================================================================
--- /dev/null
+++ files/0001-Use-CMAKE_INSTALL_LIBDIR.patch
@@ -0,0 +1,96 @@
+From eb0a2d6a459863f14677a712cd66ec3a3ef27258 Mon Sep 17 00:00:00 2001
+From: Jeremy Newton <Jeremy.Newton@amd.com>
+Date: Mon, 17 Jan 2022 11:17:18 -0500
+Subject: [PATCH] Use CMAKE_INSTALL_LIBDIR
+
+Instead of installing to lib, use CMAKE_INSTALL_LIBDIR to allow the
+cmake to detect or builder to choose.
+
+Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
+---
+ src/CMakeLists.txt | 24 ++++++++++--------------
+ 1 file changed, 10 insertions(+), 14 deletions(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 8fb02b1..4b35ae5 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -275,7 +275,7 @@ if( NOT ${BUILD_SHARED_LIBS} )
+
+ ## Bind to source build target interface but not its link requirements.
+ target_include_directories( ${CORE_RUNTIME_NAME} INTERFACE $<TARGET_PROPERTY:${CORE_RUNTIME_NAME}::${CORE_RUNTIME_TARGET},INTERFACE_INCLUDE_DIRECTORIES> )
+- target_link_libraries ( ${CORE_RUNTIME_NAME} INTERFACE -Wl,$<INSTALL_PREFIX>/lib/cmake/${CORE_RUNTIME_NAME}/${LNKSCR}
++ target_link_libraries ( ${CORE_RUNTIME_NAME} INTERFACE -Wl,$<INSTALL_PREFIX>/${CMAKE_INSTALL_LIBDIR}/cmake/${CORE_RUNTIME_NAME}/${LNKSCR}
+ -Wl,--whole-archive $<TARGET_FILE:${CORE_RUNTIME_NAME}::${CORE_RUNTIME_TARGET}> -Wl,--no-whole-archive)
+ add_dependencies( ${CORE_RUNTIME_NAME} ${CORE_RUNTIME_TARGET} )
+
+@@ -289,16 +289,15 @@ endif()
+ ## Create symlinks for legacy packaging and install
+ add_custom_target ( hsa_include_link ALL WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} -E create_symlink ../../include/hsa hsa_include_link )
+ if ( ${BUILD_SHARED_LIBS} )
+- add_custom_target ( hsa_lib_link ALL WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} -E create_symlink ../../lib/${CORE_RUNTIME_LIBRARY}.so ${CORE_RUNTIME_LIBRARY}-link.so )
+- add_custom_target ( hsa_lib_link2 ALL WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} -E create_symlink ../../lib/${CORE_RUNTIME_LIBRARY}.so.${VERSION_MAJOR} ${CORE_RUNTIME_LIBRARY}-link.so.${VERSION_MAJOR} )
++ add_custom_target ( hsa_lib_link ALL WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} -E create_symlink ../../${CMAKE_INSTALL_LIBDIR}/${CORE_RUNTIME_LIBRARY}.so ${CORE_RUNTIME_LIBRARY}-link.so )
++ add_custom_target ( hsa_lib_link2 ALL WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} -E create_symlink ../../${CMAKE_INSTALL_LIBDIR}/${CORE_RUNTIME_LIBRARY}.so.${VERSION_MAJOR} ${CORE_RUNTIME_LIBRARY}-link.so.${VERSION_MAJOR} )
+ endif()
+
+ ## Set install information
+ # Installs binaries and exports the library usage data to ${HSAKMT_TARGET}Targets
+-# TODO: Fix me for flat directory layout. Should be ${CMAKE_INSTALL_LIBDIR}
+ install ( TARGETS ${CORE_RUNTIME_TARGET} EXPORT ${CORE_RUNTIME_NAME}Targets
+- ARCHIVE DESTINATION lib COMPONENT binary
+- LIBRARY DESTINATION lib COMPONENT binary )
++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT binary
++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT binary )
+
+ # Install license
+ install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT binary )
+@@ -318,11 +317,10 @@ endif ()
+
+ ## Configure and install package config file
+ # Record our usage data for clients find_package calls.
+-# TODO: Fix me for flat directory layout. Should be ${CMAKE_INSTALL_LIBDIR}
+ install ( EXPORT ${CORE_RUNTIME_NAME}Targets
+ FILE ${CORE_RUNTIME_NAME}Targets.cmake
+ NAMESPACE ${CORE_RUNTIME_NAME}::
+- DESTINATION lib/cmake/${CORE_RUNTIME_NAME}
++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${CORE_RUNTIME_NAME}
+ COMPONENT dev)
+
+ # Adds the target alias hsa-runtime64::hsa-runtime64 to the local cmake cache.
+@@ -336,28 +334,26 @@ add_library( ${CORE_RUNTIME_NAME}::${CORE_RUNTIME_NAME} ALIAS ${CORE_RUNTIME_NAM
+ # Create cmake configuration files
+ include(CMakePackageConfigHelpers)
+
+-# TODO: Fix me for flat directory layout. Should be ${CMAKE_INSTALL_LIBDIR}
+ configure_package_config_file(${CORE_RUNTIME_NAME}-config.cmake.in
+ ${CORE_RUNTIME_NAME}-config.cmake
+- INSTALL_DESTINATION lib/cmake/${CORE_RUNTIME_NAME} )
++ INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${CORE_RUNTIME_NAME} )
+
+ write_basic_package_version_file(${CORE_RUNTIME_NAME}-config-version.cmake
+ VERSION ${SO_VERSION_STRING} COMPATIBILITY AnyNewerVersion )
+
+-# TODO: Fix me for flat directory layout. Should be ${CMAKE_INSTALL_LIBDIR}
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${CORE_RUNTIME_NAME}-config.cmake ${CMAKE_CURRENT_BINARY_DIR}/${CORE_RUNTIME_NAME}-config-version.cmake
+- DESTINATION lib/cmake/${CORE_RUNTIME_NAME}
++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${CORE_RUNTIME_NAME}
+ COMPONENT dev)
+
+ # Install build files needed only when using a static build.
+ if( NOT ${BUILD_SHARED_LIBS} )
+ # libelf find package module
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/FindLibElf.cmake ${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/COPYING-CMAKE-SCRIPTS
+- DESTINATION lib/cmake/${CORE_RUNTIME_NAME}
++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${CORE_RUNTIME_NAME}
+ COMPONENT dev)
+ # Linker script (defines function aliases)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${LNKSCR}
+- DESTINATION lib/cmake/${CORE_RUNTIME_NAME}
++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${CORE_RUNTIME_NAME}
+ COMPONENT dev)
+ endif()
+
+--
+2.31.1
+
Index: files/0002-fix-link-time-ordering-condition.patch
===================================================================
--- /dev/null
+++ files/0002-fix-link-time-ordering-condition.patch
@@ -0,0 +1,39 @@
+From 5ee5974602b0cd19ebb76c32b718538a328ceb0f Mon Sep 17 00:00:00 2001
+From: Philipp Knechtges <philipp-dev@knechtges.com>
+Date: Tue, 24 Nov 2020 21:28:25 +0100
+Subject: [PATCH 2/2] fix link-time ordering condition
+
+This fixes a segfault error in cases where the linking order of
+compilation unit varies. Reason behind the segfault is that one
+global variable in one compilation unit depends on another global
+variable in another compilation unit, but there is no gurantee that
+this other compilation unit is initialized first. The fix forces a
+reinitialization at the first invocation of the library.
+---
+ src/core/common/hsa_table_interface.cpp | 10 +++++++++-
+ 1 file changed, 9 insertions(+), 1 deletion(-)
+
+diff --git a/src/core/common/hsa_table_interface.cpp b/src/core/common/hsa_table_interface.cpp
+index 11b1e49..6f8c3ed 100644
+--- a/src/core/common/hsa_table_interface.cpp
++++ b/src/core/common/hsa_table_interface.cpp
+@@ -64,7 +64,15 @@ class Init {
+ static Init LinkAtLoadOrFirstTranslationUnitAccess;
+
+ // Pass through stub functions
+-hsa_status_t HSA_API hsa_init() { return coreApiTable->hsa_init_fn(); }
++hsa_status_t HSA_API hsa_init() {
++ // We initialize the api tables here once more since the code above is prone to a
++ // link-time ordering condition: This compilation unit here may get its global
++ // variables initialized earlier than the global objects in other compilation units.
++ // In particular Init::Init may get called earlier than that the underlying hsa_api_table_
++ // object in hsa_api_trace.cpp has been initialized.
++ rocr::core::LoadInitialHsaApiTable();
++ return coreApiTable->hsa_init_fn();
++}
+
+ hsa_status_t HSA_API hsa_shut_down() { return coreApiTable->hsa_shut_down_fn(); }
+
+--
+2.28.0
+
Index: files/series
===================================================================
--- /dev/null
+++ files/series
@@ -0,0 +1,2 @@
+0001-Use-CMAKE_INSTALL_LIBDIR.patch
+0002-fix-link-time-ordering-condition.patch
Index: package.yml
===================================================================
--- /dev/null
+++ package.yml
@@ -0,0 +1,26 @@
+name : rocm-runtime
+version : 5.1.0
+release : 1
+source :
+ - https://github.com/RadeonOpenCompute/ROCR-Runtime/archive/refs/tags/rocm-5.1.0.tar.gz : a5f7245059c3d28dbc037e1e6fa3f09084e29147096dd61f7ce5560291ab330f
+license : NCSA
+component : programming.devel
+clang : yes
+homepage : https://github.com/RadeonOpenCompute
+summary : ROCm Runtime Library
+description: |
+ The ROCm Runtime Library is a thin, user-mode API that exposes the necessary interfaces to access and interact with graphics hardware driven by the AMDGPU driver set and the AMDKFD kernel driver. Together they enable programmers to directly harness the power of AMD discrete graphics devices by allowing host applications to launch compute kernels directly to the graphics hardware.
+builddeps :
+ - pkgconfig(libdrm)
+ - pkgconfig(libelf)
+ - hsakmt-devel
+ - numactl-devel
+ - rocm-device-libs-devel
+ - vim
+setup : |
+ %apply_patches
+ %cmake -S src -DBITCODE_DIR="%libdir%/amdgcn/bitcode"
+build : |
+ %make
+install : |
+ %make_install
Index: pspec_x86_64.xml
===================================================================
--- /dev/null
+++ pspec_x86_64.xml
@@ -0,0 +1,69 @@
+<PISI>
+ <Source>
+ <Name>rocm-runtime</Name>
+ <Packager>
+ <Name>Jacek Jagosz</Name>
+ <Email>jacek.jagosz@outlook.com</Email>
+ </Packager>
+ <License>NCSA</License>
+ <PartOf>xorg.driver</PartOf>
+ <Summary xml:lang="en">PLEASE FILL ME IN</Summary>
+ <Description xml:lang="en">PLEASE FILL ME IN
+</Description>
+ <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://getsol.us/sources/README.Solus</Archive>
+ </Source>
+ <Package>
+ <Name>rocm-runtime</Name>
+ <Summary xml:lang="en">PLEASE FILL ME IN</Summary>
+ <Description xml:lang="en">PLEASE FILL ME IN
+</Description>
+ <PartOf>xorg.driver</PartOf>
+ <Files>
+ <Path fileType="data">/usr/hsa/include/hsa</Path>
+ <Path fileType="data">/usr/hsa/lib/libhsa-runtime64.so</Path>
+ <Path fileType="data">/usr/hsa/lib/libhsa-runtime64.so.1</Path>
+ <Path fileType="library">/usr/lib64/libhsa-runtime64.so.1</Path>
+ <Path fileType="library">/usr/lib64/libhsa-runtime64.so.1.5.0</Path>
+ <Path fileType="doc">/usr/share/doc/hsa-runtime64/LICENSE.md</Path>
+ </Files>
+ </Package>
+ <Package>
+ <Name>rocm-runtime-devel</Name>
+ <Summary xml:lang="en">Development files for rocm-runtime</Summary>
+ <Description xml:lang="en">PLEASE FILL ME IN
+</Description>
+ <PartOf>programming.devel</PartOf>
+ <RuntimeDependencies>
+ <Dependency release="1">rocm-runtime</Dependency>
+ </RuntimeDependencies>
+ <Files>
+ <Path fileType="header">/usr/include/hsa/Brig.h</Path>
+ <Path fileType="header">/usr/include/hsa/amd_hsa_common.h</Path>
+ <Path fileType="header">/usr/include/hsa/amd_hsa_elf.h</Path>
+ <Path fileType="header">/usr/include/hsa/amd_hsa_kernel_code.h</Path>
+ <Path fileType="header">/usr/include/hsa/amd_hsa_queue.h</Path>
+ <Path fileType="header">/usr/include/hsa/amd_hsa_signal.h</Path>
+ <Path fileType="header">/usr/include/hsa/hsa.h</Path>
+ <Path fileType="header">/usr/include/hsa/hsa_api_trace.h</Path>
+ <Path fileType="header">/usr/include/hsa/hsa_ext_amd.h</Path>
+ <Path fileType="header">/usr/include/hsa/hsa_ext_finalize.h</Path>
+ <Path fileType="header">/usr/include/hsa/hsa_ext_image.h</Path>
+ <Path fileType="header">/usr/include/hsa/hsa_ven_amd_aqlprofile.h</Path>
+ <Path fileType="header">/usr/include/hsa/hsa_ven_amd_loader.h</Path>
+ <Path fileType="library">/usr/lib64/cmake/hsa-runtime64/hsa-runtime64-config-version.cmake</Path>
+ <Path fileType="library">/usr/lib64/cmake/hsa-runtime64/hsa-runtime64-config.cmake</Path>
+ <Path fileType="library">/usr/lib64/cmake/hsa-runtime64/hsa-runtime64Targets-relwithdebinfo.cmake</Path>
+ <Path fileType="library">/usr/lib64/cmake/hsa-runtime64/hsa-runtime64Targets.cmake</Path>
+ <Path fileType="library">/usr/lib64/libhsa-runtime64.so</Path>
+ </Files>
+ </Package>
+ <History>
+ <Update release="1">
+ <Date>2022-04-14</Date>
+ <Version>5.1.0</Version>
+ <Comment>Packaging update</Comment>
+ <Name>Jacek Jagosz</Name>
+ <Email>jacek.jagosz@outlook.com</Email>
+ </Update>
+ </History>
+</PISI>
\ No newline at end of file
Index: rocm-runtime.spec
===================================================================
--- /dev/null
+++ rocm-runtime.spec
@@ -0,0 +1,156 @@
+#Image support is x86 only
+%ifarch x86_64
+%global enableimage 1
+%endif
+
+Name: rocm-runtime
+Version: 5.1.1
+Release: 1%{?dist}
+Summary: ROCm Runtime Library
+
+License: NCSA
+URL: https://github.com/RadeonOpenCompute/ROCR-Runtime
+Source0: https://github.com/RadeonOpenCompute/ROCR-Runtime/archive/refs/tags/rocm-%{version}.tar.gz#/%{name}-%{version}.tar.gz
+
+#https://github.com/RadeonOpenCompute/ROCR-Runtime/pull/129
+Patch0: 0001-Use-CMAKE_INSTALL_LIBDIR.patch
+Patch1: 0002-fix-link-time-ordering-condition.patch
+
+ExclusiveArch: x86_64 aarch64 ppc64le
+
+BuildRequires: clang
+BuildRequires: cmake
+BuildRequires: elfutils-libelf-devel
+BuildRequires: hsakmt-devel
+%if 0%{?enableimage}
+BuildRequires: clang-devel
+BuildRequires: lld-devel
+BuildRequires: llvm-devel
+BuildRequires: rocm-device-libs
+BuildRequires: vim-common
+%endif
+
+%description
+The ROCm Runtime Library is a thin, user-mode API that exposes the necessary
+interfaces to access and interact with graphics hardware driven by the AMDGPU
+driver set and the AMDKFD kernel driver. Together they enable programmers to
+directly harness the power of AMD discrete graphics devices by allowing host
+applications to launch compute kernels directly to the graphics hardware.
+
+%package devel
+Summary: ROCm Runtime development files
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: hsakmt(rocm) = %{version}
+
+%description devel
+ROCm Runtime development files
+
+
+%prep
+%autosetup -n ROCR-Runtime-rocm-%{version} -p1
+
+%build
+%cmake -S src -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ %{?!enableimage:-DIMAGE_SUPPORT=OFF} \
+ -DBITCODE_DIR="%{_libdir}/amdgcn/bitcode"
+%cmake_build
+
+
+%install
+%cmake_install
+
+# We install this via license macro instead:
+rm %{buildroot}%{_docdir}/hsa-runtime64/LICENSE.md
+
+rm -rf %{buildroot}/usr/hsa
+
+%ldconfig_scriptlets
+
+%files
+%doc README.md
+%license LICENSE.txt
+%{_libdir}/libhsa-runtime64.so.1
+%{_libdir}/libhsa-runtime64.so.1.5.0
+
+%files devel
+%{_includedir}/hsa/
+%{_libdir}/libhsa-runtime64.so
+%{_libdir}/cmake/hsa-runtime64/
+
+%changelog
+* Sat Apr 09 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.1-1
+- Update to ROCm version 5.1.1
+
+* Tue Apr 05 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-2
+- Enable ppc64le
+
+* Thu Mar 31 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-1
+- Update to ROCm version 5.1.0
+
+* Tue Feb 15 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.0.0-2
+- Enable image support for x86
+
+* Fri Feb 11 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.0.0-1
+- Update to ROCm version 5.0.0
+- General improvements to spec file
+
+* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Thu Nov 26 2020 Philipp Knechtges <philipp-dev@knechtges.com> - 3.9.0-0
+- Version 3.9.0
+
+* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-3
+- Second attempt - Rebuilt for
+ https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Wed Jul 15 2020 Tom Stellard <tstellar@redhat.com> - 3.5.0-1
+- ROCm 3.5.0 Release
+
+* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Thu Mar 21 2019 Tom Stellard <tstellar@redhat.com> - 2.0.0-3
+- Add endian detection for AArch64
+
+* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Mon Jan 14 2019 Tom Stellard <tstellar@redhat.com> - 2.0.0-1
+- ROCm 2.0.0 Release
+
+* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Tue Feb 13 2018 Tom Stellard <tstellar@redhat.com> - 1.6.1-7
+- Build for aarch64
+
+* Wed Feb 07 2018 Tom Stellard <tstellar@redhat.com> - 1.6.1-6
+- Add ExclusiveArch: x86_64
+
+* Tue Feb 06 2018 Tom Stellard <tstellar@redhat.com> - 1.6.1-5
+- Take ownership of /usr/include/hsa
+
+* Fri Feb 02 2018 Tom Stellard <tstellar@redhat.com> - 1.6.1-4
+- Fix build with gcc 8
+
+* Thu Feb 01 2018 Tom Stellard <tstellar@redhat.com> - 1.6.1-3
+- Use version macro in source url
+
+* Mon Jan 29 2018 Tom Stellard <tstellar@redhat.com> - 1.6.1-2
+- Fix some rpmlint errors
+
+* Thu Oct 12 2017 Tom Stellard <tstellar@redhat.com> - 1.6.1-1
+- Initial Release
Index: sources
===================================================================
--- /dev/null
+++ sources
@@ -0,0 +1 @@
+SHA512 (rocm-runtime-5.1.1.tar.gz) = d4c64534bb27fe5c27b5d4a62cc94aedff3b3be9a1d2a2db470fa3362d52b73e78a167e6dabd4d89cff51f5311e4e2fce4413ee72f4a84da3abbd42b7bd1ace5

File Metadata

Mime Type
text/plain
Expires
Thu, Aug 10, 8:20 PM (1 d, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5816371
Default Alt Text
D13166.id32168.diff (42 KB)

Event Timeline