p7zip-project / p7zip

A new p7zip fork with additional codecs and improvements (forked from https://sourceforge.net/projects/sevenzip/ AND https://sourceforge.net/projects/p7zip/).
765 stars 109 forks source link

Mac: 7za b -mmt=* -mm=* benchmark fails with ERROR decoding CRC64 #78

Closed ApexMods closed 3 years ago

ApexMods commented 3 years ago

This happens on all machines I tested on, so it’s not caused by faulty hardware.

Aside from this error, there is no documentation whatsoever on FLZMA2 support, i.e. how to use it. Setting m0=flmza2 seems to work, but there are no speed or memory usage differences at all.

During compilation on Mac x64 gcc, there are a couple of clang “linker” input unused command line arguments for core foundation in the FLZMA2 part.

jinfeihan57 commented 3 years ago

Check the following issues and PRs :

66 #69,#56 #58

How to use flzma2 ? ./7za a t.7z filepath -m0=flzma2

ApexMods commented 3 years ago

I have used -m0=flzma2, but there is no noticeable speed increase or reduced memory usage at -mx9 (with 16-core / -mmt16) over using -m0=lzma2.

ApexMods commented 3 years ago

The current dev branch won’t build on Mac at all (undefined symbols for x86_64), so I cannot check any fixes in dev.

jinfeihan57 commented 3 years ago

@ApexMods Can you give me all the wrong information?

ApexMods commented 3 years ago

Issue is in /CPP/7zip/Archive/Zip/ZipItem.cpp

include

iconv_open, iconv_close

ApexMods commented 3 years ago

Got it to compile by replacing ZipItem.cpp with the one from the release. FLZMA2 works now, and it’s great. =)