RJVB / afsctool

This is a version of "brkirch"'s afsctool utility that allows end-users to leverage HFS+ compression.
https://brkirch.wordpress.com/afsctool
GNU General Public License v3.0
191 stars 18 forks source link

Unable to build LZVN on apple m1 #43

Open tristan-k opened 3 years ago

tristan-k commented 3 years ago

I'm trying to install your LZVN fork on a macbook air (m1) as described in the README.md but for some reason it fails.

➜  LZVN git:(RJVB) ✗ which clang
/usr/bin/clang
➜  LZVN git:(RJVB) ✗ clang -v
Apple clang version 12.0.5 (clang-1205.0.22.11)
Target: arm64-apple-darwin20.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
➜  build git:(RJVB) ✗ cmake ..
-- The C compiler identification is AppleClang 12.0.5.12050022
-- The ASM compiler identification is Clang
-- Found assembler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The ASM compiler identification is Clang
-- Found assembler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Setting lzvn version to: 1.0.0-18-g9a03cb6
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/tristank/Documents/Code/git/github/LZVN/build
➜  build git:(RJVB) ✗ ls -la
total 80
drwxr-xr-x   7 tristank  staff    224 29 Sep 22:01 .
drwxr-xr-x@ 21 tristank  staff    672 29 Sep 22:00 ..
-rw-r--r--   1 tristank  staff  15211 29 Sep 22:01 CMakeCache.txt
drwxr-xr-x  17 tristank  staff    544 29 Sep 22:01 CMakeFiles
-rw-r--r--   1 tristank  staff  11098 29 Sep 22:01 Makefile
-rw-r--r--   1 tristank  staff   4654 29 Sep 22:01 cmake_install.cmake
-rw-r--r--   1 tristank  staff    389 29 Sep 22:01 lzvn_fullversion.h
➜  build git:(RJVB) ✗ make
Scanning dependencies of target FastCompression
[  8%] Building ASM object CMakeFiles/FastCompression.dir/lzvn_decode.S.o
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:8:8: error: unknown token in expression
 pushq %rbp
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:8:8: error: invalid operand
 pushq %rbp
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:9:7: error: unknown token in expression
 movq %rsp, %rbp
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:9:7: error: invalid operand
 movq %rsp, %rbp
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:10:8: error: unknown token in expression
 pushq %rbx
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:10:8: error: invalid operand
 pushq %rbx
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:11:8: error: unknown token in expression
 pushq %r12
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:11:8: error: invalid operand
 pushq %r12
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:12:31: error: unexpected token in argument list
 leaq Lzvn_decode.opcode_table(%rip), %rbx
                              ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:14:7: error: unknown token in expression
 xorq %rax, %rax
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:14:7: error: invalid operand
 xorq %rax, %rax
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:15:7: error: unknown token in expression
 xorq %r12, %r12
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:15:7: error: invalid operand
 xorq %r12, %r12
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:16:11: error: unknown token in expression
 subq $8, %rsi
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:16:11: error: invalid operand
 subq $8, %rsi
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:17:2: error: unrecognized instruction mnemonic, did you mean: b, bl, br?
 jb L_0x2b4
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:18:9: error: unexpected token in argument list
 leaq -8(%rdx,%rcx), %rcx
        ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:19:7: error: unknown token in expression
 cmpq %rcx, %rdx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:19:7: error: invalid operand
 cmpq %rcx, %rdx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:20:2: error: unrecognized instruction mnemonic
 ja L_0x2b4
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:21:10: error: unknown token in expression
 movzbq (%rdx), %r9
         ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:21:9: error: invalid operand
 movzbq (%rdx), %r9
        ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:22:8: error: unknown token in expression
 movq (%rdx), %r8
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:22:7: error: invalid operand
 movq (%rdx), %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:23:7: error: unknown token in expression
 jmpq *(%rbx,%r9,8)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:23:7: error: invalid operand
 jmpq *(%rbx,%r9,8)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:26:11: error: unknown token in expression
 addq $1, %rdx
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:26:11: error: invalid operand
 addq $1, %rdx
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:27:7: error: unknown token in expression
 cmpq %rcx, %rdx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:27:7: error: invalid operand
 cmpq %rcx, %rdx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:28:2: error: unrecognized instruction mnemonic
 ja L_0x2b4
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:29:10: error: unknown token in expression
 movzbq (%rdx), %r9
         ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:29:9: error: invalid operand
 movzbq (%rdx), %r9
        ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:30:8: error: unknown token in expression
 movq (%rdx), %r8
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:30:7: error: invalid operand
 movq (%rdx), %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:31:7: error: unknown token in expression
 jmpq *(%rbx,%r9,8)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:31:7: error: invalid operand
 jmpq *(%rbx,%r9,8)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:32:7: error: unknown token in expression
 nopw %cs:(%rax,%rax)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:32:7: error: invalid operand
 nopw %cs:(%rax,%rax)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:36:11: error: unknown token in expression
 shrq $6, %r9
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:36:11: error: invalid operand
 shrq $6, %r9
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:37:8: error: unexpected token in argument list
 leaq 2(%rdx,%r9), %rdx
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:38:7: error: unknown token in expression
 cmpq %rcx, %rdx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:38:7: error: invalid operand
 cmpq %rcx, %rdx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:39:2: error: unrecognized instruction mnemonic
 ja L_0x2b4
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:40:7: error: unknown token in expression
 movq %r8, %r12
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:40:7: error: invalid operand
 movq %r8, %r12
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:41:9: error: unknown token in expression
 bswapq %r12
        ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:41:9: error: invalid operand
 bswapq %r12
        ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:42:7: error: unknown token in expression
 movq %r12, %r10
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:42:7: error: invalid operand
 movq %r12, %r10
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:43:11: error: unknown token in expression
 shlq $5, %r12
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:43:11: error: invalid operand
 shlq $5, %r12
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:44:11: error: unknown token in expression
 shlq $2, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:44:11: error: invalid operand
 shlq $2, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:45:12: error: unknown token in expression
 shrq $53, %r12
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:45:12: error: invalid operand
 shrq $53, %r12
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:46:12: error: unknown token in expression
 shrq $61, %r10
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:46:12: error: invalid operand
 shrq $61, %r10
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:47:12: error: unknown token in expression
 shrq $16, %r8
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:47:12: error: invalid operand
 shrq $16, %r8
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:48:11: error: unknown token in expression
 addq $3, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:48:11: error: invalid operand
 addq $3, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:51:8: error: unknown token in expression
 leaq (%rax,%r9), %r11
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:51:7: error: invalid operand
 leaq (%rax,%r9), %r11
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:52:7: error: unknown token in expression
 addq %r10, %r11
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:52:7: error: invalid operand
 addq %r10, %r11
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:53:7: error: unknown token in expression
 cmpq %rsi, %r11
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:53:7: error: invalid operand
 cmpq %rsi, %r11
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:54:2: error: unrecognized instruction mnemonic
 jae L_0x0d2
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:55:7: error: unknown token in expression
 movq %r8, (%rdi,%rax)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:55:7: error: invalid operand
 movq %r8, (%rdi,%rax)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:56:7: error: unknown token in expression
 addq %r9, %rax
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:56:7: error: invalid operand
 addq %r9, %rax
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:57:7: error: unknown token in expression
 movq %rax, %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:57:7: error: invalid operand
 movq %rax, %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:58:7: error: unknown token in expression
 subq %r12, %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:58:7: error: invalid operand
 subq %r12, %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:59:2: error: unrecognized instruction mnemonic, did you mean: b, bl, br?
 jb L_0x2b4
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:60:11: error: unknown token in expression
 cmpq $8, %r12
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:60:11: error: invalid operand
 cmpq $8, %r12
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:61:2: error: unrecognized instruction mnemonic, did you mean: b, bl, br?
 jb L_0x102
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:64:8: error: unknown token in expression
 movq (%rdi,%r8), %r9
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:64:7: error: invalid operand
 movq (%rdi,%r8), %r9
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:65:11: error: unknown token in expression
 addq $8, %r8
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:65:11: error: invalid operand
 addq $8, %r8
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:66:7: error: unknown token in expression
 movq %r9, (%rdi,%rax)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:66:7: error: invalid operand
 movq %r9, (%rdi,%rax)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:67:11: error: unknown token in expression
 addq $8, %rax
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:67:11: error: invalid operand
 addq $8, %rax
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:68:11: error: unknown token in expression
 subq $8, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:68:11: error: invalid operand
 subq $8, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:69:2: error: unrecognized instruction mnemonic
 ja L_0x0ae
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:70:7: error: unknown token in expression
 addq %r10, %rax
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:70:7: error: invalid operand
 addq %r10, %rax
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:71:10: error: unknown token in expression
 movzbq (%rdx), %r9
         ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:71:9: error: invalid operand
 movzbq (%rdx), %r9
        ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:72:8: error: unknown token in expression
 movq (%rdx), %r8
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:72:7: error: invalid operand
 movq (%rdx), %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:73:7: error: unknown token in expression
 jmpq *(%rbx,%r9,8)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:73:7: error: invalid operand
 jmpq *(%rbx,%r9,8)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:76:8: error: unknown token in expression
 testq %r9, %r9
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:76:8: error: invalid operand
 testq %r9, %r9
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:77:2: error: unrecognized instruction mnemonic
 je L_0x0f6
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:78:8: error: unexpected token in argument list
 leaq 8(%rsi), %r11
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:81:7: error: unknown token in expression
 movb %r8b, (%rdi,%rax)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:81:7: error: invalid operand
 movb %r8b, (%rdi,%rax)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:82:11: error: unknown token in expression
 addq $1, %rax
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:82:11: error: invalid operand
 addq $1, %rax
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:83:7: error: unknown token in expression
 cmpq %rax, %r11
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:83:7: error: invalid operand
 cmpq %rax, %r11
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:84:2: error: unrecognized instruction mnemonic
 je L_0x2b7
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:85:11: error: unknown token in expression
 shrq $8, %r8
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:85:11: error: invalid operand
 shrq $8, %r8
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:86:11: error: unknown token in expression
 subq $1, %r9
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:86:11: error: invalid operand
 subq $1, %r9
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:87:2: error: unrecognized instruction mnemonic, did you mean: neg?
 jne L_0x0db
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:90:7: error: unknown token in expression
 movq %rax, %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:90:7: error: invalid operand
 movq %rax, %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:91:7: error: unknown token in expression
 subq %r12, %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:91:7: error: invalid operand
 subq %r12, %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:92:2: error: unrecognized instruction mnemonic, did you mean: b, bl, br?
 jb L_0x2b4
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:95:8: error: unexpected token in argument list
 leaq 8(%rsi), %r11
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:98:10: error: unknown token in expression
 movzbq (%rdi,%r8), %r9
         ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:98:9: error: invalid operand
 movzbq (%rdi,%r8), %r9
        ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:99:11: error: unknown token in expression
 addq $1, %r8
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:99:11: error: invalid operand
 addq $1, %r8
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:100:7: error: unknown token in expression
 movb %r9b, (%rdi,%rax)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:100:7: error: invalid operand
 movb %r9b, (%rdi,%rax)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:101:11: error: unknown token in expression
 addq $1, %rax
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:101:11: error: invalid operand
 addq $1, %rax
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:102:7: error: unknown token in expression
 cmpq %rax, %r11
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:102:7: error: invalid operand
 cmpq %rax, %r11
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:103:2: error: unrecognized instruction mnemonic
 je L_0x2b7
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:104:11: error: unknown token in expression
 subq $1, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:104:11: error: invalid operand
 subq $1, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:105:2: error: unrecognized instruction mnemonic, did you mean: neg?
 jne L_0x106
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:106:10: error: unknown token in expression
 movzbq (%rdx), %r9
         ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:106:9: error: invalid operand
 movzbq (%rdx), %r9
        ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:107:8: error: unknown token in expression
 movq (%rdx), %r8
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:107:7: error: invalid operand
 movq (%rdx), %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:108:7: error: unknown token in expression
 jmpq *(%rbx,%r9,8)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:108:7: error: invalid operand
 jmpq *(%rbx,%r9,8)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:111:11: error: unknown token in expression
 shrq $6, %r9
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:111:11: error: invalid operand
 shrq $6, %r9
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:112:8: error: unexpected token in argument list
 leaq 1(%rdx,%r9), %rdx
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:113:7: error: unknown token in expression
 cmpq %rcx, %rdx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:113:7: error: invalid operand
 cmpq %rcx, %rdx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:114:2: error: unrecognized instruction mnemonic
 ja L_0x2b4
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:115:12: error: unknown token in expression
 movq $56, %r10
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:115:12: error: invalid operand
 movq $56, %r10
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:116:7: error: unknown token in expression
 andq %r8, %r10
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:116:7: error: invalid operand
 andq %r8, %r10
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:117:11: error: unknown token in expression
 shrq $8, %r8
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:117:11: error: invalid operand
 shrq $8, %r8
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:118:11: error: unknown token in expression
 shrq $3, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:118:11: error: invalid operand
 shrq $3, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:119:11: error: unknown token in expression
 addq $3, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:119:11: error: invalid operand
 addq $3, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:120:2: error: unrecognized instruction mnemonic, did you mean: cmp?
 jmp L_0x089
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:123:11: error: unknown token in expression
 shrq $6, %r9
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:123:11: error: invalid operand
 shrq $6, %r9
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:124:8: error: unexpected token in argument list
 leaq 3(%rdx,%r9), %rdx
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:125:7: error: unknown token in expression
 cmpq %rcx, %rdx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:125:7: error: invalid operand
 cmpq %rcx, %rdx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:126:2: error: unrecognized instruction mnemonic
 ja L_0x2b4
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:127:12: error: unknown token in expression
 movq $56, %r10
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:127:12: error: invalid operand
 movq $56, %r10
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:128:15: error: unknown token in expression
 movq $65535, %r12
              ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:128:15: error: invalid operand
 movq $65535, %r12
              ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:129:7: error: unknown token in expression
 andq %r8, %r10
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:129:7: error: invalid operand
 andq %r8, %r10
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:130:11: error: unknown token in expression
 shrq $8, %r8
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:130:11: error: invalid operand
 shrq $8, %r8
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:131:11: error: unknown token in expression
 shrq $3, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:131:11: error: invalid operand
 shrq $3, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:132:7: error: unknown token in expression
 andq %r8, %r12
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:132:7: error: invalid operand
 andq %r8, %r12
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:133:12: error: unknown token in expression
 shrq $16, %r8
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:133:12: error: invalid operand
 shrq $16, %r8
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:134:11: error: unknown token in expression
 addq $3, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:134:11: error: invalid operand
 addq $3, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:135:2: error: unrecognized instruction mnemonic, did you mean: cmp?
 jmp L_0x089
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:138:11: error: unknown token in expression
 shrq $3, %r9
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:138:11: error: invalid operand
 shrq $3, %r9
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:139:11: error: unknown token in expression
 andq $3, %r9
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:139:11: error: invalid operand
 andq $3, %r9
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:140:8: error: unexpected token in argument list
 leaq 3(%rdx,%r9), %rdx
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:141:7: error: unknown token in expression
 cmpq %rcx, %rdx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:141:7: error: invalid operand
 cmpq %rcx, %rdx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:142:2: error: unrecognized instruction mnemonic
 ja L_0x2b4
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:143:7: error: unknown token in expression
 movq %r8, %r10
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:143:7: error: invalid operand
 movq %r8, %r10
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:144:13: error: unknown token in expression
 andq $775, %r10
            ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:144:13: error: invalid operand
 andq $775, %r10
            ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:145:12: error: unknown token in expression
 shrq $10, %r8
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:145:12: error: invalid operand
 shrq $10, %r8
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:146:9: error: unknown token in expression
 movzbq %r10b, %r12
        ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:146:9: error: invalid operand
 movzbq %r10b, %r12
        ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:147:11: error: unknown token in expression
 shrq $8, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:147:11: error: invalid operand
 shrq $8, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:148:11: error: unknown token in expression
 shlq $2, %r12
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:148:11: error: invalid operand
 shlq $2, %r12
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:149:6: error: unknown token in expression
 orq %r12, %r10
     ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:149:6: error: invalid operand
 orq %r12, %r10
     ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:150:15: error: unknown token in expression
 movq $16383, %r12
              ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:150:15: error: invalid operand
 movq $16383, %r12
              ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:151:11: error: unknown token in expression
 addq $3, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:151:11: error: invalid operand
 addq $3, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:152:7: error: unknown token in expression
 andq %r8, %r12
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:152:7: error: invalid operand
 andq %r8, %r12
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:153:12: error: unknown token in expression
 shrq $14, %r8
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:153:12: error: invalid operand
 shrq $14, %r8
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:154:2: error: unrecognized instruction mnemonic, did you mean: cmp?
 jmp L_0x089
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:157:11: error: unknown token in expression
 addq $1, %rdx
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:157:11: error: invalid operand
 addq $1, %rdx
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:158:7: error: unknown token in expression
 cmpq %rcx, %rdx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:158:7: error: invalid operand
 cmpq %rcx, %rdx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:159:2: error: unrecognized instruction mnemonic
 ja L_0x2b4
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:160:7: error: unknown token in expression
 movq %r8, %r10
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:160:7: error: invalid operand
 movq %r8, %r10
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:161:12: error: unknown token in expression
 andq $15, %r10
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:161:12: error: invalid operand
 andq $15, %r10
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:162:2: error: unrecognized instruction mnemonic, did you mean: cmp?
 jmp L_0x218
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:165:11: error: unknown token in expression
 addq $2, %rdx
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:165:11: error: invalid operand
 addq $2, %rdx
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:166:7: error: unknown token in expression
 cmpq %rcx, %rdx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:166:7: error: invalid operand
 cmpq %rcx, %rdx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:167:2: error: unrecognized instruction mnemonic
 ja L_0x2b4
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:168:7: error: unknown token in expression
 movq %r8, %r10
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:168:7: error: invalid operand
 movq %r8, %r10
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:169:11: error: unknown token in expression
 shrq $8, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:169:11: error: invalid operand
 shrq $8, %r10
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:170:13: error: unknown token in expression
 andq $255, %r10
            ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:170:13: error: invalid operand
 andq $255, %r10
            ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:171:12: error: unknown token in expression
 addq $16, %r10
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:171:12: error: invalid operand
 addq $16, %r10
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:174:7: error: unknown token in expression
 movq %rax, %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:174:7: error: invalid operand
 movq %rax, %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:175:7: error: unknown token in expression
 subq %r12, %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:175:7: error: invalid operand
 subq %r12, %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:176:8: error: unknown token in expression
 leaq (%rax,%r10), %r11
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:176:7: error: invalid operand
 leaq (%rax,%r10), %r11
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:177:7: error: unknown token in expression
 cmpq %rsi, %r11
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:177:7: error: invalid operand
 cmpq %rsi, %r11
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:178:2: error: unrecognized instruction mnemonic
 jae L_0x102
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:179:11: error: unknown token in expression
 cmpq $8, %r12
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:179:11: error: invalid operand
 cmpq $8, %r12
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:180:2: error: unrecognized instruction mnemonic
 jae L_0x0ae
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:181:2: error: unrecognized instruction mnemonic, did you mean: cmp?
 jmp L_0x102
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:184:12: error: unknown token in expression
 andq $15, %r8
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:184:12: error: invalid operand
 andq $15, %r8
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:185:8: error: unexpected token in argument list
 leaq 1(%rdx,%r8), %rdx
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:186:2: error: unrecognized instruction mnemonic, did you mean: cmp?
 jmp L_0x259
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:189:11: error: unknown token in expression
 shrq $8, %r8
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:189:11: error: invalid operand
 shrq $8, %r8
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:190:13: error: unknown token in expression
 andq $255, %r8
            ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:190:13: error: invalid operand
 andq $255, %r8
            ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:191:12: error: unknown token in expression
 addq $16, %r8
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:191:12: error: invalid operand
 addq $16, %r8
           ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:192:8: error: unexpected token in argument list
 leaq 2(%rdx,%r8), %rdx
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:195:7: error: unknown token in expression
 cmpq %rcx, %rdx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:195:7: error: invalid operand
 cmpq %rcx, %rdx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:196:2: error: unrecognized instruction mnemonic
 ja L_0x2b4
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:197:8: error: unknown token in expression
 leaq (%rax,%r8), %r11
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:197:7: error: invalid operand
 leaq (%rax,%r8), %r11
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:198:7: error: unknown token in expression
 negq %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:198:7: error: invalid operand
 negq %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:199:7: error: unknown token in expression
 cmpq %rsi, %r11
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:199:7: error: invalid operand
 cmpq %rsi, %r11
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:200:2: error: unrecognized instruction mnemonic
 ja L_0x28d
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:201:8: error: unknown token in expression
 leaq (%rdi,%r11), %r11
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:201:7: error: invalid operand
 leaq (%rdi,%r11), %r11
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:204:8: error: unknown token in expression
 movq (%rdx,%r8), %r9
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:204:7: error: invalid operand
 movq (%rdx,%r8), %r9
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:205:7: error: unknown token in expression
 movq %r9, (%r11,%r8)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:205:7: error: invalid operand
 movq %r9, (%r11,%r8)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:206:11: error: unknown token in expression
 addq $8, %r8
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:206:11: error: invalid operand
 addq $8, %r8
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:207:2: error: unrecognized instruction mnemonic
 jae L_0x26e
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:208:7: error: unknown token in expression
 movq %r11, %rax
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:208:7: error: invalid operand
 movq %r11, %rax
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:209:7: error: unknown token in expression
 subq %rdi, %rax
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:209:7: error: invalid operand
 subq %rdi, %rax
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:210:10: error: unknown token in expression
 movzbq (%rdx), %r9
         ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:210:9: error: invalid operand
 movzbq (%rdx), %r9
        ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:211:8: error: unknown token in expression
 movq (%rdx), %r8
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:211:7: error: invalid operand
 movq (%rdx), %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:212:7: error: unknown token in expression
 jmpq *(%rbx,%r9,8)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:212:7: error: invalid operand
 jmpq *(%rbx,%r9,8)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:215:8: error: unexpected token in argument list
 leaq 8(%rsi), %r11
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:218:10: error: unknown token in expression
 movzbq (%rdx,%r8), %r9
         ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:218:9: error: invalid operand
 movzbq (%rdx,%r8), %r9
        ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:219:7: error: unknown token in expression
 movb %r9b, (%rdi,%rax)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:219:7: error: invalid operand
 movb %r9b, (%rdi,%rax)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:220:11: error: unknown token in expression
 addq $1, %rax
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:220:11: error: invalid operand
 addq $1, %rax
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:221:7: error: unknown token in expression
 cmpq %rax, %r11
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:221:7: error: invalid operand
 cmpq %rax, %r11
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:222:2: error: unrecognized instruction mnemonic
 je L_0x2b7
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:223:11: error: unknown token in expression
 addq $1, %r8
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:223:11: error: invalid operand
 addq $1, %r8
          ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:224:2: error: unrecognized instruction mnemonic, did you mean: neg?
 jne L_0x291
 ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:225:10: error: unknown token in expression
 movzbq (%rdx), %r9
         ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:225:9: error: invalid operand
 movzbq (%rdx), %r9
        ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:226:8: error: unknown token in expression
 movq (%rdx), %r8
       ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:226:7: error: invalid operand
 movq (%rdx), %r8
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:227:7: error: unknown token in expression
 jmpq *(%rbx,%r9,8)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:227:7: error: invalid operand
 jmpq *(%rbx,%r9,8)
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:230:7: error: unknown token in expression
 xorq %rax, %rax
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:230:7: error: invalid operand
 xorq %rax, %rax
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:233:7: error: unknown token in expression
 popq %r12
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:233:7: error: invalid operand
 popq %r12
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:234:7: error: unknown token in expression
 popq %rbx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:234:7: error: invalid operand
 popq %rbx
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:235:7: error: unknown token in expression
 popq %rbp
      ^
/Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:235:7: error: invalid operand
 popq %rbp
      ^
make[2]: *** [CMakeFiles/FastCompression.dir/lzvn_decode.S.o] Error 1
make[1]: *** [CMakeFiles/FastCompression.dir/all] Error 2
make: *** [all] Error 2
RJVB commented 3 years ago

On Wednesday September 29 2021 13:50:24 ʞ-uɐʇsıɹʇ wrote:

I'm trying to install your LZVN fork on a macbook air (m1) as described in the README.md but for some reason it fails.

Scanning dependencies of target FastCompression [ 8%] Building ASM object CMakeFiles/FastCompression.dir/lzvn_decode.S.o /Users/tristank/Documents/Code/git/github/LZVN/lzvn_decode.S:8:8: error: unknown token in expression pushq %rbp

There is your reason ... LZVN contains assembly, which is X86 specific. I'd have to see if the original project on which mine is based has ARM64 support by now...

There's support for running Intel binaries, no? Have you tried if that works for afsctool?

tristan-k commented 3 years ago

There's support for running Intel binaries, no? Have you tried if that works for afsctool?

Yes there is through Rosetta 2. I can successfully build the LZVN binary with make only in the root directroy but then the header files (LZVN_HEADER,LIB: LZVN_HEADER-NOTFOUND LZVN_LIBRARY) are still missing.

