[PATCH 6/7] tools: add 7z host package
Luiz Angelo Daros de Luca
luizluca at gmail.com
Wed Aug 17 14:04:25 PDT 2022
> On Sun, Jul 31, 2022 at 03:36:32PM +0200, Sander Vanheule wrote:
> > On Sat, 2022-07-23 at 22:53 +0200, Jan Hoffmann wrote:
> > > Add the 7zr command line tool, which is a version of the 7z application
> > > that only supports 7z archives.
> > >
> > > 7z is one of the two compression formats supported in H3C firmware
> > > images (the alternative would be ARJ).
> > >
> > > (Alternatively, the 7zr command line tool could also be built from a
> > > current version of the public-domain LZMA SDK. That would require
> > > repackaging the source package, as it is only provided in 7z format.)
> > >
> > > Signed-off-by: Jan Hoffmann <jan at 3e8.eu>
> >
> > This caused builds to fail on systems with GCC 12 (Arch, Fedora 36).
>
> Strange, I'm on archlinux with gcc 12.1.0 and it worked for me.
> Maybe it only fails in silent mode when warnings are treated as errors?
>
> Anyway, thanks for taking care of that!
It seems the issue is back. Tested with OpenSUSE Tumbleweed 20220813,
gcc (SUSE Linux) 12.1.1 20220721 [revision
4f15d2234608e82159d030dadb17af678cfad626],
even with 7z 22.01 version:
cc x86_64 -O2 -c -Wall -Werror -Wextra -DNDEBUG -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -f
PIC -o _o/7zStream.o ../../../../C/7zStream.c
cc: warning: x86_64: linker input file unused because linking not done
cc: error: x86_64: linker input file not found: No such file or directory
make[3]: *** [../../7zip_gcc.mak:1070: _o/7zStream.o] Error 1
Regards,
Luiz
More information about the openwrt-devel
mailing list