Compilation errors on both HIP and OpenCL
#1
Trying to use hashcat on my desktop and I just can't get it to work. I'm using Arch Linux and from what I can tell I have all applicable packages installed as well. At first I thought it was some issue with the AUR package but downloading the binary and compiling it from source have the same result. Any help is much appreciated.

Code:
[drew@drew-x670eprors hashcat-6.2.6]$ ./hashcat.bin -b
hashcat (v6.2.6) starting in benchmark mode

Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.

* Device #3: Unstable OpenCL driver detected!

This OpenCL driver may fail kernel compilation or produce false negatives.
You can use --force to override, but do not report related errors.

* Device #4: Unstable OpenCL driver detected!

This OpenCL driver may fail kernel compilation or produce false negatives.
You can use --force to override, but do not report related errors.

/sys/bus/pci/devices/0000:1a:00.0/hwmon/hwmon6/pwm1: No such file or directory

HIP API (HIP 6.0.32831)
=======================
* Device #1: AMD Radeon RX 7800 XT, 16160/16368 MB, 30MCU
* Device #2: AMD Radeon Graphics, 15577/15600 MB, 1MCU

OpenCL API (OpenCL 1.1 Mesa 24.2.5-arch1.1) - Platform #1 [Mesa]
================================================================
* Device #3: AMD Radeon RX 7800 XT (radeonsi, navi32, LLVM 18.1.8, DRM 3.59, 6.11.4-zen1-1-zen), skipped
* Device #4: AMD Radeon Graphics (radeonsi, raphael_mendocino, LLVM 18.1.8, DRM 3.59, 6.11.4-zen1-1-zen), skipped

OpenCL API (OpenCL 2.1 AMD-APP.dbg (3602.0)) - Platform #2 [Advanced Micro Devices, Inc.]
=========================================================================================
* Device #5: AMD Radeon RX 7800 XT, skipped
* Device #6: AMD Radeon Graphics, skipped

Benchmark relevant options:
===========================
* --optimized-kernel-enable

-------------------
* Hash-Mode 0 (MD5)
-------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

----------------------
* Hash-Mode 100 (SHA1)
----------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

---------------------------
* Hash-Mode 1400 (SHA2-256)
---------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

---------------------------
* Hash-Mode 1700 (SHA2-512)
---------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

-------------------------------------------------------------
* Hash-Mode 22000 (WPA-PBKDF2-PMKID+EAPOL) [Iterations: 4095]
-------------------------------------------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

-----------------------
* Hash-Mode 1000 (NTLM)
-----------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

---------------------
* Hash-Mode 3000 (LM)
---------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

--------------------------------------------
* Hash-Mode 5500 (NetNTLMv1 / NetNTLMv1+ESS)
--------------------------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

----------------------------
* Hash-Mode 5600 (NetNTLMv2)
----------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

--------------------------------------------------------
* Hash-Mode 1500 (descrypt, DES (Unix), Traditional DES)
--------------------------------------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

------------------------------------------------------------------------------
* Hash-Mode 500 (md5crypt, MD5 (Unix), Cisco-IOS $1$ (MD5)) [Iterations: 1000]
------------------------------------------------------------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

----------------------------------------------------------------
* Hash-Mode 3200 (bcrypt $2*$, Blowfish (Unix)) [Iterations: 32]
----------------------------------------------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

--------------------------------------------------------------------
* Hash-Mode 1800 (sha512crypt $6$, SHA512 (Unix)) [Iterations: 5000]
--------------------------------------------------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

--------------------------------------------------------
* Hash-Mode 7500 (Kerberos 5, etype 23, AS-REQ Pre-Auth)
--------------------------------------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

-------------------------------------------------
* Hash-Mode 13100 (Kerberos 5, etype 23, TGS-REP)
-------------------------------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

---------------------------------------------------------------------------------
* Hash-Mode 15300 (DPAPI masterkey file v1 (context 1 and 2)) [Iterations: 23999]
---------------------------------------------------------------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

---------------------------------------------------------------------------------
* Hash-Mode 15900 (DPAPI masterkey file v2 (context 1 and 2)) [Iterations: 12899]
---------------------------------------------------------------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

------------------------------------------------------------------
* Hash-Mode 7100 (macOS v10.8+ (PBKDF2-SHA512)) [Iterations: 1023]
------------------------------------------------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

---------------------------------------------
* Hash-Mode 11600 (7-Zip) [Iterations: 16384]
---------------------------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

------------------------------------------------
* Hash-Mode 12500 (RAR3-hp) [Iterations: 262144]
------------------------------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

--------------------------------------------
* Hash-Mode 13000 (RAR5) [Iterations: 32799]
--------------------------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

--------------------------------------------------------------------------------
* Hash-Mode 6211 (TrueCrypt RIPEMD160 + XTS 512 bit (legacy)) [Iterations: 1999]
--------------------------------------------------------------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

-----------------------------------------------------------------------------------
* Hash-Mode 13400 (KeePass 1 (AES/Twofish) and KeePass 2 (AES)) [Iterations: 24569]
-----------------------------------------------------------------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

----------------------------------------------------------------
* Hash-Mode 6800 (LastPass + LastPass sniffed) [Iterations: 499]
----------------------------------------------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

--------------------------------------------------------------------
* Hash-Mode 11300 (Bitcoin/Litecoin wallet.dat) [Iterations: 200459]
--------------------------------------------------------------------

hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

error: unknown argument: '-flegacy-pass-manager'
1 error generated when compiling for gfx1101.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

* Device #1: Kernel /home/drew/Desktop/hashcat-6.2.6/OpenCL/shared.cl build failed.

Started: Sun Oct 20 05:37:34 2024
Stopped: Sun Oct 20 05:38:02 2024
Reply


Messages In This Thread
Compilation errors on both HIP and OpenCL - by antwerpheist - 10-20-2024, 01:38 PM