1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Description: comgr-objdump.cpp causes crash if loaded alongside mesa
When using both libamd_comgr.so and mesa with libvulkan_radeon, application
crashes with:
.
mesa: CommandLine Error: Option 'h' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
Abandon (core dumped)
Author: xytovl
Bug: https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/issues/52
Last-Update: 2023-01-08
--- ROCm-CompilerSupport-rocm-5.3.3.orig/lib/comgr/src/comgr-objdump.cpp
+++ ROCm-CompilerSupport-rocm-5.3.3/lib/comgr/src/comgr-objdump.cpp
@@ -175,9 +175,6 @@
static cl::alias SectionHeadersShort("headers",
cl::desc("Alias for --section-headers"),
cl::aliasopt(SectionHeaders));
-static cl::alias SectionHeadersShorter("h",
- cl::desc("Alias for --section-headers"),
- cl::aliasopt(SectionHeaders));
cl::list<std::string>
FilterSections("section",
|