gingerbeardman commented 2 years ago

LZVN contains assembly, which is X86 specific

Is this the same for LZFSE?

I notice that the brew version of afsctool 1.7.2 contains neither.

I just got an M1 MBP.

Dr-Emann commented 2 years ago

I believe this is fixed, I was able to make this on my m1 mbp by default.

gingerbeardman commented 2 years ago

Fingers crossed the next brew version will also include the capability.

gingerbeardman commented 2 years ago

I believe this is fixed, I was able to make this on my m1 mbp by default.

Having seen no changes to include LZVN or LZFSE in afsctool 1.7.3 recently installed via brew...

...I just tried making the latest code on mac M1 Mac.

Indeed, make completes successfully, but the resulting binary is missing both LZVN and LZFSE?

@Dr-Emann do you see differently than below?

$ afsctool -T LZVN
Sorry, LZVN compression has not been enabled in this build.
$ afsctool -T LZFSE
Sorry, LZFSE compression has not been enabled in this build.
Dr-Emann commented 2 years ago

I do see the same when using a brew-installed afsctool. However, after compiling myself, it works fine.

$ uname -a
Darwin zach-mbp.lan 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:19:52 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T6000 arm64

Did you fetch the submodule, either cloning with git clone --recurse-submodules or running something like git submodule update --init --recursive?

gingerbeardman commented 2 years ago

Trying again from fresh files, I see the issue.

❯ git clone --recurse-submodules https://github.com/RJVB/afsctool.git
Cloning into 'afsctool'...
remote: Enumerating objects: 974, done.
remote: Counting objects: 100% (82/82), done.
remote: Compressing objects: 100% (42/42), done.
remote: Total 974 (delta 46), reused 65 (delta 40), pack-reused 892
Receiving objects: 100% (974/974), 511.27 KiB | 2.63 MiB/s, done.
Resolving deltas: 100% (653/653), done.
Submodule 'src/private/lzfse' (git://github.com/lzfse/lzfse) registered for path 'src/private/lzfse'
Cloning into '/Users/matt/Downloads/2022-11-11/afsctool/src/private/lzfse'...
fatal: unable to connect to github.com:
github.com[0: 140.82.121.4]: errno=Operation timed out

I will have to try again later.

kapitainsky commented 2 years ago

Submodule 'src/private/lzfse' (git://github.com/lzfse/lzfse) registered for path 'src/private/lzfse'

sub-modules use git not https - you need ssh to github configured.

or

cd afsctool/src/private
git clone https://github.com/lzfse/lzfse

and all will be fine

Dr-Emann commented 2 years ago

Looks like you'll need #59, the git:// protocol isn't allowed on github anymore.

gingerbeardman commented 2 years ago

Continued thanks!

gingerbeardman commented 2 years ago

Done! And working.

Thanks again, all.

RJVB commented 2 years ago

On Friday November 11 2022 11:02:02 kapitainsky wrote:

sub-modules use git not https - you need ssh to github configured.

So is the part about having ssh configured still valid or not?

Dr-Emann commented 2 years ago

No, there's no need to be configured with ssh, I think @kapitainsky was confusing the git protocol git://github.com/... with the ssh protocol git@github.com:... (which is easy to do, they both start with the prefix git).

Dr-Emann commented 2 years ago

@RJVB The only other thing would be that it'd be nice to be able to enable LZVN/LZFSE in the brew builds. It seems like the simplest way would be to configure it to use git directly, rather than the auto-generated source tarball like this, (it seems homebrew will automatically fetch submodules when sourcing from git). The alternative would be to create a release tarball manually which includes the lzfse submodule? Or I do see there's a brew recipe for lzfse, it might be possible to dynamically link with it in the brew case?