Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902543 - dev-util/hip-5.4.3 fails to compile with clang (PATCH)
Summary: dev-util/hip-5.4.3 fails to compile with clang (PATCH)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL: https://github.com/ROCm-Developer-Too...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-03-21 11:50 UTC by Fabio Scaccabarozzi
Modified: 2023-11-20 02:38 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Scaccabarozzi 2023-03-21 11:50:36 UTC
When built with clang as compiler, =dev-util/hip-5.4.3 fails to compile. 
Upstream has already fixed this, but apparently it was not included in 5.4.3 release:
https://github.com/ROCm-Developer-Tools/hipamd/commit/be33ec55acc104a59d01df5912261d007c7f3ee9.patch
Dropping the patch in /etc/portage/patches is enough to make the package compile properly.

Reproducible: Always

Steps to Reproduce:
1. CC=clang CXX=clang++ emerge -1 =dev-util/hip-5.4.3
2.
3.
Actual Results:  
Package fails to build

Expected Results:  
Package should build successfully
Comment 1 Benda Xu gentoo-dev 2023-11-20 02:38:01 UTC
Fixed in hip-5.7. Thanks!