Skip to content
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

Open
waltercool opened this issue Nov 30, 2024 · 4 comments
Open

[Gentoo] Failure to build MIOpen 6.1.2 #3414

waltercool opened this issue Nov 30, 2024 · 4 comments

Comments

@waltercool
Copy link

Trying to build MIOpen 6.1.2, I been getting few errors related to "numeric_limits is ambiguous"

Any ideas? Using

  • Clang 18.1.8
  • HIP 6.1.2
  • Boost 1.86.0

Also tried with MIOpen 6.1.1 but same problem

Kind regards

build.log

@ppanchad-amd
Copy link

Hi @waltercool. Internal ticket has been created to investigate your issue. Thanks!

@sohaibnd
Copy link

sohaibnd commented Dec 9, 2024

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?

@waltercool
Copy link
Author

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.

@sohaibnd
Copy link

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 CMAKE_CXX_FLAGS="--stdlib=libc++" or CLANG_DEFAULT_CXX_STDLIB="libstdc++" cmake flags in your ebuild script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants