* Package: dev-util/hip-4.3.0-r1 * Repository: gentoo * Maintainer: sci@gentoo.org candrews@gentoo.org,gentoo@holzke.net * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: fakeroot network-sandbox preserve-libs sandbox selinux sesandbox splitdebug userpriv usersandbox * /etc/portage/package.cflags/cflags -> */*: NOFFLAGS=1 * /etc/portage/package.cflags/cflags -> */*: LDFLAGS-="-Wl,-z,now -Wl,-z,relro" * /etc/portage/package.cflags/cflags -> */*: USE_NONGNU="" +fPIE +fstack-protector-all +D_FORTIFY_SOURCE=2 * /etc/portage/package.cflags/cflags -> */*: NOLDADD=1 * FEATURES='assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live candy cgroup clean-logs config-protect-if-modified distlocks fakeroot fixlafiles ipc-sandbox merge-sync metadata-transfer mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms sign split-elog split-log splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr' * CFLAGS='-Os -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -fexceptions -Wformat -fstack-clash-protection -fcf-protection=full -fasynchronous-unwind-tables -ftree-vectorize -Wimplicit-function-declaration -Wno-error=implicit-function-declaration' * CXXFLAGS='-Os -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -fexceptions -Wformat -fstack-clash-protection -fcf-protection=full -fasynchronous-unwind-tables -ftree-vectorize' * CPPFLAGS='-D_GLIBCXX_ASSERTIONS' * FFLAGS='-Os -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches' * FCFLAGS='-Os -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches' * F77FLAGS='-Os -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches' * LDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,--sort-common' * MAKEOPTS='-j12 -l15' * gcc (Gentoo Hardened 11.2.0 p1) 11.2.0 * g++ (Gentoo Hardened 11.2.0 p1) 11.2.0 * LLD 13.0.0 (compatible with GNU linkers) * Linux ALESSAND-F1E8 5.15.12-rt-rt25-x86_64 #4 SMP PREEMPT Sun Jan 30 18:42:01 CET 2022 x86_64 AMD Ryzen 5 3600 6-Core Processor AuthenticAMD GNU/Linux dev-util/hip: 1 minute, 36 seconds average for 4 merges 2021-05-21T13:21:13 >>> dev-util/hip: 1 minute, 11 seconds 2021-06-02T10:04:09 >>> dev-util/hip: 32 seconds 2021-06-12T02:48:18 >>> dev-util/hip: 3 minutes, 27 seconds 2021-11-06T15:23:35 >>> dev-util/hip: 1 minute, 17 seconds 0;emerge 17:05:34 2|537 hip 01:45 (root@ALESSAND-F1E8) kemerge 17:05:34 2|537 hip 01:45 (root@ALESSAND-F1E8)\ >>> Unpacking source... >>> Unpacking rocm-hip-4.3.0.tar.gz to /var/tmp/portage/dev-util/hip-4.3.0-r1/work >>> Unpacking rocm-opencl-runtime-4.3.0.tar.gz to /var/tmp/portage/dev-util/hip-4.3.0-r1/work >>> Source unpacked in /var/tmp/portage/dev-util/hip-4.3.0-r1/work >>> Preparing source in /var/tmp/portage/dev-util/hip-4.3.0-r1/work/HIP-rocm-4.3.0 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-util/hip-4.3.0-r1/work/HIP-rocm-4.3.0" * Build directory (BUILD_DIR): "/var/tmp/portage/dev-util/hip-4.3.0-r1/work/hip-4.3.0_build" * Applying hip-4.1.0-DisableTest.patch ... [ ok ] * Applying hip-3.9.0-add-include-directories.patch ... patching file rocclr/CMakeLists.txt Hunk #1 succeeded at 169 with fuzz 1 (offset 30 lines). [ ok ] * Applying hip-4.2.0-config-cmake-in.patch ... [ ok ] * Applying hip-4.3.0-hip_vector_types.patch ... [ ok ] * Applying hip-4.2.0-cancel-hcc-header-removal.patch ... [ ok ] * Hardcoded definition(s) removed in CMakeLists.txt: * set(CMAKE_BUILD_TYPE "Release") * set(CMAKE_INSTALL_PREFIX ${HIP_DEFAULT_INSTALL_PREFIX} CACHE PATH "Instal * Hardcoded definition(s) removed in samples/2_Cookbook/4_shfl/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in samples/2_Cookbook/3_shared_memory/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in samples/2_Cookbook/1_hipEvent/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in samples/2_Cookbook/15_static_library/host_functions/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in samples/2_Cookbook/15_static_library/device_functions/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in samples/2_Cookbook/14_gpu_arch/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in samples/2_Cookbook/13_occupancy/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in samples/2_Cookbook/11_texture_driver/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in samples/2_Cookbook/10_inline_asm/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in samples/2_Cookbook/0_MatrixTranspose/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in samples/1_Utils/hipInfo/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in samples/1_Utils/hipDispatchLatency/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in samples/1_Utils/hipCommander/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * Hardcoded definition(s) removed in samples/1_Utils/hipBusBandwidth/CMakeLists.txt: * set(CMAKE_BUILD_TYPE Release) * prefixing hipcc and its utils... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/hip-4.3.0-r1/work/HIP-rocm-4.3.0 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-util/hip-4.3.0-r1/work/HIP-rocm-4.3.0" * Build directory (BUILD_DIR): "/var/tmp/portage/dev-util/hip-4.3.0-r1/work/hip-4.3.0_build" cmake -C /var/tmp/portage/dev-util/hip-4.3.0-r1/work/hip-4.3.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_PREFIX_PATH=/usr/lib/llvm/roc -DCMAKE_BUILD_TYPE= -DCMAKE_INSTALL_PREFIX=/usr/lib/hip -DBUILD_HIPIFY_CLANG=OFF -DHIP_PLATFORM=rocclr -DHIP_COMPILER=clang -DROCM_PATH=/usr -DHSA_PATH=/usr -DUSE_PROF_API=0 -DPROF_API_HEADER_PATH=/usr/include/roctracer/ext -DROCclr_DIR=/usr/include/rocclr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-util/hip-4.3.0-r1/work/hip-4.3.0_build/gentoo_toolchain.cmake /var/tmp/portage/dev-util/hip-4.3.0-r1/work/HIP-rocm-4.3.0 loading initial cache file /var/tmp/portage/dev-util/hip-4.3.0-r1/work/hip-4.3.0_build/gentoo_common_config.cmake -- The C compiler identification is GNU 11.2.0 -- The CXX compiler identification is GNU 11.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - 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/bin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Git: /usr/bin/git (found version "2.34.1") fatal: not a git repository (or any parent up to mount point /var/tmp) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). fatal: not a git repository (or any parent up to mount point /var/tmp) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). fatal: not a git repository (or any parent up to mount point /var/tmp) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). Using CPACK_DEBIAN_PACKAGE_RELEASE local CPACK_RPM_PACKAGE_RELEASE: local -- HIP Platform: amd -- HIP Runtime: rocclr -- HIP Compiler: clang -- Looking for HSA runtime in: /usr -- HSA runtime in: /usr -- HIP will be installed in: /usr/lib/hip -- ROCM Installation path(ROCM_PATH): /usr -- Found PythonInterp: /usr/bin/python (found version "3.9.9") -- ROCclr at /usr/lib/cmake/rocclr -- Hsa runtime found at /usr/lib/cmake/hsa-runtime64. -- Code Object Manager found at /usr/lib/cmake/amd_comgr. -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.12") -- llvm found at /usr/lib/llvm/roc/lib/cmake/llvm. -- ROCclr found at /usr/lib/cmake/rocclr -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE CMake Deprecation Warning at CMakeLists.txt:446 (cmake_policy): The OLD behavior for policy CMP0037 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr/lib/hip Compiler flags: C -Os -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -fexceptions -Wformat -fstack-clash-protection -fcf-protection=full -fasynchronous-unwind-tables -ftree-vectorize -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fPIC -I/usr/include C++ -Os -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -fexceptions -Wformat -fstack-clash-protection -fcf-protection=full -fasynchronous-unwind-tables -ftree-vectorize -fPIC -I/usr/include Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,--sort-common Module -Wl,-O1 -Wl,--as-needed -Wl,--sort-common Shared -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: PROF_API_HEADER_PATH -- Build files have been written to: /var/tmp/portage/dev-util/hip-4.3.0-r1/work/hip-4.3.0_build >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/hip-4.3.0-r1/work/HIP-rocm-4.3.0 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-util/hip-4.3.0-r1/work/HIP-rocm-4.3.0" * Build directory (BUILD_DIR): "/var/tmp/portage/dev-util/hip-4.3.0-r1/work/hip-4.3.0_build" ninja -v -j12 -l15 ninja: error: '/usr/lib64/librt.so', needed by 'lib/libamdhip64.so.4.3', missing and no known rule to make it * ERROR: dev-util/hip-4.3.0-r1::gentoo failed (compile phase): * ninja -v -j12 -l15 failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 3427: Called cmake_src_compile * environment, line 2006: Called cmake_build * environment, line 1975: Called eninja * environment, line 2462: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=dev-util/hip-4.3.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/hip-4.3.0-r1::gentoo'`. * The complete build log is located at '/var/log/portage/build/dev-util/hip-4.3.0-r1:20220201-160533.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/hip-4.3.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/hip-4.3.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/hip-4.3.0-r1/work/hip-4.3.0_build' * S: '/var/tmp/portage/dev-util/hip-4.3.0-r1/work/HIP-rocm-4.3.0'