Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947640 - dev-libs/rocr-runtime-6.1.2 - [gcc-15] amd_elf_image.hpp: error: uint64_t does not name a type
Summary: dev-libs/rocr-runtime-6.1.2 - [gcc-15] amd_elf_image.hpp: error: uint64_t doe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-01-06 20:37 UTC by Toralf Förster
Modified: 2025-01-10 00:31 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.00 KB, text/plain)
2025-01-06 20:38 UTC, Toralf Förster
Details
dev-libs:rocr-runtime-6.1.2:20250106-203124.log.xz (dev-libs:rocr-runtime-6.1.2:20250106-203124.log.xz,13.61 KB, application/x-xz)
2025-01-06 20:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,161.35 KB, text/plain)
2025-01-06 20:38 UTC, Toralf Förster
Details
environment (environment,107.61 KB, text/plain)
2025-01-06 20:38 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2025-01-06 20:38 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,24.32 KB, application/x-xz)
2025-01-06 20:38 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,27.78 KB, application/x-xz)
2025-01-06 20:38 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,43.89 KB, application/x-xz)
2025-01-06 20:38 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-01-06 20:37:59 UTC
too long lines were shrinked:

[112/152] /usr/bin/x86_64-pc-linux-gnu-g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.13.0-local-build-unknown\" -DUNIX_OS -D__STDC_CO
[113/152] /usr/bin/x86_64-pc-linux-gnu-g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.13.0-local-build-unknown\" -DUNIX_OS -D__STDC_CO
[114/152] /usr/bin/x86_64-pc-linux-gnu-g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.13.0-local-build-unknown\" -DUNIX_OS -D__STDC_CO
FAILED: CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_elf_image.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DAMD_INTERNAL_BUILD -DBRAHMA_BUILD=1 -DHAVE_MEMFD_CREATE -DHSA_DEPRECATED="" -DHSA_EXPORT=1 -DHSA_EXPORT_FINALIZER=1 -DHSA_EXPORT_IMAGES=1 -DHSA_IMAGE_SUPPORT -DLINUX -DLITTLEENDIAN_CPU=1 -DROCR_BUILD_ID=\"1.13.0-local-build-unknown\" -DUNIX_OS -D__STDC_CONSTANT_MAC
In file included from /var/tmp/portage/dev-libs/rocr-runtime-6.1.2/work/ROCR-Runtime-rocm-6.1.2/src/libamdhsacode/amd_elf_image.cpp:43:
/var/tmp/portage/dev-libs/rocr-runtime-6.1.2/work/ROCR-Runtime-rocm-6.1.2/src/core/inc/amd_elf_image.hpp:62:15: error: uint64_t does not name a type
   62 |       virtual uint64_t type() const = 0;
      |               ^~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20250104-075002

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.6
llvm-config: 19.1.6
Python 3.12.8
go version go1.23.4 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.83.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 8116c82f94bf7f2a9d8408e52798cd8fbe42940d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jan 6 20:03:18 2025 +0000

    2025-01-06 20:03:18 UTC

emerge -qpvO =dev-libs/rocr-runtime-6.1.2
[ebuild  N    ] dev-libs/rocr-runtime-6.1.2  USE="-debug" LLVM_SLOT="18"
Comment 1 Toralf Förster gentoo-dev 2025-01-06 20:38:00 UTC
Created attachment 916019 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-01-06 20:38:01 UTC
Created attachment 916020 [details]
dev-libs:rocr-runtime-6.1.2:20250106-203124.log.xz
Comment 3 Toralf Förster gentoo-dev 2025-01-06 20:38:03 UTC
Created attachment 916021 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-01-06 20:38:04 UTC
Created attachment 916022 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-01-06 20:38:05 UTC
Created attachment 916023 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-01-06 20:38:06 UTC
Created attachment 916024 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-01-06 20:38:07 UTC
Created attachment 916025 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-01-06 20:38:08 UTC
Created attachment 916026 [details]
qlist-info.txt.xz
Comment 9 Larry the Git Cow gentoo-dev 2025-01-10 00:31:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=802a037f8d79facd29169d1cda9744874407ece0

commit 802a037f8d79facd29169d1cda9744874407ece0
Author:     Sv. Lockal <lockalsash@gmail.com>
AuthorDate: 2025-01-07 15:46:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-10 00:29:14 +0000

    dev-libs/rocr-runtime: fix compilation with gcc-15
    
    Apply the same patch as for 6.3.0.
    
    Closes: https://bugs.gentoo.org/947640
    Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/40027
    Signed-off-by: Sam James <sam@gentoo.org>

 ...6.2.2-gcc15-stdint.patch => rocr-runtime-6.1.2-gcc15-stdint.patch} | 0
 dev-libs/rocr-runtime/rocr-runtime-6.1.2.ebuild                       | 3 ++-
 dev-libs/rocr-runtime/rocr-runtime-6.3.0.ebuild                       | 4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)