Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936408 - sys-process/btop: failing to load ROCm-SMI shared library (musl)
Summary: sys-process/btop: failing to load ROCm-SMI shared library (musl)
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Adrian Schollmeyer
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2024-07-21 00:11 UTC by kkflt
Modified: 2024-09-22 13:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch (musl-fix.patch,506 bytes, patch)
2024-07-21 00:11 UTC, kkflt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description kkflt 2024-07-21 00:11:31 UTC
Created attachment 898045 [details, diff]
patch

In a musl based gentoo system btop fails to load the ROCm-SMI shared library, thus being unable to see gpu usage. This simple patch fixes it.
Comment 1 Adrian Schollmeyer 2024-09-22 13:54:33 UTC
This seems like upstream issue 774. Unfortuantely, your patch looks more like a dirty fix than a real solution to the issue. I'd expect similar issues to occur with this patch applied whenever the libary's SONAME version changes (consider a Gentoo user who still uses SONAME version 5, which is available at the moment).

I'd rather not apply such a kind of hack, as it only solves the issue under very specific circumstances. However, I can keep an eye out for progress on the corresponding upstream issue and backport the fix when some fix becomes available.