-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Gentoo] Failure to build MIOpen 6.1.2 #3414
Comments
Hi @waltercool. Internal ticket has been created to investigate your issue. Thanks! |
Hi @waltercool, can you provide the steps you followed to build MIOpen as well as your OS and ROCm version. Also, do you have both llvm and rocm-llvm installed on your system? |
Hi @sohaibnd, I'm using Gentoo Linux ebuild for MIOpen. It doesn't use rocm-llvm but system llvm (18.1.8), it uses rocm 6.1.2. Kind regards. |
ROCm isn't officially supported on Gentoo Linux, see the docs for supported distributions. However, one suggestion to fix your build is to try installing libstdc++ and including either the |
Hi @waltercool , there are a group of issues, which did not allow to build miopen-6.1.1
Overall as rocm-6.1.x releases are tied to llvm-18, there is no fix there. For rocm-6.3.0 there is a patch in https://github.com/gentoo/gentoo/pull/39654/files#diff-755d79eba9586c9b3f9a49e2b63cc3659fdf95600c1c43ae69cf68f1ea9bb7c5 - I may try to submit it to upstream if I am able to set up pytorch with libc++. Regarding building the system with |
@AngryLoki @waltercool MIOpen/src/kernels/miopen_limits.hpp Line 98 in 31be57b
As for the adding new |
@waltercool @AngryLoki Can you try this change #3467 to see if it fixes the build issue? |
@sohaibnd , yes, it fixes the build issue with libc++ (and does not break anything in libstdc++ too). Thanks! |
When using your PR branch, I get the following issue:
But applying your changes only into 6.1.2 works fine to me, thank you very much! |
@waltercool , failure to find |
Trying to build MIOpen 6.1.2, I been getting few errors related to "numeric_limits is ambiguous"
Any ideas? Using
Also tried with MIOpen 6.1.1 but same problem
Kind regards
build.log
The text was updated successfully, but these errors were encountered: