Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 876340 Details for
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
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-util:roctracer-5.3.3-r1:20231202-061105.log
dev-util:roctracer-5.3.3-r1:20231202-061105.log (text/plain), 11.03 KB, created by
Toralf Förster
on 2023-12-02 09:15:11 UTC
(
hide
)
Description:
dev-util:roctracer-5.3.3-r1:20231202-061105.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-02 09:15:11 UTC
Size:
11.03 KB
patch
obsolete
> * Package: dev-util/roctracer-5.3.3-r1:0/5.3 > * Repository: gentoo > * Maintainer: sci@gentoo.org xgreenlandforwyy@gmail.com,gentoo@holzke.net > * USE: abi_x86_64 amd64 amdgpu_targets_gfx1030 amdgpu_targets_gfx906 amdgpu_targets_gfx908 amdgpu_targets_gfx90a elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > * Checking whether python3_11 is suitable ... > * dev-lang/python:3.11 ... > [ ok ] > * python_check_deps ... > * dev-python/CppHeaderParser[python_targets_python3_11(-)] ... > [ ok ] > * dev-python/ply[python_targets_python3_11(-)] ... > [ ok ] > [ ok ] > * Using python3.11 to build (via PYTHON_COMPAT iteration) >>>> Unpacking source... >>>> Unpacking rocm-tracer-5.3.3.tar.gz to /var/tmp/portage/dev-util/roctracer-5.3.3-r1/work >>>> Source unpacked in /var/tmp/portage/dev-util/roctracer-5.3.3-r1/work >>>> Preparing source in /var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3 ... > * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3" > * Build directory (BUILD_DIR): "/var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3_build" > * Applying roctracer-5.3.3-flat-lib-layout.patch ... > [ ok ] > * Applying roctracer-5.3.3-do-not-install-test-files.patch ... > [ ok ] > * Applying roctracer-5.3.3-Werror.patch ... > [ ok ] > * Adjusting to prefix / > * roctracer-5.3.3-rocm-path.patch ... > [ ok ] > * Applying roctracer-5.3.3-rocm-path.patch ... > [ ok ] >>>> Source prepared. > * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! > * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>>> Configuring source in /var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3 ... > * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3" > * Build directory (BUILD_DIR): "/var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3_build" >cmake -C /var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_MODULE_PATH=/usr/lib64/cmake/hip -DAMDGPU_TARGETS=gfx1030;gfx906:xnack-;gfx908:xnack-;gfx90a:xnack+; -DFILE_REORG_BACKWARD_COMPATIBILITY=OFF -DHIP_CXX_COMPILER=hipcc -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3_build/gentoo_toolchain.cmake /var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3 >loading initial cache file /var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3_build/gentoo_common_config.cmake >-- The C compiler identification is Clang 17.0.6 >-- The CXX compiler identification is Clang 17.0.6 >-- Detecting C compiler ABI info >-- Detecting C compiler ABI info - done >-- Check for working C compiler: /var/tmp/portage/dev-util/roctracer-5.3.3-r1/temp/clang-wrappers/clang - skipped >-- Detecting C compile features >-- Detecting C compile features - done >-- Detecting CXX compiler ABI info >-- Detecting CXX compiler ABI info - done >-- Check for working CXX compiler: /usr/lib/llvm/17/bin/clang++ - skipped >-- Detecting CXX compile features >-- Detecting CXX compile features - done >-- Performing Test CMAKE_HAVE_LIBC_PTHREAD >-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success >-- Found Threads: TRUE >CMake Deprecation Warning at /usr/lib64/cmake/hip/hip-config.cmake:20 (cmake_minimum_required): > Compatibility with CMake < 3.5 will be removed from a future version of > CMake. > > Update the VERSION argument <min> value or use a ...<max> suffix to tell > CMake that the project does not need compatibility with older versions. >Call Stack (most recent call first): > CMakeLists.txt:47 (find_package) > > >CMake Deprecation Warning at /usr/lib64/cmake/hip/hip-config-amd.cmake:21 (cmake_minimum_required): > Compatibility with CMake < 3.5 will be removed from a future version of > CMake. > > Update the VERSION argument <min> value or use a ...<max> suffix to tell > CMake that the project does not need compatibility with older versions. >Call Stack (most recent call first): > /usr/lib64/cmake/hip/hip-config.cmake:160 (include) > CMakeLists.txt:47 (find_package) > > >-- hip::amdhip64 is SHARED_LIBRARY >-- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS >-- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS - Failed >-- Found Python3: /var/tmp/portage/dev-util/roctracer-5.3.3-r1/temp/python3.11/bin/python3 (found version "3.11.6") found components: Interpreter >-- Looking for backtrace.h >-- Looking for backtrace.h - not found >-- /hipconfig Failed with Exit code: No such file or directory >-- Found HIP: /usr (found version "5.7.23486") >-- Performing Test HAVE_FFI_CALL >-- Performing Test HAVE_FFI_CALL - Success >-- Found FFI: /usr/lib64/libffi.so >-- Performing Test Terminfo_LINKABLE >-- Performing Test Terminfo_LINKABLE - Success >-- Found Terminfo: /usr/lib64/libtinfo.so >-- Found ZLIB: /usr/lib64/libz.so (found version "1.3") >-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.11.6") >-----------Dest-name: >------Install-prefix: /usr >-----------CPACK-dir: >Using CPACK_DEBIAN_PACKAGE_RELEASE local >Using CPACK_RPM_PACKAGE_RELEASE local >RESULT_VARIABLE 0 OUTPUT_VARIABLE: >CPACK_RPM_PACKAGE_RELEASE: local >-- Found Doxygen: /usr/bin/doxygen (found version "1.9.8") found components: doxygen missing components: dot >-- <<< Gentoo configuration >>> >Build type RelWithDebInfo >Install path /usr >Compiler flags: >C -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int >C++ -O2 -pipe -march=native -fno-diagnostics-color >Linker flags: >Executable -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 >Module -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 >Shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 > >-- Configuring done (2.4s) >-- Generating done (0.0s) >-- Build files have been written to: /var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3_build >>>> Source configured. >'/var/tmp/portage/dev-util/roctracer-5.3.3-r1/temp/clang16-errors.log' -> '/var/tmp/clang/dev-util/roctracer-5.3.3-r1/clang16-errors.log' >'/var/tmp/portage/dev-util/roctracer-5.3.3-r1/temp/clang16-safe.log' -> '/var/tmp/clang/dev-util/roctracer-5.3.3-r1/clang16-safe.log' >>>> Compiling source in /var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3 ... > * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3" > * 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/CMakeFiles/load_unload_reload_test.dir/hsa/load_unload_reload.cpp.o -c /var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3/test/hsa/load_unload_reload.cpp >[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-color-diagnostics -Wall -MD -MT src/CMakeFiles/roctx.dir/roctx/roctx.cpp.o -MF src/CMakeFiles/roctx.dir/roctx/roctx.cpp.o.d -o src/CMakeFiles/roctx.dir/roctx/roctx.cpp.o -c /var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3/src/roctx/roctx.cpp >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-diagnostics -Wall -MD -MT src/CMakeFiles/roctx.dir/roctx/roctx.cpp.o -MF src/CMakeFiles/roctx.dir/roctx/roctx.cpp.o.d -o src/CMakeFiles/roctx.dir/roctx/roctx.cpp.o -c /var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3/src/roctx/roctx.cpp >/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), > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >1 error generated. >[3/56] : && /usr/lib/llvm/17/bin/clang++ -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 test/CMakeFiles/load_unload_reload_test.dir/hsa/load_unload_reload.cpp.o -o test/load_unload_reload_test /usr/lib64/libhsa-runtime64.so.1.11.0 && : >[4/56] /usr/lib/llvm/17/bin/clang++ -I/var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3/src/util -O2 -pipe -march=native -fno-diagnostics-color -std=gnu++17 -fPIC -fno-color-diagnostics -Wall -MD -MT src/CMakeFiles/util.dir/util/util.cpp.o -MF src/CMakeFiles/util.dir/util/util.cpp.o.d -o src/CMakeFiles/util.dir/util/util.cpp.o -c /var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3/src/util/util.cpp >[5/56] /usr/lib/llvm/17/bin/clang++ -I/var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3/src/util -O2 -pipe -march=native -fno-diagnostics-color -std=gnu++17 -fPIC -fno-color-diagnostics -Wall -MD -MT src/CMakeFiles/util.dir/util/debug.cpp.o -MF src/CMakeFiles/util.dir/util/debug.cpp.o.d -o src/CMakeFiles/util.dir/util/debug.cpp.o -c /var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3/src/util/debug.cpp >ninja: build stopped: subcommand failed. > * ERROR: dev-util/roctracer-5.3.3-r1::gentoo failed (compile phase): > * ninja -v -j4 -l0 failed > * > * Call stack: > * ebuild.sh, line 136: Called src_compile > * environment, line 3398: Called cmake_src_compile > * environment, line 1420: Called cmake_build > * environment, line 1387: Called eninja > * environment, line 1854: Called die > * The specific snippet of code: > * "$@" || die -n "${*} failed" > * > * If you need support, post the output of `emerge --info '=dev-util/roctracer-5.3.3-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-util/roctracer-5.3.3-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-util:roctracer-5.3.3-r1:20231202-061105.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/roctracer-5.3.3-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-util/roctracer-5.3.3-r1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3_build' > * S: '/var/tmp/portage/dev-util/roctracer-5.3.3-r1/work/roctracer-rocm-5.3.3' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 919022
:
876339
| 876340 |
876341
|
876342
|
876343
|
876344
|
876345
|
876346
|
876347