Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949817 - sci-libs/rocBLAS fail to compile with TensileCreateLibrary Cached asm caps differ from derived asm caps for (11, 0, 0)
Summary: sci-libs/rocBLAS fail to compile with TensileCreateLibrary Cached asm caps di...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sv. Lockal
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-15 19:59 UTC by artbx
Modified: 2025-02-15 20:17 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description artbx 2025-02-15 19:59:21 UTC
The build process fails for sci-libs/rocBLAS-6.3.2 
with error of TensileCreateLibrary reporting
Cached asm caps differ from derived asm caps for (11, 0, 0)


Reproducible: Always

Steps to Reproduce:
1. emerge sci-libs/rocBLAS
2.
3.
Actual Results:  
FAILED: Tensile/library /var/tmp/portage/sci-libs/rocBLAS-6.3.2/work/rocBLAS-rocm-6.3.2_build/Tensile/library 
cd /var/tmp/portage/sci-libs/rocBLAS-6.3.2/work/rocBLAS-rocm-6.3.2_build/library/src && TensileCreateLibrary --merge-files --separate-architectures --lazy-library-loading --no-short-file-names --verbose=0 --code-object-version=default --cxx-compiler=hipcc --jobs=32 --library-format=msgpack --architecture=gfx1100 /var/tmp/portage/sci-libs/rocBLAS-6.3.2/work/rocBLAS-rocm-6.3.2/library/src/blas3/Tensile/Logic/asm_full /var/tmp/portage/sci-libs/rocBLAS-6.3.2/work/rocBLAS-rocm-6.3.2_build/Tensile HIP
UserWarning: HardwareMonitor currently disabled for gfx941, gfx942, gfx1100, gfx1101, gfx1102, gfx1200, gfx1201
Cached asm caps differ from derived asm caps for (11, 0, 0)
ninja: build stopped: subcommand failed.
 * ERROR: sci-libs/rocBLAS-6.3.2::gentoo failed (compile phase):
 *   ninja -v -j32 -l0 failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2251:  Called cmake_src_compile
 *   environment, line  792:  Called cmake_build
 *   environment, line  759:  Called eninja
 *   environment, line 1157:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=sci-libs/rocBLAS-6.3.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-libs/rocBLAS-6.3.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-libs/rocBLAS-6.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/rocBLAS-6.3.2/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-libs/rocBLAS-6.3.2/work/rocBLAS-rocm-6.3.2_build'
 * S: '/var/tmp/portage/sci-libs/rocBLAS-6.3.2/work/rocBLAS-rocm-6.3.2'


I emerge package only for gfx1100 but itdoes not matter if I change it to all gfx.

When i modified the generated build.ninja and added --ignore-asm-cap-cache
i was able to merge it.