Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940510 - dev-libs/rocr-runtime-6.1.2 fails to compile: amd_elf_image.hpp:62:15: error: uint64_t does not name a type
Summary: dev-libs/rocr-runtime-6.1.2 fails to compile: amd_elf_image.hpp:62:15: error:...
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:
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-09-30 07:14 UTC by Agostino Sarubbo
Modified: 2025-01-05 21:49 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,430.84 KB, text/plain)
2024-09-30 07:14 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-09-30 07:14:32 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/rocr-runtime-6.1.2 fails to compile.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-09-30 07:14:34 UTC
Created attachment 904232 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-09-30 07:14:35 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


  Could not find a package configuration file provided by
FAILED: CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_elf_image.cpp.o 
FAILED: CMakeFiles/hsa-runtime64.dir/libamdhsacode/amd_hsa_code.cpp.o 
RESULT_VARIABLE no such file or directory OUTPUT_VARIABLE: 
fatal: not a git repository (or any parent up to mount point /var/tmp)
/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
Comment 3 Sv. Lockal 2024-09-30 08:09:22 UTC
Duplicate of https://bugs.gentoo.org/937528 (uint64_t does not name a type), with the same upstream bug and the same fix.
Comment 4 Agostino Sarubbo gentoo-dev 2024-09-30 08:24:57 UTC
(In reply to Sv. Lockal from comment #3)
> Duplicate of https://bugs.gentoo.org/937528 (uint64_t does not name a type),
> with the same upstream bug and the same fix.

thanks for the info. That does depend on the parallel compilation. Let's keep this open and close when the original will be fixed. This behaviour will reduce duplicates.
Comment 5 Larry the Git Cow gentoo-dev 2025-01-05 21:49:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a94c8570e93134e0677f7f35f90b9f1367d2843

commit 8a94c8570e93134e0677f7f35f90b9f1367d2843
Author:     Sv. Lockal <lockalsash@gmail.com>
AuthorDate: 2024-12-08 13:35:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-05 21:46:26 +0000

    dev-libs/rocr-runtime: add 6.3.0, drop 6.2.4
    
    Closes: https://bugs.gentoo.org/940510
    Closes: https://bugs.gentoo.org/937528
    Closes: https://bugs.gentoo.org/937428
    Closes: https://bugs.gentoo.org/935627
    Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/rocr-runtime/Manifest                     |   2 +-
 .../files/rocr-runtime-6.2.0-ld-lld.patch          |  17 ++++
 .../files/rocr-runtime-6.2.0-no-aqlprofiler.patch  |  27 ++++++
 .../files/rocr-runtime-6.2.2-gcc15-stdint.patch    |  11 +++
 .../files/rocr-runtime-6.3.0-musl.patch            | 107 +++++++++++++++++++++
 .../rocr-runtime-6.3.0-use-system-hsakmt.patch     |  20 ++++
 dev-libs/rocr-runtime/rocr-runtime-6.1.2.ebuild    |   4 +-
 ...time-6.2.4.ebuild => rocr-runtime-6.3.0.ebuild} |  26 +++--
 8 files changed, 202 insertions(+), 12 deletions(-)