From 6603720d4160733fef3c8bf3d0cb5a9874abecd6 Mon Sep 17 00:00:00 2001 From: "Sv. Lockal" Date: Mon, 15 Jan 2024 20:29:12 +0000 Subject: [PATCH] sci-libs/rocBLAS: disable stripping for *.hsaco files Signed-off-by: Sv. Lockal Signed-off-by: Sam James --- sci-libs/rocBLAS/rocBLAS-5.7.1-r1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sci-libs/rocBLAS/rocBLAS-5.7.1-r1.ebuild b/sci-libs/rocBLAS/rocBLAS-5.7.1-r1.ebuild index a6ac3e7e3b2cc..77a659cb9a093 100644 --- a/sci-libs/rocBLAS/rocBLAS-5.7.1-r1.ebuild +++ b/sci-libs/rocBLAS/rocBLAS-5.7.1-r1.ebuild @@ -104,4 +104,8 @@ src_install() { dolib.a clients/librocblas_fortran_client.a dobin clients/staging/rocblas-bench fi + + # Stop llvm-strip from removing .strtab section from *.hsaco files, + # otherwise rocclr/elf/elf.cpp complains with "failed: null sections(STRTAB)" and crashes + dostrip -x /usr/$(get_libdir)/rocblas/library/ }