summaryrefslogtreecommitdiff
path: root/dev-libs/rocr-runtime/files/rocr-runtime-6.1.0-ld-lld.patch
blob: fb5d3d3419674153703341a883f25ca903c2357a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Fix "symbol not defined" when linking with ld.lld >= 17
https://github.com/ROCm/ROCR-Runtime/issues/204
--- a/hsacore.so.def
+++ b/hsacore.so.def
@@ -246,12 +246,6 @@ global:
 	hsa_amd_vmem_retain_alloc_handle;
 	hsa_amd_vmem_get_alloc_properties_from_handle;
 	hsa_amd_agent_set_async_scratch_limit;
-	hsa_tools_scratch_event_alloc_start;
-	hsa_tools_scratch_event_alloc_end;
-	hsa_tools_scratch_event_free_start;
-	hsa_tools_scratch_event_free_end;
-	hsa_tools_scratch_event_async_reclaim_start;
-	hsa_tools_scratch_event_async_reclaim_end;
 
 local:
     *;