Bug 2292427
| Summary: | libamd_comgr.so.2 references an unreachable file | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nils Philippsen <nphilipp> |
| Component: | rocm-compilersupport | Assignee: | Jeremy Newton <alexjnewt> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 40 | CC: | alexjnewt, dominik, nphilipp, rocm-packagers-sig |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rocm-compilersupport-17.3-6.rocm6.1.2.fc40 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 2292379 | Environment: | |
| Last Closed: | 2024-10-06 02:11:36 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2292870 | ||
| Bug Blocks: | |||
|
Description
Nils Philippsen
2024-06-14 17:30:52 UTC
Yeah there's a bug in the 6.0 packages, we're going to update to 6.1, so it should resolve the issue. Yeah there's a bug in the 6.0 packages, we're going to update to 6.1, so it should resolve the issue. FEDORA-2024-2a06d36b71 (hipblas-6.1.1-1.fc40, hipcub-6.1.1-2.fc40, and 24 more) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-2a06d36b71 FEDORA-2024-2a06d36b71 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-2a06d36b71` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-2a06d36b71 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. The above update does not fix this bug: $ strings /usr/lib64/libamd_comgr.so.2 | grep opencl-c-base /usr/lib64/llvm17/bin/../../../lib/clang/17/include/opencl-c-base.h /usr/lib64/llvm17/bin/../../../lib/clang/17/include/opencl-c-base.h /usr/lib64/llvm17/bin/../../../lib/clang/17/include/opencl-c-base.h /usr/lib64/llvm17/bin/../../../lib/clang/17/include/opencl-c-base.h $ ls -l /usr/lib64/llvm17/bin/../../../lib/clang/17/include/opencl-c-base.h ls: cannot access '/usr/lib64/llvm17/bin/../../../lib/clang/17/include/opencl-c-base.h': No such file or directory $ rpm -qf /usr/lib64/libamd_comgr.so.2 rocm-comgr-17.3-4.rocm6.1.2.fc40.x86_64 Moving back to assigned, I need to reproduce Yeah I'm still puzzled over this. I have no idea where it's being picked up. We put this in: https://src.fedoraproject.org/rpms/rocm-compilersupport/blob/f40/f/rocm-compilersupport.spec#_158 But it's still getting generated somewhere. I noticed that in 6.2, it actually sets the path to: /usr/bin/../lib/clang/17/include/opencl-c-base.h Which is still weird but /usr/bin does exist at least. I'll need to do a git bisect and see what changed between 6.1 and 6.2. Ok I see the issue now. Looks like we're actually getting this path from clang's cmake logic itself. Furthermore, it looks like the clang17-resource-filesystem package has a bug and doesn't own the missing directory, so it doesn't exist. To be clear, nothing seems to own this directory. It looks like they have a fix coming down the pipe, but I'm not sure how long it will take because it seems they're consumed by upgrading f41 and f42 to llvm 19, and the latest clang17 builds are failing on f40. I'll push a workaround for now by pulling in clang17 as a dependency for rocm-comgr. It's not great, but it at least fixes a bug that's been unfixed for 3.5 months now. FEDORA-2024-1b43e5339b (rocm-compilersupport-17.3-6.rocm6.1.2.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-1b43e5339b FEDORA-2024-1b43e5339b has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-1b43e5339b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-1b43e5339b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-1b43e5339b (rocm-compilersupport-17.3-6.rocm6.1.2.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report. |