Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 937528

Summary: 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
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Craig Andrews <candrews>
Status: CONFIRMED ---    
Severity: normal CC: gentoo, lockalsash
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/ROCm/ROCR-Runtime/issues/227
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 932474    
Attachments: emerge-info.txt
dev-libs:rocr-runtime-6.1.2:20240807-100346.log.xz
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt.xz

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