Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937528 - dev-libs/rocr-runtime-6.1.2 - [icu-75.1] [gcc-15] /.../amd_elf_image.cpp: error: class rocr::amd::elf::Section has no member named offset
Summary: dev-libs/rocr-runtime-6.1.2 - [icu-75.1] [gcc-15] /.../amd_elf_image.cpp: err...
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-08-07 17:33 UTC by Toralf Förster
Modified: 2025-01-05 21:49 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.46 KB, text/plain)
2024-08-07 17:33 UTC, Toralf Förster
Details
dev-libs:rocr-runtime-6.1.2:20240807-100346.log.xz (dev-libs:rocr-runtime-6.1.2:20240807-100346.log.xz,12.93 KB, application/x-xz)
2024-08-07 17:33 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,72.97 KB, application/x-xz)
2024-08-07 17:33 UTC, Toralf Förster
Details
environment (environment,104.79 KB, text/plain)
2024-08-07 17:33 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.15 KB, application/x-xz)
2024-08-07 17:33 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,31.54 KB, application/x-xz)
2024-08-07 17:33 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,78.55 KB, application/x-xz)
2024-08-07 17:33 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 2024-08-07 17:33:28 UTC
  210 |       virtual Section* addSection(const std::string &name,
      |                        ^~~~~~~~~~
/var/tmp/portage/dev-libs/rocr-runtime-6.1.2/work/ROCR-Runtime-rocm-6.1.2/src/libamdhsacode/amd_elf_image.cpp:764:16: note:   by rocr::amd::elf::Section* rocr::amd::elf::GElfImage::addSection(const std::string&, uint32_t, uint64_t, uint64_t, rocr::amd::elf::Segment*)
  764 |       Section* addSection(const std::string &name,
      |                ^~~~~~~~~~
/var/tmp/portage/dev-libs/rocr-runtime-6.1.2/work/ROCR-Runtime-rocm-6.1.2/src/libamdhsacode/amd_elf_image.cpp: In member function bool rocr::amd::elf::GElfSegment::push(uint64_t):
/var/tmp/portage/dev-libs/rocr-runtime-6.1.2/work/ROCR-Runtime-rocm-6.1.2/src/libamdhsacode/amd_elf_image.cpp:856:38: error: class rocr::amd::elf::Section has no member named offset
  856 |         phdr.p_offset = sections[0]->offset();
      |                                      ^~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened_systemd-20240802-065003

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.79.0 *
The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.2
  [2]   php8.3 *
go version go1.22.5 linux/amd64

  HEAD of ::gentoo
commit ee0fc17016bddf4459a1bc448abd1995760f5c18
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Aug 7 09:49:12 2024 +0000

    2024-08-07 09:49:11 UTC

emerge -qpvO dev-libs/rocr-runtime
[ebuild  N    ] dev-libs/rocr-runtime-6.1.2  USE="-debug" LLVM_SLOT="18"
Comment 1 Toralf Förster gentoo-dev 2024-08-07 17:33:29 UTC
Created attachment 899423 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-07 17:33:29 UTC
Created attachment 899424 [details]
dev-libs:rocr-runtime-6.1.2:20240807-100346.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-08-07 17:33:31 UTC
Created attachment 899425 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-08-07 17:33:32 UTC
Created attachment 899426 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-08-07 17:33:32 UTC
Created attachment 899427 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-07 17:33:33 UTC
Created attachment 899428 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-07 17:33:35 UTC
Created attachment 899429 [details]
qlist-info.txt.xz
Comment 8 Sv. Lockal 2024-08-18 07:37:31 UTC
Upstream bug: https://github.com/ROCm/ROCR-Runtime/issues/227
Comment 9 Larry the Git Cow gentoo-dev 2025-01-05 21:49:50 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(-)