Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831296 - dev-util/heaptrack-1.3.0 - /.../heaptrack_inject.cpp: error: ELF_R_SYM was not declared in this scope
Summary: dev-util/heaptrack-1.3.0 - /.../heaptrack_inject.cpp: error: ELF_R_SYM was no...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-16 10:27 UTC by Toralf Förster
Modified: 2022-01-16 10:27 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.42 KB, text/plain)
2022-01-16 10:27 UTC, Toralf Förster
Details
dev-util:heaptrack-1.3.0:20220116-022222.log (dev-util:heaptrack-1.3.0:20220116-022222.log,17.98 KB, text/plain)
2022-01-16 10:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,304.67 KB, text/plain)
2022-01-16 10:27 UTC, Toralf Förster
Details
environment (environment,104.60 KB, text/plain)
2022-01-16 10:27 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,31.04 KB, application/x-bzip)
2022-01-16 10:27 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.63 KB, application/x-bzip)
2022-01-16 10:27 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.62 KB, application/x-bzip)
2022-01-16 10:27 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 2022-01-16 10:27:23 UTC
   35 | #error unsupported word size
      |  ^~~~~
/var/tmp/portage/dev-util/heaptrack-1.3.0/work/heaptrack-1.3.0/src/track/heaptrack_inject.cpp: In instantiation of 'void {anonymous}::try_overwrite_elftable(const Table&, const elf_string_table&, const elf_symbol_table&, {anonymous}::Elf::Addr, bool) [with Table = {anonymous}::elftable<Elf64_Rel, 17, 18>; {anonymous}::elf_string_table = {anonymous}::elftable<const char, 5, 10>; {anonymous}::elf_symbol_table = {anonymous}::elftable<Elf64_Sym, 6, 11>; {anonymous}::Elf::Addr = long unsigned int]':
/var/tmp/portage/dev-util/heaptrack-1.3.0/work/heaptrack-1.3.0/src/track/heaptrack_inject.cpp:291:27:   required from here
/var/tmp/portage/dev-util/heaptrack-1.3.0/work/heaptrack-1.3.0/src/track/heaptrack_inject.cpp:270:37: error: 'ELF_R_SYM' was not declared in this scope; did you mean 'ELF32_R_SYM'?
  270 |         const auto index = ELF_R_SYM(rela->r_info);
      |                            ~~~~~~~~~^~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20220111-220013

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang/llvm (if any):
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.58.0 *
php cli:
  [1]   php7.3
  [2]   php7.4
  [3]   php8.1 *

  HEAD of ::gentoo
commit d554014cdebeb70644e6f1a4691a84e3e621e351
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jan 16 01:50:03 2022 +0000

    2022-01-16 01:50:02 UTC

emerge -qpvO dev-util/heaptrack
[ebuild  N    ] dev-util/heaptrack-1.3.0  USE="-gui -test -zstd"
Comment 1 Toralf Förster gentoo-dev 2022-01-16 10:27:28 UTC
Created attachment 762303 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-01-16 10:27:32 UTC
Created attachment 762304 [details]
dev-util:heaptrack-1.3.0:20220116-022222.log
Comment 3 Toralf Förster gentoo-dev 2022-01-16 10:27:34 UTC
Created attachment 762305 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-01-16 10:27:40 UTC
Created attachment 762306 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-01-16 10:27:41 UTC
Created attachment 762307 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-01-16 10:27:42 UTC
Created attachment 762308 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-01-16 10:27:47 UTC
Created attachment 762309 [details]
temp.tar.bz2