You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sudo ./hashcat -a 3 -m 17200 --force '$pkzip2$1*1*2*0*0*10bf6655*94d3fb19*0*59*8*0*94d3*7264**$/pkzip2$'
message
hc_mtlCreateLibraryWithSource(): failed to create metal library, In file included from program_source:8:
/Users/wangshang/hashcat/OpenCL/inc_types.h:57:17: error: typedef redefinition with different types ('ulong' (aka 'unsigned long') vs 'struct __Reserved_Name__Do_not_use_ullong')
typedef ulong ullong;
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.660/include/metal/metal_types:35:51: note: previous definition is here
typedef struct __Reserved_Name__Do_not_use_ullong ullong;
^
In file included from program_source:8:
/Users/wangshang/hashcat/OpenCL/inc_types.h:58:17: error: typedef redefinition with different types ('ulong2' (vector of 2 'unsigned long' values) vs 'struct __Reserved_Name__Do_not_use_ullong2')
typedef ulong2 ullong2;
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.660/include/metal/metal_extended_vector:114:52: note: previous definition is here
typedef struct __Reserved_Name__Do_not_use_ullong2 ullong2;
^
In file included from program_source:8:
/Users/wangshang/hashcat/OpenCL/inc_types.h:59:17: error: typedef redefinition with different types ('ulong4' (vector of 4 'unsigned long' values) vs 'struct __Reserved_Name__Do_not_use_ullong4')
typedef ulong4 ullong4;
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.660/include/metal/metal_extended_vector:116:52: note: previous definition is here
typedef struct __Reserved_Name__Do_not_use_ullong4 ullong4;
^
In file included from program_source:8:
/Users/wangshang/hashcat/OpenCL/inc_types.h:60:17: error: typedef redefinition with different types ('ulong8' (aka '__Reserved_Name__Do_not_use_ulong8') vs 'struct __Reserved_Name__Do_not_use_ullong8')
typedef ulong8 ullong8;
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.660/include/metal/metal_extended_vector:117:52: note: previous definition is here
typedef struct __Reserved_Name__Do_not_use_ullong8 ullong8;
^
In file included from program_source:8:
/Users/wangshang/hashcat/OpenCL/inc_types.h:61:17: error: typedef redefinition with different types ('ulong16' (aka '__Reserved_Name__Do_not_use_ulong16') vs 'struct __Reserved_Name__Do_not_use_ullong16')
typedef ulong16 ullong16;
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.660/include/metal/metal_extended_vector:118:53: note: previous definition is here
typedef struct __Reserved_Name__Do_not_use_ullong16 ullong16;
^
In file included from program_source:8:
/Users/wangshang/hashcat/OpenCL/inc_types.h:894:7: error: field has incomplete type'u64' (aka '__Reserved_Name__Do_not_use_ullong')
u64 v32;
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.660/include/metal/metal_types:35:16: note: forward declaration of '__Reserved_Name__Do_not_use_ullong'
typedef struct __Reserved_Name__Do_not_use_ullong ullong;
^
In file included from program_source:8:
/Users/wangshang/hashcat/OpenCL/inc_types.h:916:7: error: field has incomplete type'u64' (aka '__Reserved_Name__Do_not_use_ullong')
u64 v64;
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.660/include/metal/metal_types:35:16: note: forward declaration of '__Reserved_Name__Do_not_use_ullong'
typedef struct __Reserved_Name__Do_not_use_ullong ullong;
^
In file included from program_source:8:
/Users/wangshang/hashcat/OpenCL/inc_types.h:1699:7: error: field has incomplete type'u64' (aka '__Reserved_Name__Do_not_use_ullong')
u64 pws_pos; // 35
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.660/include/metal/metal_types:35:16: note: forward declaration of '__Reserved_Name__Do_not_use_ullong'
typedef struct __Reserved_Name__Do_not_use_ullong ullong;
^
In file included from program_source:8:
/Users/wangshang/hashcat/OpenCL/inc_types.h:1700:7: error: field has incomplete type'u64' (aka '__Reserved_Name__Do_not_use_ullong')
u64 gid_max; // 36
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.660/include/metal/metal_types:35:16: note: forward declaration of '__Reserved_Name__Do_not_use_ullong'
typedef struct __Reserved_Name__Do_not_use_ullong ullong;
^
In file included from program_source:8:
/Users/wangshang/hashcat/OpenCL/inc_types.h:1732:7: error: field has incomplete type'u64' (aka '__Reserved_Name__Do_not_use_ullong')
u64 val;
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.660/include/metal/metal_types:35:16: note: forward declaration of '__Reserved_Name__Do_not_use_ullong'
typedef struct __Reserved_Name__Do_not_use_ullong ullong;
^
In file included from program_source:8:
/Users/wangshang/hashcat/OpenCL/inc_types.h:1779:8: error: field has incomplete type'u64' (aka '__Reserved_Name__Do_not_use_ullong')
u64 gidvid;
^
/System/Library/PrivateFrameworks/GPUCompiler.framework/Versions/31001/Libraries/lib/clang/31001.660/include/metal/metal_types:35:16: note: forward declaration of '__Reserved_Name__Do_not_use_ullong'
typedef struct __Reserved_Name__Do_not_use_ullong ullong;
^
In file included from program_source:9:
In file included from /Users/wangshang/hashcat/OpenCL/inc_platform.cl:8:
/Users/wangshang/hashcat/OpenCL/inc_platform.h:9:38: error: unknown type name '__global'
DECLSPEC u32 hc_atomic_dec (volatile GLOBAL_AS u32 *p);
^
/Users/wangshang/hashcat/OpenCL/inc_vendor.h:62:21: note: expanded from macro 'GLOBAL_AS'#define GLOBAL_AS __global
^
In file included from program_source:9:
In file included from /Users/wangshang/hashcat/OpenCL/inc_platform.cl:8:
/Users/wangshang/hashcat/OpenCL/inc_platform.h:9:52: error: expected ')'
DECLSPEC u32 hc_atomic_dec (volatile GLOBAL_AS u32 *p);
^
/Users/wangshang/hashcat/OpenCL/inc_platform.h:9:28: note: to match this '('
DECLSPEC u32 hc_atomic_dec (volatile GLOBAL_AS u32 *p);
^
/Users/wangshang/hashcat/OpenCL/inc_platform.h:10:38: error: unknown type name '__global'
DECLSPEC u32 hc_atomic_inc (volatile GLOBAL_AS u32 *p);
^
/Users/wangshang/hashcat/OpenCL/inc_vendor.h:62:21: note: expanded from macro 'GLOBAL_AS'#define GLOBAL_AS __global
^
In file included from program_source:9:
In file included from /Users/wangshang/hashcat/OpenCL/inc_platform.cl:8:
/Users/wangshang/hashcat/OpenCL/inc_platform.h:10:52: error: expected ')'
DECLSPEC u32 hc_atomic_inc (volatile GLOBAL_AS u32 *p);
^
/Users/wangshang/hashcat/OpenCL/inc_platform.h:10:28: note: to match this '('
DECLSPEC u32 hc_atomic_inc (volatile GLOBAL_AS u32 *p);
^
/Users/wangshang/hashcat/OpenCL/inc_platform.h:11:38: error: unknown type name '__global'
DECLSPEC u32 hc_atomic_or (volatile GLOBAL_AS u32 *p, volatile const u32 val);
^
/Users/wangshang/hashcat/OpenCL/inc_vendor.h:62:21: note: expanded from macro 'GLOBAL_AS'#define GLOBAL_AS __global
^
In file included from program_source:9:
In file included from /Users/wangshang/hashcat/OpenCL/inc_platform.cl:8:
/Users/wangshang/hashcat/OpenCL/inc_platform.h:11:52: error: expected ')'
DECLSPEC u32 hc_atomic_or (volatile GLOBAL_AS u32 *p, volatile const u32 val);
^
/Users/wangshang/hashcat/OpenCL/inc_platform.h:11:28: note: to match this '(* Device #1: Kernel /Users/wangshang/hashcat/OpenCL/shared.cl build failed.
hashcat -I
hashcat (v6.2.6) starting in backend information mode
Metal Info:
===========
Metal.Version.: 306.2.4
Backend Device ID #1
Type...........: GPU
Vendor.ID......: 2
Vendor.........: Apple
Name...........: Apple M1
Processor(s)...: 7
Clock..........: N/A
Memory.Total...: 10922 MB (limited to 4096 MB allocatable in one block)
Memory.Free....: 5408 MB
Local.Memory...: 32 KB
Phys.Location..: built-in
Feature.Set....: macOS GPU Family 2 v1
Registry.ID....: 1431
Max.TX.Rate....: N/A
GPU.Properties.: headless 0, low-power 0, removable 0
OpenCL Info:
============
OpenCL Platform ID #1
Vendor..: Apple
Name....: Apple
Version.: OpenCL 1.2 (Sep 30 2022 01:38:14)
Backend Device ID #2
Type...........: GPU
Vendor.ID......: 2
Vendor.........: Apple
Name...........: Apple M1
Version........: OpenCL 1.2
Processor(s)...: 8
Clock..........: 1000
Memory.Total...: 10922 MB (limited to 1024 MB allocatable in one block)
Memory.Free....: 5408 MB
Local.Memory...: 32 KB
OpenCL.Version.: OpenCL C 1.2
Driver.Version.: 1.2 1.0
The text was updated successfully, but these errors were encountered:
This appears to be the same errors as #3525, possible duplicate. Please retry with the latest code in the repo as some of the MacOS related code has been updated since the 6.2.6 release.
I tried move hashcat to ~ and sudo make and my hashcat version is 6.2.6 but the problem is still here;
I have a 2 version ,one is brew install hashcat another one is download by github after make;
run
sudo ./hashcat -a 3 -m 17200 --force '$pkzip2$1*1*2*0*0*10bf6655*94d3fb19*0*59*8*0*94d3*7264**$/pkzip2$'
message
hashcat -I
The text was updated successfully, but these errors were encountered: