Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935047 - sci-libs/rocBLAS-6.1.1 fails to compile
Summary: sci-libs/rocBLAS-6.1.1 fails to compile
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-27 21:40 UTC by Davide Costa
Modified: 2024-07-16 03:18 UTC (History)
6 users (show)

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


Attachments
build.log (rocBLAS.log,71.29 KB, text/plain)
2024-06-28 13:17 UTC, Davide Costa
Details
emerge --info (rocBLAS.info,19.31 KB, text/plain)
2024-06-28 13:19 UTC, Davide Costa
Details
Additional failure build.log (rocBLAS-6.1.1.build.log,60.05 KB, text/x-log)
2024-07-16 03:16 UTC, MrSnivvel
Details
Additional emerge info when failing (rocBLAS-6.1.1-emerge.info,13.38 KB, text/plain)
2024-07-16 03:18 UTC, MrSnivvel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Costa 2024-06-27 21:40:57 UTC
CFLAGS/CXXFLAGS: -O2 -pipe -march=native

Traceback:

   File "/usr/lib/python-exec/python3.12/TensileCreateLibrary", line 8, in <module>
     sys.exit(TensileCreateLibrary())
              ^^^^^^^^^^^^^^^^^^^^^^

   File "/usr/lib/python3.12/site-packages/Tensile/TensileCreateLibrary.py", line 1301, in TensileCreateLibrary
     theMasterLibrary = list(masterLibraries.values())[0]
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
 IndexError: list index out of range
Comment 1 Sv. Lockal 2024-06-28 07:50:59 UTC
Davide Costa, which USE flags and AMDGPU_TARGETS do you use?
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-28 08:21:51 UTC
Please always include the full build.log and emerge --info.
Comment 3 Davide Costa 2024-06-28 13:17:33 UTC
Created attachment 896559 [details]
build.log
Comment 4 Davide Costa 2024-06-28 13:19:11 UTC
Created attachment 896560 [details]
emerge --info
Comment 5 Davide Costa 2024-06-28 13:35:05 UTC
(In reply to Sv. Lockal from comment #1)
> Davide Costa, which USE flags and AMDGPU_TARGETS do you use?

No flags except AMDGPU_TARGETS="gfx1031 gfx1032". I even tried with gfx1031 only with no luck
Comment 6 Davide Costa 2024-07-02 23:32:45 UTC
Tried compiling it with AMDGPU_FLAGS="gfx1031 gfx1030" and it works. "gfx1032" is not really an existing flag, so I guess it needs at least 2 existing flags to compile.
Comment 7 MrSnivvel 2024-07-16 03:16:04 UTC
I have an gfx1012 and had to add an additional target, gfx1030 in my case, for it to compile for me also.  The failure is shortly into the build process.
Comment 8 MrSnivvel 2024-07-16 03:16:44 UTC
Created attachment 897754 [details]
Additional failure build.log
Comment 9 MrSnivvel 2024-07-16 03:18:15 UTC
Created attachment 897755 [details]
Additional emerge info when failing