Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919022 - dev-util/roctracer-5.3.3-r1 - [clang] /.../roctx.cpp: error: reinterpret_cast from const void to decltype(report_activity.load()) (aka int ( )(activity_domain
Summary: dev-util/roctracer-5.3.3-r1 - [clang] /.../roctx.cpp: error: reinterpret_cast...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-02 09:15 UTC by Toralf Förster
Modified: 2023-12-02 21:28 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.94 KB, text/plain)
2023-12-02 09:15 UTC, Toralf Förster
Details
dev-util:roctracer-5.3.3-r1:20231202-061105.log (dev-util:roctracer-5.3.3-r1:20231202-061105.log,11.03 KB, text/plain)
2023-12-02 09:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,133.23 KB, text/plain)
2023-12-02 09:15 UTC, Toralf Förster
Details
environment (environment,141.72 KB, text/plain)
2023-12-02 09:15 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-02 09:15 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.15 KB, application/x-xz)
2023-12-02 09:15 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,236.64 KB, text/plain)
2023-12-02 09:15 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,45.45 KB, application/x-xz)
2023-12-02 09:15 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,7.54 KB, application/x-xz)
2023-12-02 09:15 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 2023-12-02 09:15:09 UTC
too long lines were shrinked:

 * Build directory  (BUILD_DIR):     "/var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3_build"
ninja -v -j4 -l0
[1/56] /usr/lib/llvm/17/bin/clang++    -O2 -pipe -march=native -fno-diagnostics-color -std=gnu++17 -fno-color-diagnostics -Wall -MD -MT test/CMakeFiles/load_unload_reload_test.dir/hsa/load_unload_reload.cpp.o -MF test/CMakeFiles/load_unload_reload_test.dir/hsa/load_unload_reload.cpp.o.d -o test/CMak
[2/56] /usr/lib/llvm/17/bin/clang++ -DROCTX_EXPORTS -I/var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3/inc -I/var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3/src  -O2 -pipe -march=native -fno-diagnostics-color -std=gnu++17 -fPIC -fvisibility=hidden -fno-co
FAILED: src/CMakeFiles/roctx.dir/roctx/roctx.cpp.o 
/usr/lib/llvm/17/bin/clang++ -DROCTX_EXPORTS -I/var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3/inc -I/var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3/src  -O2 -pipe -march=native -fno-diagnostics-color -std=gnu++17 -fPIC -fvisibility=hidden -fno-color-dia
/var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3/src/roctx/roctx.cpp:91:25: error: reinterpret_cast from 'const void *' to 'decltype(report_activity.load())' (aka 'int (*)(activity_domain_t, unsigned int, void *)') casts away qualifiers
   91 |   report_activity.store(reinterpret_cast<decltype(report_activity.load())>(function),
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd_merged_usr-20231128-203237

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 49aa67b6a4a439f6f6f0897b687ddea70b5e01ec
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 2 04:46:54 2023 +0000

    2023-12-02 04:46:54 UTC

emerge -qpvO dev-util/roctracer
[ebuild  N    ] dev-util/roctracer-5.3.3-r1  USE="-test" AMDGPU_TARGETS="gfx90a gfx906 gfx908 gfx1030 -gfx803 -gfx900 -gfx1010 -gfx1011 -gfx1012 -gfx1031"
Comment 1 Toralf Förster gentoo-dev 2023-12-02 09:15:10 UTC
Created attachment 876339 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-02 09:15:11 UTC
Created attachment 876340 [details]
dev-util:roctracer-5.3.3-r1:20231202-061105.log
Comment 3 Toralf Förster gentoo-dev 2023-12-02 09:15:12 UTC
Created attachment 876341 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-02 09:15:13 UTC
Created attachment 876342 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-02 09:15:14 UTC
Created attachment 876343 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-02 09:15:15 UTC
Created attachment 876344 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-02 09:15:17 UTC
Created attachment 876345 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-12-02 09:15:18 UTC
Created attachment 876346 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-02 09:15:19 UTC
Created attachment 876347 [details]
var.tmp.clang.tar.xz