==> Synchronizing chroot copy [/chroot/armv7h/root] -> [build]...done
==> Making package: firmware-mod-kit-git 0.99.r75.g104c821-1 (Sun Aug 25 19:46:12 2019)
==> Retrieving sources...
  -> Cloning firmware-mod-kit git repo...
Cloning into bare repository '/srv/build/builder/work/firmware-mod-kit-git/firmware-mod-kit'...
==> Validating source files with sha512sums...
    firmware-mod-kit ... Skipped
Host and machine ids are equal (2b3dd5a7c7b749ff93431232041f2429): refusing to link journals
==> Making package: firmware-mod-kit-git 0.99.r75.g104c821-1 (Sun 25 Aug 2019 07:46:34 PM EDT)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (5) perl-error-0.17028-1  perl-mailtools-2.21-2  perl-timedate-2.30-6
             git-2.23.0-1  python-magic-git-20190505.r193-2

Total Download Size:    5.00 MiB
Total Installed Size:  33.42 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
downloading perl-error-0.17028-1-any.pkg.tar.xz...
downloading perl-timedate-2.30-6-any.pkg.tar.xz...
downloading perl-mailtools-2.21-2-any.pkg.tar.xz...
downloading git-2.23.0-1-armv7h.pkg.tar.xz...
downloading python-magic-git-20190505.r193-2-any.pkg.tar.xz...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing git...
Optional dependencies for git
    tk: gitk and git gui
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-mime-tools: git send-email
    perl-net-smtp-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-mediawiki-api: git mediawiki support
    perl-datetime-format-iso8601: git mediawiki support
    perl-lwp-protocol-https: git mediawiki https support
    perl-cgi: gitweb (web interface) support
    python2: various helper scripts
    subversion: git svn
    gnome-keyring: GNOME keyring credential helper
    libsecret: libsecret credential helper [installed]
installing python-magic-git...
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group git with gid 977.
Creating user git (git daemon user) with uid 977 and gid 977.
(2/4) Warn about old perl modules
(3/4) Reloading system manager configuration...
  Skipped: Current root is not booted.
(4/4) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of firmware-mod-kit git repo...
Cloning into 'firmware-mod-kit'...
done.

Updating files:  96% (5219/5412)

Updating files:  97% (5250/5412)

Updating files:  98% (5304/5412)

Updating files:  99% (5358/5412)

Updating files: 100% (5412/5412)

Updating files: 100% (5412/5412), done.
==> Starting pkgver()...
==> Starting build()...
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/sysmacros.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for memset... yes
checking for malloc... yes
checking for strstr... yes
checking for crc32 in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking lzma.h usability... yes
checking lzma.h presence... yes
checking for lzma.h... yes
configure: creating ./config.status
config.status: creating Makefile
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o asustrx.o asustrx.c
gcc asustrx.o -o asustrx
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o addpattern.o addpattern.c
gcc addpattern.o -o addpattern
g++ -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -c -o untrx.o untrx.cc
In file included from untrx.cc:38:
untrx.h:44:3: warning: #warning "u_int32_t may be undefined. please define as 32-bit type." [-Wcpp]
  #warning "u_int32_t may be undefined. please define as 32-bit type."
   ^~~~~~~
g++ untrx.o -o untrx
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o motorola-bin.o motorola-bin.c
gcc motorola-bin.o -o motorola-bin
g++ -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -c -o splitter3.o splitter3.cc
In file included from splitter3.cc:39:
untrx.h:44:3: warning: #warning "u_int32_t may be undefined. please define as 32-bit type." [-Wcpp]
  #warning "u_int32_t may be undefined. please define as 32-bit type."
   ^~~~~~~
g++ splitter3.o -o splitter3
make -C ./bff/
make[1]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/bff'
gcc bff_huffman_decompress.c -o bff_huffman_decompress
make[1]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/bff'
make -C ./jffs2
make[1]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/jffs2'
gcc -Wall sunjffs2.c -o sunjffs2
make[1]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/jffs2'
make -C ./uncramfs/
make[1]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/uncramfs'
cc -g -O -g -O -Wl,-O1,--sort-common,--as-needed,-z,relro  uncramfs.c  -lz -o uncramfs
uncramfs.c: In function ‘usage’:
uncramfs.c:72:4: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
    exit(1);
    ^~~~
uncramfs.c:72:4: warning: incompatible implicit declaration of built-in function ‘exituncramfs.c:72:4: note: include ‘<stdlib.h>’ or provide a declaration of ‘exituncramfs.c:49:1:
+#include <stdlib.h>
 ;
uncramfs.c:72:4:
    exit(1);
    ^~~~
uncramfs.c: In function ‘do_symlink’:
uncramfs.c:315:7: warning: incompatible implicit declaration of built-in function ‘exitexit(1);
       ^~~~
uncramfs.c:315:7: note: include ‘<stdlib.h>’ or provide a declaration of ‘exituncramfs.c: In function ‘main’:
uncramfs.c:696:3: warning: incompatible implicit declaration of built-in function ‘exitexit(1);
   ^~~~
uncramfs.c:696:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘exituncramfs.c:703:7: warning: incompatible implicit declaration of built-in function ‘exitexit(1);
       ^~~~
uncramfs.c:703:7: note: include ‘<stdlib.h>’ or provide a declaration of ‘exituncramfs.c:712:7: warning: incompatible implicit declaration of built-in function ‘exitexit(1);
       ^~~~
uncramfs.c:712:7: note: include ‘<stdlib.h>’ or provide a declaration of ‘exituncramfs.c:720:7: warning: incompatible implicit declaration of built-in function ‘exitexit(1);
       ^~~~
uncramfs.c:720:7: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
make[1]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/uncramfs'
make -C ./uncramfs-lzma/
make[1]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/uncramfs-lzma'
gcc -O3 -w -c lzma-uncramfs.c
cd lzma-rg/SRC/7zip/Compress/LZMA_C;make
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/uncramfs-lzma/lzma-rg/SRC/7zip/Compress/LZMA_C'
gcc -O3 -Wall -c LzmaDecode.c
gcc -O3 -Wall -c LzmaTest.c
gcc -O3 -Wall -c decode.c
decode.c: In function ‘lzma_decode’:
decode.c:127:41: warning: pointer targets in passing argument 10 of ‘LzmaDecode’ differ in signedness [-Wpointer-sign]
  (u8 *)src, srclen, (u8 *)dst, out_len, &dstlen);
                                         ^~~~~~~
In file included from decode.c:51:
LzmaDecode.h:86:5: note: expected ‘unsigned int *’ but argument is of type ‘int *’
 int LzmaDecode(
     ^~~~~~~~~~
gcc -O3 -Wall -o decode -Wl,-O1,--sort-common,--as-needed,-z,relro LzmaDecode.o LzmaTest.o decode.o -lm
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/uncramfs-lzma/lzma-rg/SRC/7zip/Compress/LZMA_C'
gcc -O3 -w -o uncramfs-lzma -Wl,-O1,--sort-common,--as-needed,-z,relro lzma-uncramfs.o lzma-rg/SRC/7zip/Compress/LZMA_C/decode.o lzma-rg/SRC/7zip/Compress/LZMA_C/LzmaDecode.o  -lm
make[1]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/uncramfs-lzma'
make -C ./cramfs-2.x/
make[1]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/cramfs-2.x'
gcc -W -Wall -O2 -g -I. -Wl,-O1,--sort-common,--as-needed,-z,relro  mkcramfs.c  -lz -o mkcramfs
mkcramfs.c: In function ‘parse_directory’:
mkcramfs.c:245:40: warning: passing argument 4 of ‘scandir’ from incompatible pointer type [-Wincompatible-pointer-types]
  dircount = scandir(name, &dirlist, 0, cramsort);
                                        ^~~~~~~~
In file included from mkcramfs.c:31:
/usr/include/dirent.h:258:13: note: expected ‘int (*)(const struct dirent **, const struct dirent **)’ but argument is of type ‘int (*)(const void *, const void *)int (*__cmp) (const struct dirent **,
       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       const struct dirent **))
       ~~~~~~~~~~~~~~~~~~~~~~~
mkcramfs.c:287:15: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign]
   entry->name = strdup(dirent->d_name);
               ^
mkcramfs.c: In function ‘write_superblock’:
mkcramfs.c:399:16: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign]
   strncpy(super->name, opt_name, sizeof(super->name));
           ~~~~~^~~~~~
In file included from mkcramfs.c:34:
/usr/include/string.h:124:14: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’}
 extern char *strncpy (char *__restrict __dest,
              ^~~~~~~
mkcramfs.c:401:16: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign]
   strncpy(super->name, "Compressed", sizeof(super->name));
           ~~~~~^~~~~~
In file included from mkcramfs.c:34:
/usr/include/string.h:124:14: note: expected ‘char * restrict’ but argument is of type ‘u8 *’ {aka ‘unsigned char *’}
 extern char *strncpy (char *__restrict __dest,
              ^~~~~~~
mkcramfs.c: In function ‘write_directory_structure’:
mkcramfs.c:480:29: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
    size_t len = strlen(entry->name);
                        ~~~~~^~~~~~
In file included from mkcramfs.c:34:
/usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
 extern size_t strlen (const char *__s)
               ^~~~~~
mkcramfs.c: In function ‘do_compress’:
mkcramfs.c:598:25: warning: pointer targets in passing argument 1 of ‘compress2’ differ in signedness [-Wpointer-sign]
    err = compress2(base + curr, &len, uncompressed, input, Z_BEST_COMPRESSION);
                    ~~~~~^~~~~~
In file included from mkcramfs.c:37:
/usr/include/zlib.h:1242:21: note: expected ‘Bytef *’ {aka ‘unsigned char *’} but argument is of type ‘char *’
 ZEXTERN int ZEXPORT compress2 OF((Bytef *dest,   uLongf *destLen,
                     ^~~~~~~~~
mkcramfs.c:598:39: warning: pointer targets in passing argument 3 of ‘compress2’ differ in signedness [-Wpointer-sign]
    err = compress2(base + curr, &len, uncompressed, input, Z_BEST_COMPRESSION);
                                       ^~~~~~~~~~~~
In file included from mkcramfs.c:37:
/usr/include/zlib.h:1242:21: note: expected ‘const Bytef *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
 ZEXTERN int ZEXPORT compress2 OF((Bytef *dest,   uLongf *destLen,
                     ^~~~~~~~~
mkcramfs.c: In function ‘write_data’:
mkcramfs.c:647:45: warning: pointer targets in passing argument 3 of ‘do_compress’ differ in signedness [-Wpointer-sign]
     offset = do_compress(base, offset, entry->name, entry->uncompressed, entry->size);
                                        ~~~~~^~~~~~
mkcramfs.c:578:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
 static unsigned int do_compress(char *base, unsigned int offset, char const *name, char *uncompressed, unsigned int size)
                     ^~~~~~~~~~~
mkcramfs.c: In function ‘main’:
mkcramfs.c:825:29: warning: pointer targets in passing argument 2 of ‘crc32’ differ in signedness [-Wpointer-sign]
  crc = crc32(crc, (rom_image+opt_pad), (offset-opt_pad));
                   ~~~~~~~~~~^~~~~~~~~
In file included from mkcramfs.c:37:
/usr/include/zlib.h:1725:23: note: expected ‘const Bytef *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’
 ZEXTERN uLong ZEXPORT crc32   OF((uLong crc, const Bytef *buf, uInt len));
                       ^~~~~
mkcramfs.c:705:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
    usage(MKFS_OK);
    ^~~~~~~~~~~~~~
mkcramfs.c:706:3: note: here
   case 'E':
   ^~~~
mkcramfs.c:445:27: warning: %4d’ directive output may be truncated writing between 4 and 7 bytes into a region of size 5 [-Wformat-truncation=]
   snprintf(info, 10, "%4d,%4d", major(e->size), minor(e->size));
                           ^~~
mkcramfs.c:445:22: note: directive argument in the range [0, 1048575]
   snprintf(info, 10, "%4d,%4d", major(e->size), minor(e->size));
                      ^~~~~~~~~
mkcramfs.c:445:3: note: snprintf’ output between 10 and 13 bytes into a destination of size 10
   snprintf(info, 10, "%4d,%4d", major(e->size), minor(e->size));
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘write_superblock’,
    inlined from ‘main’ at mkcramfs.c:820:2:
mkcramfs.c:399:3: warning: strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
   strncpy(super->name, opt_name, sizeof(super->name));
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -W -Wall -O2 -g -I. -Wl,-O1,--sort-common,--as-needed,-z,relro  cramfsck.c  -lz -o cramfsck
cramfsck.c: In function ‘main’:
cramfsck.c:671:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
    usage(FSCK_OK);
    ^~~~~~~~~~~~~~
cramfsck.c:672:3: note: here
   case 'x':
   ^~~~
make[1]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/cramfs-2.x'
make -C ./cramfsswap/
make[1]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/cramfsswap'
gcc -Wall -g -O -o cramfsswap cramfsswap.c -lz
strip cramfsswap
make[1]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/cramfsswap'
make -C ./squashfs-2.1-r2/
make[1]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/squashfs-2.1-r2'
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o mksquashfs.o mksquashfs.c
mksquashfs.c: In function ‘write_file’:
mksquashfs.c:1170:5: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
     ftruncate(fd, bytes);
     ^~~~~~~~~~~~~~~~~~~~
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o read_fs.o read_fs.c
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
make -C ../lzma/C/7zip/Compress/LZMA_Lib
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/lzma/C/7zip/Compress/LZMA_Lib'
g++ -O3 -Wall -c  -I ../../../ ZLib.cpp
g++ -O3 -Wall -c  -I ../../../ ../LZMA/LZMADecoder.cpp
../LZMA/LZMADecoder.cpp: In member function ‘virtual LONG NCompress::NLZMA::CDecoder::SetOutStreamSize(const UInt64*)’:
../LZMA/LZMADecoder.cpp:317:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if (_outSizeDefined = (outSize != NULL))
       ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
g++ -O3 -Wall -c  -I ../../../ ../LZMA/LZMAEncoder.cpp
../LZMA/LZMAEncoder.cpp: In member function ‘LONG NCompress::NLZMA::CEncoder::GetOptimumFast(UInt32, UInt32&, UInt32&)’:
../LZMA/LZMAEncoder.cpp:1139:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 2 >= lenMain && (backMain > (1<<12)))
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp:1154:44: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         _longestMatchLength == lenMain + 1 &&
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
           !ChangePair(backMain, _matchDistances[_longestMatchLength]) ||
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp:1157:60: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         _longestMatchLength + 1 >= lenMain && lenMain >= 3 &&
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
           ChangePair(_matchDistances[lenMain - 1], backMain)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -O3 -Wall -c  -I ../../../ ../LZ/LZInWindow.cpp
g++ -O3 -Wall -c  -I ../../../ ../LZ/LZOutWindow.cpp
g++ -O3 -Wall -c  -I ../../../ ../RangeCoder/RangeCoderBit.cpp
g++ -O3 -Wall -c  -I ../../../ ../../Common/InBuffer.cpp
g++ -O3 -Wall -c  -I ../../../ ../../Common/OutBuffer.cpp
g++ -O3 -Wall -c  -I ../../../ ../../Common/FileStreams.cpp
g++ -O3 -Wall -c  -I ../../../ ../../../Common/Alloc.cpp
g++ -O3 -Wall -c  -I ../../../ ../../../Common/C_FileIO.cpp
g++ -O3 -Wall -c  -I ../../../ ../../../Common/CommandLineParser.cpp
In file included from ../../../Common/String.h:9,
                 from ../../../Common/CommandLineParser.h:6,
                 from ../../../Common/CommandLineParser.cpp:5:
../../../Common/Vector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/Vector.h:161:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/Vector.h:164:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/CommandLineParser.h:6,
                 from ../../../Common/CommandLineParser.cpp:5:
../../../Common/String.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/String.h:417:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/String.h:420:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
../../../Common/String.h: In instantiation of ‘CStringBase<T> CStringBase<T>::GetTrimDefaultCharSet() [with T = wchar_t]’:
../../../Common/String.h:447:26:   required from ‘void CStringBase<T>::TrimRight() [with T = wchar_t]../../../Common/String.h:472:5:   required from ‘void CStringBase<T>::Trim() [with T = wchar_t]../../../Common/CommandLineParser.cpp:34:14:   required from here
../../../Common/String.h:434:58: warning: division ‘sizeof (const char*) / sizeof (const char)’ does not compute the number of array elements [-Wsizeof-pointer-div]
     for(int i = 0; i < (int)(sizeof(kTrimDefaultCharSet) /
                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
       sizeof(kTrimDefaultCharSet[0])); i++)
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                     
../../../Common/String.h:15:20: note: first ‘sizeof’ operand was declared here
 static const char *kTrimDefaultCharSet  = " \n\t";
                    ^~~~~~~~~~~~~~~~~~~
g++ -O3 -Wall -c  -I ../../../ ../../../Common/CRC.cpp
g++ -O3 -Wall -c  -I ../../../ ../../Common/StreamUtils.cpp
g++ -O3 -Wall -c  -I ../../../ ../../../Common/String.cpp
In file included from ../../../Common/String.h:9,
                 from ../../../Common/String.cpp:11:
../../../Common/Vector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/Vector.h:161:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/Vector.h:164:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/String.cpp:11:
../../../Common/String.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/String.h:417:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/String.h:420:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O3 -Wall -c  -I ../../../ ../../../Common/StringConvert.cpp
In file included from ../../../Common/String.h:9,
                 from ../../../Common/StringConvert.h:7,
                 from ../../../Common/StringConvert.cpp:5:
../../../Common/Vector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/Vector.h:161:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/Vector.h:164:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/StringConvert.h:7,
                 from ../../../Common/StringConvert.cpp:5:
../../../Common/String.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/String.h:417:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/String.h:420:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O3 -Wall -c  -I ../../../ ../../../Common/StringToInt.cpp
g++ -O3 -Wall -c  -I ../../../ ../../../Common/Vector.cpp
In file included from ../../../Common/Vector.cpp:7:
../../../Common/Vector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/Vector.h:161:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/Vector.h:164:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
ar r liblzma.a ZLib.o LZMADecoder.o LZMAEncoder.o LZInWindow.o LZOutWindow.o RangeCoderBit.o InBuffer.o OutBuffer.o FileStreams.o Alloc.o C_FileIO.o CommandLineParser.o CRC.o StreamUtils.o String.o StringConvert.o StringToInt.o Vector.o 
ar: creating liblzma.a
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/lzma/C/7zip/Compress/LZMA_Lib'
g++ -O3 mksquashfs.o read_fs.o sort.o -L../lzma/C/7zip/Compress/LZMA_Lib -llzma -o mksquashfs-lzma
gcc mksquashfs.o read_fs.o sort.o -lz -o mksquashfs
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o unsquashfs.o unsquashfs.c
make -C ../lzma/C/7zip/Compress/LZMA_Lib
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/lzma/C/7zip/Compress/LZMA_Lib'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/lzma/C/7zip/Compress/LZMA_Lib'
g++ -O3 unsquashfs.o -L../lzma/C/7zip/Compress/LZMA_Lib -llzma -o unsquashfs-lzma
gcc unsquashfs.o -lz -o unsquashfs
make[1]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/squashfs-2.1-r2'
make -C ./squashfs-3.0/
make[1]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/squashfs-3.0'
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o unsquashfs.o unsquashfs.c
gcc unsquashfs.o -lz -o unsquashfs
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o mksquashfs.o mksquashfs.c
mksquashfs.c: In function ‘dir_scan’:
mksquashfs.c:1590:2: warning: implicit declaration of function ‘dir_scan2’; did you mean ‘dir_scan’? [-Wimplicit-function-declaration]
  dir_scan2(inode, dir_info);
  ^~~~~~~~~
  dir_scan
mksquashfs.c: In function ‘write_file’:
mksquashfs.c:1270:5: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
     ftruncate(fd, bytes);
     ^~~~~~~~~~~~~~~~~~~~
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o read_fs.o read_fs.c
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
gcc mksquashfs.o read_fs.o sort.o -lz -o mksquashfs
make -C ../lzma/C/7zip/Compress/LZMA_Lib
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/lzma/C/7zip/Compress/LZMA_Lib'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/lzma/C/7zip/Compress/LZMA_Lib'
g++ -O3 unsquashfs.o -L../lzma/C/7zip/Compress/LZMA_Lib -llzma -o unsquashfs-lzma
make -C ../lzma/C/7zip/Compress/LZMA_Lib
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/lzma/C/7zip/Compress/LZMA_Lib'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/lzma/C/7zip/Compress/LZMA_Lib'
g++ -O3 mksquashfs.o read_fs.o sort.o -L../lzma/C/7zip/Compress/LZMA_Lib -llzma -o mksquashfs-lzma
make[1]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/squashfs-3.0'
make -C ./squashfs-3.0-lzma-damn-small-variant/
make[1]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/squashfs-3.0-lzma-damn-small-variant'
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -funroll-loops -O3 -D_LZMA_PARAMS -w -D_FORTIFY_SOURCE=2  -c -o mksquashfs.o mksquashfs.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -funroll-loops -O3 -D_LZMA_PARAMS -w -D_FORTIFY_SOURCE=2  -c -o read_fs.o read_fs.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -funroll-loops -O3 -D_LZMA_PARAMS -w -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
make -C ./lzma/C/7zip/Compress/LZMA_Lib
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/squashfs-3.0-lzma-damn-small-variant/lzma/C/7zip/Compress/LZMA_Lib'
g++ -O3  -funroll-loops -O3 -Wall -finline-functions -c  -I ../../../ ZLib.cpp
ZLib.cpp: In function ‘void* brute(void*)’:
ZLib.cpp:334:5: warning: unused variable ‘ret’ [-Wunused-variable]
 int ret =  compress2_lzma_test(test2,&test3len,testsource,testsourcelen,testlevel,testfb,takelcvalue,takelpvalue,takepbvalue);
     ^~~
g++ -O3  -funroll-loops -O3 -Wall -finline-functions -c  -I ../../../ ../LZMA/LZMADecoder.cpp
../LZMA/LZMADecoder.cpp: In member function ‘virtual LONG NCompress::NLZMA::CDecoder::SetOutStreamSize(const UInt64*)’:
../LZMA/LZMADecoder.cpp:317:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if (_outSizeDefined = (outSize != NULL))
       ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
g++ -O3  -funroll-loops -O3 -Wall -finline-functions -c  -I ../../../ ../LZMA/LZMAEncoder.cpp
../LZMA/LZMAEncoder.cpp: In member function ‘LONG NCompress::NLZMA::CEncoder::GetOptimumFast(UInt32, UInt32&, UInt32&)’:
../LZMA/LZMAEncoder.cpp:1141:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 2 >= lenMain && (backMain > (1<<12)))
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp:1156:44: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         _longestMatchLength == lenMain + 1 &&
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
           !ChangePair(backMain, _matchDistances[_longestMatchLength]) ||
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp:1159:60: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         _longestMatchLength + 1 >= lenMain && lenMain >= 3 &&
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
           ChangePair(_matchDistances[lenMain - 1], backMain)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -O3  -funroll-loops -O3 -Wall -finline-functions -c  -I ../../../ ../LZ/LZInWindow.cpp
g++ -O3  -funroll-loops -O3 -Wall -finline-functions -c  -I ../../../ ../LZ/LZOutWindow.cpp
g++ -O3  -funroll-loops -O3 -Wall -finline-functions -c  -I ../../../ ../RangeCoder/RangeCoderBit.cpp
g++ -O3  -funroll-loops -O3 -Wall -finline-functions -c  -I ../../../ ../../Common/InBuffer.cpp
g++ -O3  -funroll-loops -O3 -Wall -finline-functions -c  -I ../../../ ../../Common/OutBuffer.cpp
g++ -O3  -funroll-loops -O3 -Wall -finline-functions -c  -I ../../../ ../../Common/FileStreams.cpp
g++ -O3  -funroll-loops -O3 -Wall -finline-functions -c  -I ../../../ ../../../Common/Alloc.cpp
g++ -O3  -funroll-loops -O3 -Wall -finline-functions -c  -I ../../../ ../../../Common/C_FileIO.cpp
g++ -O3  -funroll-loops -O3 -Wall -finline-functions -c  -I ../../../ ../../../Common/CommandLineParser.cpp
In file included from ../../../Common/String.h:9,
                 from ../../../Common/CommandLineParser.h:6,
                 from ../../../Common/CommandLineParser.cpp:5:
../../../Common/Vector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/Vector.h:161:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/Vector.h:164:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/CommandLineParser.h:6,
                 from ../../../Common/CommandLineParser.cpp:5:
../../../Common/String.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/String.h:417:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/String.h:420:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
../../../Common/String.h: In instantiation of ‘CStringBase<T> CStringBase<T>::GetTrimDefaultCharSet() [with T = wchar_t]’:
../../../Common/String.h:447:26:   required from ‘void CStringBase<T>::TrimRight() [with T = wchar_t]../../../Common/String.h:472:5:   required from ‘void CStringBase<T>::Trim() [with T = wchar_t]../../../Common/CommandLineParser.cpp:34:14:   required from here
../../../Common/String.h:434:58: warning: division ‘sizeof (const char*) / sizeof (const char)’ does not compute the number of array elements [-Wsizeof-pointer-div]
     for(int i = 0; i < (int)(sizeof(kTrimDefaultCharSet) /
                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
       sizeof(kTrimDefaultCharSet[0])); i++)
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                     
../../../Common/String.h:15:20: note: first ‘sizeof’ operand was declared here
 static const char *kTrimDefaultCharSet  = " \n\t";
                    ^~~~~~~~~~~~~~~~~~~
g++ -O3  -funroll-loops -O3 -Wall -finline-functions -c  -I ../../../ ../../../Common/CRC.cpp
g++ -O3  -funroll-loops -O3 -Wall -finline-functions -c  -I ../../../ ../../Common/StreamUtils.cpp
g++ -O3  -funroll-loops -O3 -Wall -finline-functions -c  -I ../../../ ../../../Common/String.cpp
In file included from ../../../Common/String.h:9,
                 from ../../../Common/String.cpp:11:
../../../Common/Vector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/Vector.h:161:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/Vector.h:164:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/String.cpp:11:
../../../Common/String.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/String.h:417:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/String.h:420:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O3  -funroll-loops -O3 -Wall -finline-functions -c  -I ../../../ ../../../Common/StringConvert.cpp
In file included from ../../../Common/String.h:9,
                 from ../../../Common/StringConvert.h:7,
                 from ../../../Common/StringConvert.cpp:5:
../../../Common/Vector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/Vector.h:161:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/Vector.h:164:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/StringConvert.h:7,
                 from ../../../Common/StringConvert.cpp:5:
../../../Common/String.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/String.h:417:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/String.h:420:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O3  -funroll-loops -O3 -Wall -finline-functions -c  -I ../../../ ../../../Common/StringToInt.cpp
g++ -O3  -funroll-loops -O3 -Wall -finline-functions -c  -I ../../../ ../../../Common/Vector.cpp
In file included from ../../../Common/Vector.cpp:7:
../../../Common/Vector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/Vector.h:161:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/Vector.h:164:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
ar r liblzma.a ZLib.o LZMADecoder.o LZMAEncoder.o LZInWindow.o LZOutWindow.o RangeCoderBit.o InBuffer.o OutBuffer.o FileStreams.o Alloc.o C_FileIO.o CommandLineParser.o CRC.o StreamUtils.o String.o StringConvert.o StringToInt.o Vector.o 
ar: creating liblzma.a
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/squashfs-3.0-lzma-damn-small-variant/lzma/C/7zip/Compress/LZMA_Lib'
g++ mksquashfs.o read_fs.o sort.o -L./lzma/C/7zip/Compress/LZMA_Lib -llzma -lpthread -o mksquashfs-lzma
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -funroll-loops -O3 -D_LZMA_PARAMS -w -D_FORTIFY_SOURCE=2  -c -o unsquashfs.o unsquashfs.c
g++ -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -funroll-loops -O3 -D_LZMA_PARAMS -w unsquashfs.o -L./lzma/C/7zip/Compress/LZMA_Lib -llzma -lpthread -o unsquashfs-lzma 
make[1]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/squashfs-3.0-lzma-damn-small-variant'
make -C ./wrt_vx_imgtool/
make[1]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/wrt_vx_imgtool'
g++ -O3 -D_LINUX wrt54gv5_img.cpp -o wrt_vx_imgtool
wrt54gv5_img.cpp:675:9: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  printf("\n "VERSION_TEXT " - " __DATE__ " by Jeremy Collake (jeremy@bitsum.com)");
         ^
wrt54gv5_img.cpp:76:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
 };
 ^
wrt54gv5_img.cpp:76:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
wrt54gv5_img.cpp:76:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
wrt54gv5_img.cpp:83:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
 };
 ^
wrt54gv5_img.cpp:83:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
wrt54gv5_img.cpp:83:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
wrt54gv5_img.cpp:90:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
 };
 ^
wrt54gv5_img.cpp:90:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
wrt54gv5_img.cpp:90:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
wrt54gv5_img.cpp:97:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
 };
 ^
wrt54gv5_img.cpp:97:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
wrt54gv5_img.cpp:97:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
make[1]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/wrt_vx_imgtool'
make -C ./others/
make[1]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others'
make -C ./squashfs-2.2-r2-7z
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-2.2-r2-7z'
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -D_FORTIFY_SOURCE=2  -c -o mksquashfs.o mksquashfs.c
In file included from /usr/include/pwd.h:25,
                 from mksquashfs.c:28:
/usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -D_FORTIFY_SOURCE=2  -c -o read_fs.o read_fs.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from read_fs.c:29:
/usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
In file included from /usr/include/unistd.h:25,
                 from sort.c:27:
/usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
make -f liblzma/Makefile
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-2.2-r2-7z'
g++ -O1 -s -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DEXCLUDE_COM -DNO_REGISTRY -DFORMAT_7Z -DFORMAT_BZIP2 -DFORMAT_ZIP -DFORMAT_TAR -DFORMAT_GZIP -DCOMPRESS_LZMA -DCOMPRESS_BCJ_X86 -DFORMAT_SPLIT -DFORMAT_Z -DCOMPRESS_BCJ2 -DCOMPRESS_COPY -DCOMPRESS_MF_MT -DCOMPRESS_PPMD -DCOMPRESS_DEFLATE -DCOMPRESS_DEFLATE64 -DCOMPRESS_IMPLODE -DCOMPRESS_BZIP2 -DCRYPTO_ZIP -DCRYPTO_7ZAES -DCRYPTO_AES -c -Ip7zip/myWindows -Ip7zip -Ip7zip/include_windows  liblzma/ZLib.cpp
g++ -O1 -s -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DEXCLUDE_COM -DNO_REGISTRY -DFORMAT_7Z -DFORMAT_BZIP2 -DFORMAT_ZIP -DFORMAT_TAR -DFORMAT_GZIP -DCOMPRESS_LZMA -DCOMPRESS_BCJ_X86 -DFORMAT_SPLIT -DFORMAT_Z -DCOMPRESS_BCJ2 -DCOMPRESS_COPY -DCOMPRESS_MF_MT -DCOMPRESS_PPMD -DCOMPRESS_DEFLATE -DCOMPRESS_DEFLATE64 -DCOMPRESS_IMPLODE -DCOMPRESS_BZIP2 -DCRYPTO_ZIP -DCRYPTO_7ZAES -DCRYPTO_AES -c -Ip7zip/myWindows -Ip7zip -Ip7zip/include_windows  p7zip/7zip/Compress/LZMA/LZMADecoder.cpp
g++ -O1 -s -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DEXCLUDE_COM -DNO_REGISTRY -DFORMAT_7Z -DFORMAT_BZIP2 -DFORMAT_ZIP -DFORMAT_TAR -DFORMAT_GZIP -DCOMPRESS_LZMA -DCOMPRESS_BCJ_X86 -DFORMAT_SPLIT -DFORMAT_Z -DCOMPRESS_BCJ2 -DCOMPRESS_COPY -DCOMPRESS_MF_MT -DCOMPRESS_PPMD -DCOMPRESS_DEFLATE -DCOMPRESS_DEFLATE64 -DCOMPRESS_IMPLODE -DCOMPRESS_BZIP2 -DCRYPTO_ZIP -DCRYPTO_7ZAES -DCRYPTO_AES -c -Ip7zip/myWindows -Ip7zip -Ip7zip/include_windows  p7zip/7zip/Compress/LZMA/LZMAEncoder.cpp
g++ -O1 -s -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DEXCLUDE_COM -DNO_REGISTRY -DFORMAT_7Z -DFORMAT_BZIP2 -DFORMAT_ZIP -DFORMAT_TAR -DFORMAT_GZIP -DCOMPRESS_LZMA -DCOMPRESS_BCJ_X86 -DFORMAT_SPLIT -DFORMAT_Z -DCOMPRESS_BCJ2 -DCOMPRESS_COPY -DCOMPRESS_MF_MT -DCOMPRESS_PPMD -DCOMPRESS_DEFLATE -DCOMPRESS_DEFLATE64 -DCOMPRESS_IMPLODE -DCOMPRESS_BZIP2 -DCRYPTO_ZIP -DCRYPTO_7ZAES -DCRYPTO_AES -c -Ip7zip/myWindows -Ip7zip -Ip7zip/include_windows  p7zip/7zip/Compress/LZ/LZInWindow.cpp
g++ -O1 -s -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DEXCLUDE_COM -DNO_REGISTRY -DFORMAT_7Z -DFORMAT_BZIP2 -DFORMAT_ZIP -DFORMAT_TAR -DFORMAT_GZIP -DCOMPRESS_LZMA -DCOMPRESS_BCJ_X86 -DFORMAT_SPLIT -DFORMAT_Z -DCOMPRESS_BCJ2 -DCOMPRESS_COPY -DCOMPRESS_MF_MT -DCOMPRESS_PPMD -DCOMPRESS_DEFLATE -DCOMPRESS_DEFLATE64 -DCOMPRESS_IMPLODE -DCOMPRESS_BZIP2 -DCRYPTO_ZIP -DCRYPTO_7ZAES -DCRYPTO_AES -c -Ip7zip/myWindows -Ip7zip -Ip7zip/include_windows  p7zip/7zip/Compress/LZ/LZOutWindow.cpp
g++ -O1 -s -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DEXCLUDE_COM -DNO_REGISTRY -DFORMAT_7Z -DFORMAT_BZIP2 -DFORMAT_ZIP -DFORMAT_TAR -DFORMAT_GZIP -DCOMPRESS_LZMA -DCOMPRESS_BCJ_X86 -DFORMAT_SPLIT -DFORMAT_Z -DCOMPRESS_BCJ2 -DCOMPRESS_COPY -DCOMPRESS_MF_MT -DCOMPRESS_PPMD -DCOMPRESS_DEFLATE -DCOMPRESS_DEFLATE64 -DCOMPRESS_IMPLODE -DCOMPRESS_BZIP2 -DCRYPTO_ZIP -DCRYPTO_7ZAES -DCRYPTO_AES -c -Ip7zip/myWindows -Ip7zip -Ip7zip/include_windows  p7zip/7zip/Compress/RangeCoder/RangeCoderBit.cpp
g++ -O1 -s -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DEXCLUDE_COM -DNO_REGISTRY -DFORMAT_7Z -DFORMAT_BZIP2 -DFORMAT_ZIP -DFORMAT_TAR -DFORMAT_GZIP -DCOMPRESS_LZMA -DCOMPRESS_BCJ_X86 -DFORMAT_SPLIT -DFORMAT_Z -DCOMPRESS_BCJ2 -DCOMPRESS_COPY -DCOMPRESS_MF_MT -DCOMPRESS_PPMD -DCOMPRESS_DEFLATE -DCOMPRESS_DEFLATE64 -DCOMPRESS_IMPLODE -DCOMPRESS_BZIP2 -DCRYPTO_ZIP -DCRYPTO_7ZAES -DCRYPTO_AES -c -Ip7zip/myWindows -Ip7zip -Ip7zip/include_windows  p7zip/7zip/Common/InBuffer.cpp
g++ -O1 -s -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DEXCLUDE_COM -DNO_REGISTRY -DFORMAT_7Z -DFORMAT_BZIP2 -DFORMAT_ZIP -DFORMAT_TAR -DFORMAT_GZIP -DCOMPRESS_LZMA -DCOMPRESS_BCJ_X86 -DFORMAT_SPLIT -DFORMAT_Z -DCOMPRESS_BCJ2 -DCOMPRESS_COPY -DCOMPRESS_MF_MT -DCOMPRESS_PPMD -DCOMPRESS_DEFLATE -DCOMPRESS_DEFLATE64 -DCOMPRESS_IMPLODE -DCOMPRESS_BZIP2 -DCRYPTO_ZIP -DCRYPTO_7ZAES -DCRYPTO_AES -c -Ip7zip/myWindows -Ip7zip -Ip7zip/include_windows  p7zip/7zip/Common/OutBuffer.cpp
g++ -O1 -s -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DEXCLUDE_COM -DNO_REGISTRY -DFORMAT_7Z -DFORMAT_BZIP2 -DFORMAT_ZIP -DFORMAT_TAR -DFORMAT_GZIP -DCOMPRESS_LZMA -DCOMPRESS_BCJ_X86 -DFORMAT_SPLIT -DFORMAT_Z -DCOMPRESS_BCJ2 -DCOMPRESS_COPY -DCOMPRESS_MF_MT -DCOMPRESS_PPMD -DCOMPRESS_DEFLATE -DCOMPRESS_DEFLATE64 -DCOMPRESS_IMPLODE -DCOMPRESS_BZIP2 -DCRYPTO_ZIP -DCRYPTO_7ZAES -DCRYPTO_AES -c -Ip7zip/myWindows -Ip7zip -Ip7zip/include_windows  p7zip/7zip/Common/FileStreams.cpp
g++ -O1 -s -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DEXCLUDE_COM -DNO_REGISTRY -DFORMAT_7Z -DFORMAT_BZIP2 -DFORMAT_ZIP -DFORMAT_TAR -DFORMAT_GZIP -DCOMPRESS_LZMA -DCOMPRESS_BCJ_X86 -DFORMAT_SPLIT -DFORMAT_Z -DCOMPRESS_BCJ2 -DCOMPRESS_COPY -DCOMPRESS_MF_MT -DCOMPRESS_PPMD -DCOMPRESS_DEFLATE -DCOMPRESS_DEFLATE64 -DCOMPRESS_IMPLODE -DCOMPRESS_BZIP2 -DCRYPTO_ZIP -DCRYPTO_7ZAES -DCRYPTO_AES -c -Ip7zip/myWindows -Ip7zip -Ip7zip/include_windows  p7zip/Common/Alloc.cpp
g++ -O1 -s -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DEXCLUDE_COM -DNO_REGISTRY -DFORMAT_7Z -DFORMAT_BZIP2 -DFORMAT_ZIP -DFORMAT_TAR -DFORMAT_GZIP -DCOMPRESS_LZMA -DCOMPRESS_BCJ_X86 -DFORMAT_SPLIT -DFORMAT_Z -DCOMPRESS_BCJ2 -DCOMPRESS_COPY -DCOMPRESS_MF_MT -DCOMPRESS_PPMD -DCOMPRESS_DEFLATE -DCOMPRESS_DEFLATE64 -DCOMPRESS_IMPLODE -DCOMPRESS_BZIP2 -DCRYPTO_ZIP -DCRYPTO_7ZAES -DCRYPTO_AES -c -Ip7zip/myWindows -Ip7zip -Ip7zip/include_windows  p7zip/7zip/Common/StreamUtils.cpp
g++ -O1 -s -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DEXCLUDE_COM -DNO_REGISTRY -DFORMAT_7Z -DFORMAT_BZIP2 -DFORMAT_ZIP -DFORMAT_TAR -DFORMAT_GZIP -DCOMPRESS_LZMA -DCOMPRESS_BCJ_X86 -DFORMAT_SPLIT -DFORMAT_Z -DCOMPRESS_BCJ2 -DCOMPRESS_COPY -DCOMPRESS_MF_MT -DCOMPRESS_PPMD -DCOMPRESS_DEFLATE -DCOMPRESS_DEFLATE64 -DCOMPRESS_IMPLODE -DCOMPRESS_BZIP2 -DCRYPTO_ZIP -DCRYPTO_7ZAES -DCRYPTO_AES -c -Ip7zip/myWindows -Ip7zip -Ip7zip/include_windows  p7zip/Common/CommandLineParser.cpp
g++ -O1 -s -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DEXCLUDE_COM -DNO_REGISTRY -DFORMAT_7Z -DFORMAT_BZIP2 -DFORMAT_ZIP -DFORMAT_TAR -DFORMAT_GZIP -DCOMPRESS_LZMA -DCOMPRESS_BCJ_X86 -DFORMAT_SPLIT -DFORMAT_Z -DCOMPRESS_BCJ2 -DCOMPRESS_COPY -DCOMPRESS_MF_MT -DCOMPRESS_PPMD -DCOMPRESS_DEFLATE -DCOMPRESS_DEFLATE64 -DCOMPRESS_IMPLODE -DCOMPRESS_BZIP2 -DCRYPTO_ZIP -DCRYPTO_7ZAES -DCRYPTO_AES -c -Ip7zip/myWindows -Ip7zip -Ip7zip/include_windows  p7zip/Windows/Synchronization.cpp
g++ -O1 -s -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DEXCLUDE_COM -DNO_REGISTRY -DFORMAT_7Z -DFORMAT_BZIP2 -DFORMAT_ZIP -DFORMAT_TAR -DFORMAT_GZIP -DCOMPRESS_LZMA -DCOMPRESS_BCJ_X86 -DFORMAT_SPLIT -DFORMAT_Z -DCOMPRESS_BCJ2 -DCOMPRESS_COPY -DCOMPRESS_MF_MT -DCOMPRESS_PPMD -DCOMPRESS_DEFLATE -DCOMPRESS_DEFLATE64 -DCOMPRESS_IMPLODE -DCOMPRESS_BZIP2 -DCRYPTO_ZIP -DCRYPTO_7ZAES -DCRYPTO_AES -c -Ip7zip/myWindows -Ip7zip -Ip7zip/include_windows  p7zip/7zip/Compress/LZ/MT/MT.cpp
g++ -O1 -s -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DEXCLUDE_COM -DNO_REGISTRY -DFORMAT_7Z -DFORMAT_BZIP2 -DFORMAT_ZIP -DFORMAT_TAR -DFORMAT_GZIP -DCOMPRESS_LZMA -DCOMPRESS_BCJ_X86 -DFORMAT_SPLIT -DFORMAT_Z -DCOMPRESS_BCJ2 -DCOMPRESS_COPY -DCOMPRESS_MF_MT -DCOMPRESS_PPMD -DCOMPRESS_DEFLATE -DCOMPRESS_DEFLATE64 -DCOMPRESS_IMPLODE -DCOMPRESS_BZIP2 -DCRYPTO_ZIP -DCRYPTO_7ZAES -DCRYPTO_AES -c -Ip7zip/myWindows -Ip7zip -Ip7zip/include_windows  p7zip/Common/CRC.cpp
g++ -O1 -s -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DEXCLUDE_COM -DNO_REGISTRY -DFORMAT_7Z -DFORMAT_BZIP2 -DFORMAT_ZIP -DFORMAT_TAR -DFORMAT_GZIP -DCOMPRESS_LZMA -DCOMPRESS_BCJ_X86 -DFORMAT_SPLIT -DFORMAT_Z -DCOMPRESS_BCJ2 -DCOMPRESS_COPY -DCOMPRESS_MF_MT -DCOMPRESS_PPMD -DCOMPRESS_DEFLATE -DCOMPRESS_DEFLATE64 -DCOMPRESS_IMPLODE -DCOMPRESS_BZIP2 -DCRYPTO_ZIP -DCRYPTO_7ZAES -DCRYPTO_AES -c -Ip7zip/myWindows -Ip7zip -Ip7zip/include_windows  p7zip/Common/String.cpp
g++ -O1 -s -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DEXCLUDE_COM -DNO_REGISTRY -DFORMAT_7Z -DFORMAT_BZIP2 -DFORMAT_ZIP -DFORMAT_TAR -DFORMAT_GZIP -DCOMPRESS_LZMA -DCOMPRESS_BCJ_X86 -DFORMAT_SPLIT -DFORMAT_Z -DCOMPRESS_BCJ2 -DCOMPRESS_COPY -DCOMPRESS_MF_MT -DCOMPRESS_PPMD -DCOMPRESS_DEFLATE -DCOMPRESS_DEFLATE64 -DCOMPRESS_IMPLODE -DCOMPRESS_BZIP2 -DCRYPTO_ZIP -DCRYPTO_7ZAES -DCRYPTO_AES -c -Ip7zip/myWindows -Ip7zip -Ip7zip/include_windows  p7zip/Common/StringConvert.cpp
g++ -O1 -s -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DEXCLUDE_COM -DNO_REGISTRY -DFORMAT_7Z -DFORMAT_BZIP2 -DFORMAT_ZIP -DFORMAT_TAR -DFORMAT_GZIP -DCOMPRESS_LZMA -DCOMPRESS_BCJ_X86 -DFORMAT_SPLIT -DFORMAT_Z -DCOMPRESS_BCJ2 -DCOMPRESS_COPY -DCOMPRESS_MF_MT -DCOMPRESS_PPMD -DCOMPRESS_DEFLATE -DCOMPRESS_DEFLATE64 -DCOMPRESS_IMPLODE -DCOMPRESS_BZIP2 -DCRYPTO_ZIP -DCRYPTO_7ZAES -DCRYPTO_AES -c -Ip7zip/myWindows -Ip7zip -Ip7zip/include_windows  p7zip/Common/StringToInt.cpp
g++ -O1 -s -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -DEXCLUDE_COM -DNO_REGISTRY -DFORMAT_7Z -DFORMAT_BZIP2 -DFORMAT_ZIP -DFORMAT_TAR -DFORMAT_GZIP -DCOMPRESS_LZMA -DCOMPRESS_BCJ_X86 -DFORMAT_SPLIT -DFORMAT_Z -DCOMPRESS_BCJ2 -DCOMPRESS_COPY -DCOMPRESS_MF_MT -DCOMPRESS_PPMD -DCOMPRESS_DEFLATE -DCOMPRESS_DEFLATE64 -DCOMPRESS_IMPLODE -DCOMPRESS_BZIP2 -DCRYPTO_ZIP -DCRYPTO_7ZAES -DCRYPTO_AES -c -Ip7zip/myWindows -Ip7zip -Ip7zip/include_windows  p7zip/Common/Vector.cpp
ar r liblzma.a ZLib.o LZMADecoder.o LZMAEncoder.o LZInWindow.o LZOutWindow.o RangeCoderBit.o InBuffer.o OutBuffer.o FileStreams.o Alloc.o StreamUtils.o CommandLineParser.o Synchronization.o MT.o CRC.o String.o StringConvert.o StringToInt.o Vector.o 
ar: creating liblzma.a
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-2.2-r2-7z'
g++ mksquashfs.o read_fs.o sort.o -L. -llzma -lpthread -o mksquashfs
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -D_FORTIFY_SOURCE=2  -c -o unsquashfs.o unsquashfs.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from unsquashfs.c:29:
/usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
g++ unsquashfs.o -L. -llzma -lpthread -o unsquashfs
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-2.2-r2-7z'
make -C ./squashfs-3.0-e2100
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.0-e2100'
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -D_FORTIFY_SOURCE=2  -c -o mksquashfs.o mksquashfs.c
mksquashfs.c: In function ‘dir_scan’:
mksquashfs.c:1559:2: warning: implicit declaration of function ‘dir_scan2’; did you mean ‘dir_scan’? [-Wimplicit-function-declaration]
  dir_scan2(inode, dir_info);
  ^~~~~~~~~
  dir_scan
mksquashfs.c: In function ‘write_file’:
mksquashfs.c:1239:5: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
     ftruncate(fd, bytes);
     ^~~~~~~~~~~~~~~~~~~~
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -D_FORTIFY_SOURCE=2  -c -o read_fs.o read_fs.c
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
gcc mksquashfs.o read_fs.o sort.o -lz -o mksquashfs
make -C ./lzma/C/7zip/Compress/LZMA_Lib
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.0-e2100/lzma/C/7zip/Compress/LZMA_Lib'
g++ -O3 -Wall -c  -I ../../../ ZLib.cpp
g++ -O3 -Wall -c  -I ../../../ ../LZMA/LZMADecoder.cpp
../LZMA/LZMADecoder.cpp: In member function ‘virtual LONG NCompress::NLZMA::CDecoder::SetOutStreamSize(const UInt64*)’:
../LZMA/LZMADecoder.cpp:317:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if (_outSizeDefined = (outSize != NULL))
       ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
g++ -O3 -Wall -c  -I ../../../ ../LZMA/LZMAEncoder.cpp
../LZMA/LZMAEncoder.cpp: In member function ‘LONG NCompress::NLZMA::CEncoder::GetOptimumFast(UInt32, UInt32&, UInt32&)’:
../LZMA/LZMAEncoder.cpp:1139:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 2 >= lenMain && (backMain > (1<<12)))
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp:1154:44: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         _longestMatchLength == lenMain + 1 &&
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
           !ChangePair(backMain, _matchDistances[_longestMatchLength]) ||
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp:1157:60: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         _longestMatchLength + 1 >= lenMain && lenMain >= 3 &&
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
           ChangePair(_matchDistances[lenMain - 1], backMain)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -O3 -Wall -c  -I ../../../ ../LZ/LZInWindow.cpp
g++ -O3 -Wall -c  -I ../../../ ../LZ/LZOutWindow.cpp
g++ -O3 -Wall -c  -I ../../../ ../RangeCoder/RangeCoderBit.cpp
g++ -O3 -Wall -c  -I ../../../ ../../Common/InBuffer.cpp
g++ -O3 -Wall -c  -I ../../../ ../../Common/OutBuffer.cpp
g++ -O3 -Wall -c  -I ../../../ ../../Common/FileStreams.cpp
g++ -O3 -Wall -c  -I ../../../ ../../../Common/Alloc.cpp
g++ -O3 -Wall -c  -I ../../../ ../../../Common/C_FileIO.cpp
g++ -O3 -Wall -c  -I ../../../ ../../../Common/CommandLineParser.cpp
In file included from ../../../Common/String.h:9,
                 from ../../../Common/CommandLineParser.h:6,
                 from ../../../Common/CommandLineParser.cpp:5:
../../../Common/Vector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/Vector.h:161:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/Vector.h:164:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/CommandLineParser.h:6,
                 from ../../../Common/CommandLineParser.cpp:5:
../../../Common/String.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/String.h:417:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/String.h:420:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
../../../Common/String.h: In instantiation of ‘CStringBase<T> CStringBase<T>::GetTrimDefaultCharSet() [with T = wchar_t]’:
../../../Common/String.h:447:26:   required from ‘void CStringBase<T>::TrimRight() [with T = wchar_t]../../../Common/String.h:472:5:   required from ‘void CStringBase<T>::Trim() [with T = wchar_t]../../../Common/CommandLineParser.cpp:34:14:   required from here
../../../Common/String.h:434:58: warning: division ‘sizeof (const char*) / sizeof (const char)’ does not compute the number of array elements [-Wsizeof-pointer-div]
     for(int i = 0; i < (int)(sizeof(kTrimDefaultCharSet) /
                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
       sizeof(kTrimDefaultCharSet[0])); i++)
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                     
../../../Common/String.h:15:20: note: first ‘sizeof’ operand was declared here
 static const char *kTrimDefaultCharSet  = " \n\t";
                    ^~~~~~~~~~~~~~~~~~~
g++ -O3 -Wall -c  -I ../../../ ../../../Common/CRC.cpp
g++ -O3 -Wall -c  -I ../../../ ../../Common/StreamUtils.cpp
g++ -O3 -Wall -c  -I ../../../ ../../../Common/String.cpp
In file included from ../../../Common/String.h:9,
                 from ../../../Common/String.cpp:11:
../../../Common/Vector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/Vector.h:161:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/Vector.h:164:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/String.cpp:11:
../../../Common/String.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/String.h:417:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/String.h:420:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O3 -Wall -c  -I ../../../ ../../../Common/StringConvert.cpp
In file included from ../../../Common/String.h:9,
                 from ../../../Common/StringConvert.h:7,
                 from ../../../Common/StringConvert.cpp:5:
../../../Common/Vector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/Vector.h:161:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/Vector.h:164:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/StringConvert.h:7,
                 from ../../../Common/StringConvert.cpp:5:
../../../Common/String.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/String.h:417:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/String.h:420:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O3 -Wall -c  -I ../../../ ../../../Common/StringToInt.cpp
g++ -O3 -Wall -c  -I ../../../ ../../../Common/Vector.cpp
In file included from ../../../Common/Vector.cpp:7:
../../../Common/Vector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/Vector.h:161:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/Vector.h:164:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
ar r liblzma.a ZLib.o LZMADecoder.o LZMAEncoder.o LZInWindow.o LZOutWindow.o RangeCoderBit.o InBuffer.o OutBuffer.o FileStreams.o Alloc.o C_FileIO.o CommandLineParser.o CRC.o StreamUtils.o String.o StringConvert.o StringToInt.o Vector.o 
ar: creating liblzma.a
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.0-e2100/lzma/C/7zip/Compress/LZMA_Lib'
g++ mksquashfs.o read_fs.o sort.o -L./lzma/C/7zip/Compress/LZMA_Lib -llzma -o mksquashfs-lzma
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -D_FORTIFY_SOURCE=2  -c -o unsquashfs.o unsquashfs.c
gcc unsquashfs.o -lz -o unsquashfs
make -C ./lzma/C/7zip/Compress/LZMA_Lib
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.0-e2100/lzma/C/7zip/Compress/LZMA_Lib'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.0-e2100/lzma/C/7zip/Compress/LZMA_Lib'
g++ -O3 unsquashfs.o -L./lzma/C/7zip/Compress/LZMA_Lib -llzma -o unsquashfs-lzma
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.0-e2100'
make -C ./squashfs-3.2-r2
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2'
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o mksquashfs.o mksquashfs.c
mksquashfs.c: In function ‘progress_bar’:
mksquashfs.c:1833:3: warning: return’ with no value, in function returning non-void
   return;
   ^~~~~~
mksquashfs.c:1825:5: note: declared here
 int progress_bar(long long current, long long max, int columns)
     ^~~~~~~~~~~~
mksquashfs.c: In function ‘dir_scan’:
mksquashfs.c:2428:2: warning: implicit declaration of function ‘dir_scan2’; did you mean ‘dir_scan’? [-Wimplicit-function-declaration]
  dir_scan2(inode, dir_info);
  ^~~~~~~~~
  dir_scan
mksquashfs.c: In function ‘write_file_blocks’:
mksquashfs.c:1993:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c: In function ‘write_file_blocks_dup’:
mksquashfs.c:2077:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c:2101:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o read_fs.o read_fs.c
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
gcc mksquashfs.o read_fs.o sort.o -lpthread -lz -lm -o mksquashfs
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o unsquashfs.o unsquashfs.c
gcc unsquashfs.o -lz -o unsquashfs
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2'
make -C ./squashfs-3.2-r2-lzma
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma'
make -C /build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma//C/Compress/Lzma -f sqlzma.mk all
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma/C/Compress/Lzma'
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32 -DNDEBUG  -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma -D_FORTIFY_SOURCE=2  -c -o uncomp.o uncomp.c
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32 -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o LzmaDecode.o LzmaDecode.c
ar cr libunlzma.a uncomp.o LzmaDecode.o
ln uncomp.c uncomp_r.c
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32 -DNDEBUG  -D_REENTRANT -include pthread.h -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma -D_FORTIFY_SOURCE=2  -c -o uncomp_r.o uncomp_r.c
ln LzmaDecode.c LzmaDecode_r.c
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32 -DNDEBUG  -D_REENTRANT -include pthread.h -D_FORTIFY_SOURCE=2  -c -o LzmaDecode_r.o LzmaDecode_r.c
ar cr libunlzma_r.a uncomp_r.o LzmaDecode_r.o
rm LzmaDecode_r.c uncomp_r.c
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma/C/Compress/Lzma'
make -C /build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma//CPP/7zip/Compress/LZMA_Alone -f sqlzma.mk all
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma/CPP/7zip/Compress/LZMA_Alone'
g++ -O2 -Wall -c LzmaAlone.cpp
In file included from ../../../Common/MyString.h:9,
                 from ../../../Common/CommandLineParser.h:6,
                 from LzmaAlone.cpp:18:
../../../Common/MyVector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/MyVector.h:204:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/MyVector.h:207:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/CommandLineParser.h:6,
                 from LzmaAlone.cpp:18:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:422:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:425:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O2 -Wall -c LzmaBench.cpp
g++ -O2 -Wall -c LzmaBenchCon.cpp
g++ -O2 -Wall -c LzmaRam.cpp
g++ -O2 -Wall -c ../LZMA/LZMADecoder.cpp
g++ -O2 -Wall -c ../LZMA/LZMAEncoder.cpp
../LZMA/LZMAEncoder.cpp: In member function ‘UInt32 NCompress::NLZMA::CEncoder::GetOptimumFast(UInt32&)’:
../LZMA/LZMAEncoder.cpp:1185:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 2 >= lenMain && (backMain > (1 << 9)) ||
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp:1186:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 3 >= lenMain && (backMain > (1 << 15)))
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp:1202:42: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
       if (_longestMatchLength >= lenMain && newDistance < backMain ||
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp:1205:62: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
           _longestMatchLength + 1 >= lenMain && lenMain >= 3 && ChangePair(newDistance, backMain))
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp: In member function ‘LONG NCompress::NLZMA::CEncoder::CodeOneBlock(UInt64*, UInt64*, Int32*)’:
../LZMA/LZMAEncoder.cpp:1350:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
     UInt32 len, numDistancePairs;
            ^~~
g++ -O2 -Wall -c ../LZ/LZOutWindow.cpp
g++ -O2 -Wall -c ../RangeCoder/RangeCoderBit.cpp
g++ -O2 -Wall -c ../../Common/InBuffer.cpp
g++ -O2 -Wall -c ../../Common/OutBuffer.cpp
g++ -O2 -Wall -c ../../Common/FileStreams.cpp
g++ -O2 -Wall -c ../../Common/StreamUtils.cpp
g++ -O2 -Wall -c ../../../Common/C_FileIO.cpp
g++ -O2 -Wall -c ../../../Common/CommandLineParser.cpp
In file included from ../../../Common/MyString.h:9,
                 from ../../../Common/CommandLineParser.h:6,
                 from ../../../Common/CommandLineParser.cpp:5:
../../../Common/MyVector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/MyVector.h:204:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/MyVector.h:207:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/CommandLineParser.h:6,
                 from ../../../Common/CommandLineParser.cpp:5:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:422:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:425:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O2 -Wall -c ../../../Common/CRC.cpp
g++ -O2 -Wall -c ../../../Common/IntToString.cpp
g++ -O2 -Wall -c ../../../Common/MyString.cpp
In file included from ../../../Common/MyString.h:9,
                 from ../../../Common/MyString.cpp:11:
../../../Common/MyVector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/MyVector.h:204:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/MyVector.h:207:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/MyString.cpp:11:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:422:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:425:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O2 -Wall -c ../../../Common/StringConvert.cpp
In file included from ../../../Common/MyString.h:9,
                 from ../../../Common/StringConvert.h:7,
                 from ../../../Common/StringConvert.cpp:5:
../../../Common/MyVector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/MyVector.h:204:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/MyVector.h:207:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/StringConvert.h:7,
                 from ../../../Common/StringConvert.cpp:5:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:422:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:425:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O2 -Wall -c ../../../Common/StringToInt.cpp
g++ -O2 -Wall -c ../../../Common/MyVector.cpp
In file included from ../../../Common/MyVector.cpp:7:
../../../Common/MyVector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/MyVector.h:204:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/MyVector.h:207:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
gcc -O2 -Wall -c ../../../../C/7zCrc.c
gcc -O2 -Wall -c ../../../../C/Alloc.c
gcc -O2 -Wall -c ../../../../C/Compress/Branch/BranchX86.c
gcc -O2 -Wall -c ../../../../C/Compress/Lz/MatchFinder.c
gcc -O2 -Wall -c ../../../../C/Compress/Lzma/LzmaDecode.c
gcc -O2 -Wall -c LzmaRamDecode.c
g++ -O2 -Wall -o lzma -Wl,-O1,--sort-common,--as-needed,-z,relro LzmaAlone.o LzmaBench.o LzmaBenchCon.o LzmaRam.o LZMADecoder.o LZMAEncoder.o LZOutWindow.o RangeCoderBit.o InBuffer.o OutBuffer.o FileStreams.o StreamUtils.o C_FileIO.o CommandLineParser.o CRC.o IntToString.o MyString.o StringConvert.o StringToInt.o MyVector.o 7zCrc.o Alloc.o BranchX86.o MatchFinder.o LzmaDecode.o LzmaRamDecode.o  -lm 
ln ../LZMA/LZMAEncoder.cpp LZMAEncoder_r.cc
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I../LZMA -D_FORTIFY_SOURCE=2  -c -o LZMAEncoder_r.o LZMAEncoder_r.cc
LZMAEncoder_r.cc: In member function ‘UInt32 NCompress::NLZMA::CEncoder::GetOptimumFast(UInt32&)’:
LZMAEncoder_r.cc:1185:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 2 >= lenMain && (backMain > (1 << 9)) ||
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
LZMAEncoder_r.cc:1186:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 3 >= lenMain && (backMain > (1 << 15)))
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
LZMAEncoder_r.cc:1202:42: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
       if (_longestMatchLength >= lenMain && newDistance < backMain ||
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
LZMAEncoder_r.cc:1205:62: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
           _longestMatchLength + 1 >= lenMain && lenMain >= 3 && ChangePair(newDistance, backMain))
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZMAEncoder_r.cc: In member function ‘LONG NCompress::NLZMA::CEncoder::CodeOneBlock(UInt64*, UInt64*, Int32*)’:
LZMAEncoder_r.cc:1350:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
     UInt32 len, numDistancePairs;
            ^~~
ln ../../../../C/Alloc.c Alloc_r.c
cc -c -I../../../../C -D_FORTIFY_SOURCE=2  -c -o Alloc_r.o Alloc_r.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from Alloc_r.c:6:
/usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
ln ../../Common/StreamUtils.cpp StreamUtils_r.cc
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I../../Common -D_FORTIFY_SOURCE=2  -c -o StreamUtils_r.o StreamUtils_r.cc
ln ../../../../C/Compress/Lz/MatchFinder.c MatchFinder_r.c
cc -c -I../../../../C/Compress/Lz -D_FORTIFY_SOURCE=2  -c -o MatchFinder_r.o MatchFinder_r.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from MatchFinder_r.c:4:
/usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
ln ../RangeCoder/RangeCoderBit.cpp RangeCoderBit_r.cc
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I../RangeCoder -D_FORTIFY_SOURCE=2  -c -o RangeCoderBit_r.o RangeCoderBit_r.cc
ln ../../Common/OutBuffer.cpp OutBuffer_r.cc
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I../../Common -D_FORTIFY_SOURCE=2  -c -o OutBuffer_r.o OutBuffer_r.cc
ln ../../../../C/7zCrc.c 7zCrc_r.c
cc -c -I../../../../C -D_FORTIFY_SOURCE=2  -c -o 7zCrc_r.o 7zCrc_r.c
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma -D_FORTIFY_SOURCE=2  -c -o comp.o comp.cc
In file included from ../../../Common/MyString.h:9,
                 from ../../../Common/StringConvert.h:7,
                 from comp.cc:20:
../../../Common/MyVector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/MyVector.h:204:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/MyVector.h:207:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/StringConvert.h:7,
                 from comp.cc:20:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:422:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:425:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
comp.cc: In function ‘int LzmaCompress(Bytef*, uInt, Bytef*, uInt, sqlzma_opts*, uLong*)’:
comp.cc:125:2: warning: narrowing conversion of ‘avail_in’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
  };
  ^
comp.cc:123:22: warning: narrowing conversion of ‘(avail_in >> 8)’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
   avail_in, avail_in >> 8, avail_in >> 16, avail_in >> 24,
             ~~~~~~~~~^~~~
comp.cc:123:37: warning: narrowing conversion of ‘(avail_in >> 16)’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
   avail_in, avail_in >> 8, avail_in >> 16, avail_in >> 24,
                            ~~~~~~~~~^~~~~
comp.cc:123:53: warning: narrowing conversion of ‘(avail_in >> 24)’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
   avail_in, avail_in >> 8, avail_in >> 16, avail_in >> 24,
                                            ~~~~~~~~~^~~~~
ar cr liblzma_r.a LZMAEncoder_r.o Alloc_r.o StreamUtils_r.o MatchFinder_r.o RangeCoderBit_r.o OutBuffer_r.o 7zCrc_r.o comp.o
rm OutBuffer_r.cc StreamUtils_r.cc Alloc_r.c RangeCoderBit_r.cc MatchFinder_r.c LZMAEncoder_r.cc 7zCrc_r.c
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma/CPP/7zip/Compress/LZMA_Alone'
make -C /build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma/squashfs3.2-r2/squashfs-tools all
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma/squashfs3.2-r2/squashfs-tools'
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma -D_REENTRANT -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o mksquashfs.o mksquashfs.c
mksquashfs.c: In function ‘write_file_blocks’:
mksquashfs.c:1991:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c: In function ‘write_file_blocks_dup’:
mksquashfs.c:2075:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c:2099:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma -D_REENTRANT -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o read_fs.o read_fs.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma -D_REENTRANT -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
cc -Wl,-O1,--sort-common,--as-needed,-z,relro  mksquashfs.o read_fs.o sort.o  -lz -lm -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma//CPP/7zip/Compress/LZMA_Alone -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma//C/Compress/Lzma -lpthread -lunlzma_r -llzma_r -lstdc++ -o mksquashfs
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma -D_REENTRANT -DNDEBUG  -U_REENTRANT -D_FORTIFY_SOURCE=2  -c -o unsquashfs.o unsquashfs.c
cc unsquashfs.o -o unsquashfs -lz -lm -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma//CPP/7zip/Compress/LZMA_Alone -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma//C/Compress/Lzma -lunlzma -lz
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma/squashfs3.2-r2/squashfs-tools'
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-lzma'
make -C ./squashfs-3.2-r2-hg612-lzma
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma'
make -C /build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma/lzma443/C/7zip/Compress/LZMA_C -f sqlzma.mk all
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma/lzma443/C/7zip/Compress/LZMA_C'
gcc  -c -O2 -Wall -pedantic -D _LZMA_PROB32  -DNDEBUG  LzmaTest.c
gcc  -c -O2 -Wall -pedantic -D _LZMA_PROB32  -DNDEBUG  LzmaDecode.c
gcc  -o lzmadec -Wl,-O1,--sort-common,--as-needed,-z,relro LzmaTest.o LzmaDecode.o  
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32  -DNDEBUG  -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma -D_FORTIFY_SOURCE=2  -c -o uncomp.o uncomp.c
ar cr libunlzma.a uncomp.o LzmaDecode.o
ln uncomp.c uncomp_r.c
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32  -DNDEBUG  -D_REENTRANT -include pthread.h -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma -D_FORTIFY_SOURCE=2  -c -o uncomp_r.o uncomp_r.c
ln LzmaDecode.c LzmaDecode_r.c
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32  -DNDEBUG  -D_REENTRANT -include pthread.h -D_FORTIFY_SOURCE=2  -c -o LzmaDecode_r.o LzmaDecode_r.c
ar cr libunlzma_r.a uncomp_r.o LzmaDecode_r.o
rm LzmaDecode_r.c uncomp_r.c
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma/lzma443/C/7zip/Compress/LZMA_C'
make -C /build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma/lzma443/C/7zip/Compress/LZMA_Alone -f sqlzma.mk all
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma/lzma443/C/7zip/Compress/LZMA_Alone'
g++ -O2 -Wall -c -I ../../../ LzmaAlone.cpp
In file included from ../../../Common/String.h:9,
                 from ../../../Common/CommandLineParser.h:6,
                 from LzmaAlone.cpp:18:
../../../Common/Vector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/Vector.h:178:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/Vector.h:181:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/CommandLineParser.h:6,
                 from LzmaAlone.cpp:18:
../../../Common/String.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/String.h:417:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/String.h:420:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
LzmaAlone.cpp: In function ‘int main2(int, const char**)’:
LzmaAlone.cpp:371:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     if (matchFinderCyclesDefined = parser[NKey::kMatchFinderCycles].ThereIs)
         ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -O2 -Wall -c -I ../../../ LzmaBench.cpp
In file included from ../LZMA/LZMADecoder.h:6,
                 from LzmaBench.cpp:12:
LzmaBench.cpp: In member function ‘virtual ULONG CBenchmarkInStream::Release()’:
../LZMA/../../../Common/MyCom.h:160:31: warning: deleting object of polymorphic class type ‘CBenchmarkInStream’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
   return __m_RefCount; delete this; return 0; }
                               ^~~~
../LZMA/../../../Common/MyCom.h:171:3: note: in expansion of macro ‘MY_ADDREF_RELEASEMY_ADDREF_RELEASE
   ^~~~~~~~~~~~~~~~~
LzmaBench.cpp:152:3: note: in expansion of macro ‘MY_UNKNOWN_IMPMY_UNKNOWN_IMP
   ^~~~~~~~~~~~~~
LzmaBench.cpp: In member function ‘virtual ULONG CCrcOutStream::Release()’:
../LZMA/../../../Common/MyCom.h:160:31: warning: deleting object of polymorphic class type ‘CCrcOutStream’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
   return __m_RefCount; delete this; return 0; }
                               ^~~~
../LZMA/../../../Common/MyCom.h:171:3: note: in expansion of macro ‘MY_ADDREF_RELEASEMY_ADDREF_RELEASE
   ^~~~~~~~~~~~~~~~~
LzmaBench.cpp:220:3: note: in expansion of macro ‘MY_UNKNOWN_IMPMY_UNKNOWN_IMP
   ^~~~~~~~~~~~~~
LzmaBench.cpp: In member function ‘virtual ULONG CProgressInfo::Release()’:
../LZMA/../../../Common/MyCom.h:160:31: warning: deleting object of polymorphic class type ‘CProgressInfo’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
   return __m_RefCount; delete this; return 0; }
                               ^~~~
../LZMA/../../../Common/MyCom.h:171:3: note: in expansion of macro ‘MY_ADDREF_RELEASEMY_ADDREF_RELEASE
   ^~~~~~~~~~~~~~~~~
LzmaBench.cpp:269:3: note: in expansion of macro ‘MY_UNKNOWN_IMPMY_UNKNOWN_IMP
   ^~~~~~~~~~~~~~
g++ -O2 -Wall -c -I ../../../ LzmaRam.cpp
In file included from ../LZMA/LZMADecoder.h:6,
                 from LzmaRam.cpp:5:
LzmaRam.cpp: In member function ‘virtual ULONG CInStreamRam::Release()’:
../LZMA/../../../Common/MyCom.h:160:31: warning: deleting object of polymorphic class type ‘CInStreamRam’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
   return __m_RefCount; delete this; return 0; }
                               ^~~~
../LZMA/../../../Common/MyCom.h:171:3: note: in expansion of macro ‘MY_ADDREF_RELEASEMY_ADDREF_RELEASE
   ^~~~~~~~~~~~~~~~~
LzmaRam.cpp:22:3: note: in expansion of macro ‘MY_UNKNOWN_IMPMY_UNKNOWN_IMP
   ^~~~~~~~~~~~~~
LzmaRam.cpp: In member function ‘virtual ULONG COutStreamRam::Release()’:
../LZMA/../../../Common/MyCom.h:160:31: warning: deleting object of polymorphic class type ‘COutStreamRam’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
   return __m_RefCount; delete this; return 0; }
                               ^~~~
../LZMA/../../../Common/MyCom.h:171:3: note: in expansion of macro ‘MY_ADDREF_RELEASEMY_ADDREF_RELEASE
   ^~~~~~~~~~~~~~~~~
LzmaRam.cpp:66:3: note: in expansion of macro ‘MY_UNKNOWN_IMPMY_UNKNOWN_IMP
   ^~~~~~~~~~~~~~
gcc -O2 -Wall -c -I ../../../ LzmaRamDecode.c
gcc -O2 -Wall -c -I ../../../ ../LZMA_C/LzmaDecode.c
gcc -O2 -Wall -c -I ../../../ ../Branch/BranchX86.c
g++ -O2 -Wall -c -I ../../../ ../LZMA/LZMADecoder.cpp
../LZMA/LZMADecoder.cpp: In member function ‘virtual LONG NCompress::NLZMA::CDecoder::SetOutStreamSize(const UInt64*)’:
../LZMA/LZMADecoder.cpp:312:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if (_outSizeDefined = (outSize != NULL))
       ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
g++ -O2 -Wall -c -I ../../../ ../LZMA/LZMAEncoder.cpp
../LZMA/LZMAEncoder.cpp: In member function ‘LONG NCompress::NLZMA::CEncoder::GetOptimumFast(UInt32, UInt32&, UInt32&)’:
../LZMA/LZMAEncoder.cpp:1207:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 2 >= lenMain && (backMain > (1 << 9)) ||
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp:1208:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 3 >= lenMain && (backMain > (1 << 15)))
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp:1222:42: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
       if (_longestMatchLength >= lenMain && newDistance < backMain ||
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp:1225:62: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
           _longestMatchLength + 1 >= lenMain && lenMain >= 3 && ChangePair(newDistance, backMain))
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -O2 -Wall -c -I ../../../ ../LZ/LZInWindow.cpp
g++ -O2 -Wall -c -I ../../../ ../LZ/LZOutWindow.cpp
g++ -O2 -Wall -c -I ../../../ ../RangeCoder/RangeCoderBit.cpp
g++ -O2 -Wall -c -I ../../../ ../../Common/InBuffer.cpp
g++ -O2 -Wall -c -I ../../../ ../../Common/OutBuffer.cpp
g++ -O2 -Wall -c -I ../../../ ../../Common/FileStreams.cpp
g++ -O2 -Wall -c -I ../../../ ../../Common/StreamUtils.cpp
g++ -O2 -Wall -c -I ../../../ ../../../Common/Alloc.cpp
g++ -O2 -Wall -c -I ../../../ ../../../Common/C_FileIO.cpp
g++ -O2 -Wall -c -I ../../../ ../../../Common/CommandLineParser.cpp
In file included from ../../../Common/String.h:9,
                 from ../../../Common/CommandLineParser.h:6,
                 from ../../../Common/CommandLineParser.cpp:5:
../../../Common/Vector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/Vector.h:178:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/Vector.h:181:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/CommandLineParser.h:6,
                 from ../../../Common/CommandLineParser.cpp:5:
../../../Common/String.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/String.h:417:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/String.h:420:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
../../../Common/String.h: In instantiation of ‘CStringBase<T> CStringBase<T>::GetTrimDefaultCharSet() [with T = wchar_t]’:
../../../Common/String.h:447:26:   required from ‘void CStringBase<T>::TrimRight() [with T = wchar_t]../../../Common/String.h:472:5:   required from ‘void CStringBase<T>::Trim() [with T = wchar_t]../../../Common/CommandLineParser.cpp:34:14:   required from here
../../../Common/String.h:434:58: warning: division ‘sizeof (const char*) / sizeof (const char)’ does not compute the number of array elements [-Wsizeof-pointer-div]
     for(int i = 0; i < (int)(sizeof(kTrimDefaultCharSet) /
                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
       sizeof(kTrimDefaultCharSet[0])); i++)
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                     
../../../Common/String.h:15:20: note: first ‘sizeof’ operand was declared here
 static const char *kTrimDefaultCharSet  = " \n\t";
                    ^~~~~~~~~~~~~~~~~~~
g++ -O2 -Wall -c -I ../../../ ../../../Common/CRC.cpp
g++ -O2 -Wall -c -I ../../../ ../../../Common/String.cpp
In file included from ../../../Common/String.h:9,
                 from ../../../Common/String.cpp:11:
../../../Common/Vector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/Vector.h:178:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/Vector.h:181:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/String.cpp:11:
../../../Common/String.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/String.h:417:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/String.h:420:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O2 -Wall -c -I ../../../ ../../../Common/StringConvert.cpp
In file included from ../../../Common/String.h:9,
                 from ../../../Common/StringConvert.h:7,
                 from ../../../Common/StringConvert.cpp:5:
../../../Common/Vector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/Vector.h:178:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/Vector.h:181:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/StringConvert.h:7,
                 from ../../../Common/StringConvert.cpp:5:
../../../Common/String.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/String.h:417:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/String.h:420:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O2 -Wall -c -I ../../../ ../../../Common/StringToInt.cpp
g++ -O2 -Wall -c -I ../../../ ../../../Common/Vector.cpp
In file included from ../../../Common/Vector.cpp:7:
../../../Common/Vector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/Vector.h:178:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/Vector.h:181:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O2 -Wall -o lzma -Wl,-O1,--sort-common,--as-needed,-z,relro LzmaAlone.o LzmaBench.o LzmaRam.o LzmaRamDecode.o LzmaDecode.o BranchX86.o LZMADecoder.o LZMAEncoder.o LZInWindow.o LZOutWindow.o RangeCoderBit.o InBuffer.o OutBuffer.o FileStreams.o StreamUtils.o Alloc.o C_FileIO.o CommandLineParser.o CRC.o String.o StringConvert.o StringToInt.o Vector.o  -lm
ln ../LZMA/LZMAEncoder.cpp LZMAEncoder_r.cc
g++ -O2 -Wall -c -I ../../../ -D_REENTRANT -include pthread.h -DNDEBUG  -I../LZMA -D_FORTIFY_SOURCE=2  -c -o LZMAEncoder_r.o LZMAEncoder_r.cc
LZMAEncoder_r.cc: In member function ‘LONG NCompress::NLZMA::CEncoder::GetOptimumFast(UInt32, UInt32&, UInt32&)’:
LZMAEncoder_r.cc:1207:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 2 >= lenMain && (backMain > (1 << 9)) ||
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
LZMAEncoder_r.cc:1208:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 3 >= lenMain && (backMain > (1 << 15)))
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
LZMAEncoder_r.cc:1222:42: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
       if (_longestMatchLength >= lenMain && newDistance < backMain ||
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
LZMAEncoder_r.cc:1225:62: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
           _longestMatchLength + 1 >= lenMain && lenMain >= 3 && ChangePair(newDistance, backMain))
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ln ../../../Common/Alloc.cpp Alloc_r.cc
g++ -O2 -Wall -c -I ../../../ -D_REENTRANT -include pthread.h -DNDEBUG  -I../../../Common -D_FORTIFY_SOURCE=2  -c -o Alloc_r.o Alloc_r.cc
ln ../LZ/LZInWindow.cpp LZInWindow_r.cc
g++ -O2 -Wall -c -I ../../../ -D_REENTRANT -include pthread.h -DNDEBUG  -I../LZ -D_FORTIFY_SOURCE=2  -c -o LZInWindow_r.o LZInWindow_r.cc
ln ../../../Common/CRC.cpp CRC_r.cc
g++ -O2 -Wall -c -I ../../../ -D_REENTRANT -include pthread.h -DNDEBUG  -I../../../Common -D_FORTIFY_SOURCE=2  -c -o CRC_r.o CRC_r.cc
ln ../../Common/StreamUtils.cpp StreamUtils_r.cc
g++ -O2 -Wall -c -I ../../../ -D_REENTRANT -include pthread.h -DNDEBUG  -I../../Common -D_FORTIFY_SOURCE=2  -c -o StreamUtils_r.o StreamUtils_r.cc
ln ../../Common/OutBuffer.cpp OutBuffer_r.cc
g++ -O2 -Wall -c -I ../../../ -D_REENTRANT -include pthread.h -DNDEBUG  -I../../Common -D_FORTIFY_SOURCE=2  -c -o OutBuffer_r.o OutBuffer_r.cc
ln ../RangeCoder/RangeCoderBit.cpp RangeCoderBit_r.cc
g++ -O2 -Wall -c -I ../../../ -D_REENTRANT -include pthread.h -DNDEBUG  -I../RangeCoder -D_FORTIFY_SOURCE=2  -c -o RangeCoderBit_r.o RangeCoderBit_r.cc
g++ -O2 -Wall -c -I ../../../ -D_REENTRANT -include pthread.h -DNDEBUG  -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma -D_FORTIFY_SOURCE=2  -c -o comp.o comp.cc
In file included from ../../../Common/String.h:9,
                 from ../../../Common/StringConvert.h:7,
                 from comp.cc:20:
../../../Common/Vector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/Vector.h:178:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/Vector.h:181:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/StringConvert.h:7,
                 from comp.cc:20:
../../../Common/String.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/String.h:417:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/String.h:420:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
comp.cc: In function ‘int LzmaCompress(Bytef*, uInt, Bytef*, uInt, uLong*)’:
comp.cc:123:2: warning: narrowing conversion of ‘avail_in’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
  };
  ^
comp.cc:121:22: warning: narrowing conversion of ‘(avail_in >> 8)’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
   avail_in, avail_in >> 8, avail_in >> 16, avail_in >> 24,
             ~~~~~~~~~^~~~
comp.cc:121:37: warning: narrowing conversion of ‘(avail_in >> 16)’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
   avail_in, avail_in >> 8, avail_in >> 16, avail_in >> 24,
                            ~~~~~~~~~^~~~~
comp.cc:121:53: warning: narrowing conversion of ‘(avail_in >> 24)’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
   avail_in, avail_in >> 8, avail_in >> 16, avail_in >> 24,
                                            ~~~~~~~~~^~~~~
ar cr liblzma_r.a LZMAEncoder_r.o Alloc_r.o LZInWindow_r.o CRC_r.o StreamUtils_r.o OutBuffer_r.o RangeCoderBit_r.o comp.o
rm LZInWindow_r.cc CRC_r.cc Alloc_r.cc OutBuffer_r.cc StreamUtils_r.cc RangeCoderBit_r.cc LZMAEncoder_r.cc
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma/lzma443/C/7zip/Compress/LZMA_Alone'
make -C /build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma/squashfs3.2-r2/squashfs-tools all
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma/squashfs3.2-r2/squashfs-tools'
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma -D_REENTRANT -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o mksquashfs.o mksquashfs.c
mksquashfs.c: In function ‘write_file_blocks’:
mksquashfs.c:1987:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c: In function ‘write_file_blocks_dup’:
mksquashfs.c:2071:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c:2095:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma -D_REENTRANT -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o read_fs.o read_fs.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma -D_REENTRANT -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
cc -Wl,-O1,--sort-common,--as-needed,-z,relro  mksquashfs.o read_fs.o sort.o  -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma/lzma443/C/7zip/Compress/LZMA_Alone -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma/lzma443/C/7zip/Compress/LZMA_C -lpthread -lm -lunlzma_r -llzma_r -lstdc++ -lz -o mksquashfs
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma -D_REENTRANT -DNDEBUG  -U_REENTRANT -D_FORTIFY_SOURCE=2  -c -o unsquashfs.o unsquashfs.c
cc -Wl,-O1,--sort-common,--as-needed,-z,relro  unsquashfs.o  -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma/lzma443/C/7zip/Compress/LZMA_Alone -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma/lzma443/C/7zip/Compress/LZMA_C -lunlzma -lz -o unsquashfs
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma/squashfs3.2-r2/squashfs-tools'
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-hg612-lzma'
make -C ./squashfs-3.2-r2-wnr1000
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-wnr1000'
gcc -I./lzma_src/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o mksquashfs.o mksquashfs.c
mksquashfs.c: In function ‘write_file_blocks’:
mksquashfs.c:2015:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c: In function ‘write_file_blocks_dup’:
mksquashfs.c:2099:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c:2123:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
gcc -I./lzma_src/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o read_fs.o read_fs.c
gcc -I./lzma_src/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
gcc -I./lzma_src/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o sqlzma.o sqlzma.c
sqlzma.c: In function ‘LzmaUncompress’:
sqlzma.c:38:24: warning: passing argument 2 of ‘LzmaDecode’ from incompatible pointer type [-Wincompatible-pointer-types]
  res = LzmaDecode(dst, dstlen, src + LZMA_PROPS_SIZE, &inSizePure,
                        ^~~~~~
In file included from sqlzma.c:18:
./lzma_src/C/LzmaDec.h:219:36: note: expected ‘SizeT *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’
 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
                             ~~~~~~~^~~~~~~
gcc -c -I./lzma_src/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2 lzma_src/C/LzmaEnc.c -o LzmaEnc.o
gcc -c -I./lzma_src/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2 lzma_src/C/LzFind.c -o LzFind.o
gcc -c -I./lzma_src/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2 lzma_src/C/LzmaDec.c -o LzmaDec.o
gcc mksquashfs.o read_fs.o sort.o sqlzma.o LzmaEnc.o LzFind.o LzmaDec.o -lz -lpthread -lm -lstdc++ -o mksquashfs
gcc -I./lzma_src/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o unsquashfs.o unsquashfs.c
gcc unsquashfs.o  sqlzma.o LzmaEnc.o LzFind.o LzmaDec.o -lz -lpthread -lm -o unsquashfs
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-wnr1000'
make -C ./squashfs-3.2-r2-rtn12
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-rtn12'
gcc -I./include -I. -I./lzma_src/C -I/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o mksquashfs.o mksquashfs.c
mksquashfs.c: In function ‘write_file_blocks’:
mksquashfs.c:2016:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c: In function ‘write_file_blocks_dup’:
mksquashfs.c:2100:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c:2124:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
gcc -I./include -I. -I./lzma_src/C -I/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o read_fs.o read_fs.c
gcc -I./include -I. -I./lzma_src/C -I/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
gcc -I./include -I. -I./lzma_src/C -I/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o sqlzma.o sqlzma.c
sqlzma.c: In function ‘LzmaUncompress’:
sqlzma.c:38:24: warning: passing argument 2 of ‘LzmaDecode’ from incompatible pointer type [-Wincompatible-pointer-types]
  res = LzmaDecode(dst, dstlen, src + LZMA_PROPS_SIZE, &inSizePure,
                        ^~~~~~
In file included from sqlzma.c:18:
./lzma_src/C/LzmaDec.h:219:36: note: expected ‘SizeT *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’
 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
                             ~~~~~~~^~~~~~~
gcc -c -I./include -I. -I./lzma_src/C -I/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2 lzma_src/C/LzmaEnc.c -o LzmaEnc.o
gcc -c -I./include -I. -I./lzma_src/C -I/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2 lzma_src/C/LzFind.c -o LzFind.o
gcc -c -I./include -I. -I./lzma_src/C -I/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2 lzma_src/C/LzmaDec.c -o LzmaDec.o
gcc mksquashfs.o read_fs.o sort.o sqlzma.o LzmaEnc.o LzFind.o LzmaDec.o -lz -lpthread -lm -lstdc++ -o mksquashfs
gcc -I./include -I. -I./lzma_src/C -I/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o unsquashfs.o unsquashfs.c
gcc unsquashfs.o  sqlzma.o LzmaEnc.o LzFind.o LzmaDec.o -lz -lpthread -lm -o unsquashfs
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.2-r2-rtn12'
make -C ./squashfs-3.3
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3'
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o mksquashfs.o mksquashfs.c
mksquashfs.c: In function ‘progress_bar’:
mksquashfs.c:1930:3: warning: return’ with no value, in function returning non-void
   return;
   ^~~~~~
mksquashfs.c:1922:5: note: declared here
 int progress_bar(long long current, long long max, int columns)
     ^~~~~~~~~~~~
mksquashfs.c: In function ‘write_file_blocks’:
mksquashfs.c:2106:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c: In function ‘write_file_blocks_dup’:
mksquashfs.c:2201:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c:2228:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o read_fs.o read_fs.c
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
sort.c:77:8: warning: type defaults to ‘int’ in declaration of ‘write_file’ [-Wimplicit-int]
 extern write_file(squashfs_inode *inode, struct dir_ent *dir_ent, int *c_size);
        ^~~~~~~~~~
gcc mksquashfs.o read_fs.o sort.o -lpthread -lz -lm -o mksquashfs
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o unsquashfs.o unsquashfs.c
gcc unsquashfs.o -lz -o unsquashfs
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3'
make -C ./squashfs-3.3-lzma
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma'
make -C /build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma//C/Compress/Lzma -f sqlzma.mk all
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma/C/Compress/Lzma'
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32 -DNDEBUG  -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma -D_FORTIFY_SOURCE=2  -c -o uncomp.o uncomp.c
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32 -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o LzmaDecode.o LzmaDecode.c
ar cr libunlzma.a uncomp.o LzmaDecode.o
ln uncomp.c uncomp_r.c
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32 -DNDEBUG  -D_REENTRANT -include pthread.h -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma -D_FORTIFY_SOURCE=2  -c -o uncomp_r.o uncomp_r.c
ln LzmaDecode.c LzmaDecode_r.c
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32 -DNDEBUG  -D_REENTRANT -include pthread.h -D_FORTIFY_SOURCE=2  -c -o LzmaDecode_r.o LzmaDecode_r.c
ar cr libunlzma_r.a uncomp_r.o LzmaDecode_r.o
rm LzmaDecode_r.c uncomp_r.c
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma/C/Compress/Lzma'
make -C /build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma//CPP/7zip/Compress/LZMA_Alone -f sqlzma.mk all
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma/CPP/7zip/Compress/LZMA_Alone'
g++ -O2 -Wall -c LzmaAlone.cpp
In file included from ../../../Common/MyString.h:9,
                 from ../../../Common/CommandLineParser.h:6,
                 from LzmaAlone.cpp:18:
../../../Common/MyVector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/MyVector.h:204:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/MyVector.h:207:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/CommandLineParser.h:6,
                 from LzmaAlone.cpp:18:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:422:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:425:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O2 -Wall -c LzmaBench.cpp
g++ -O2 -Wall -c LzmaBenchCon.cpp
g++ -O2 -Wall -c LzmaRam.cpp
g++ -O2 -Wall -c ../LZMA/LZMADecoder.cpp
g++ -O2 -Wall -c ../LZMA/LZMAEncoder.cpp
../LZMA/LZMAEncoder.cpp: In member function ‘UInt32 NCompress::NLZMA::CEncoder::GetOptimumFast(UInt32&)’:
../LZMA/LZMAEncoder.cpp:1185:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 2 >= lenMain && (backMain > (1 << 9)) ||
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp:1186:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 3 >= lenMain && (backMain > (1 << 15)))
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp:1202:42: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
       if (_longestMatchLength >= lenMain && newDistance < backMain ||
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp:1205:62: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
           _longestMatchLength + 1 >= lenMain && lenMain >= 3 && ChangePair(newDistance, backMain))
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp: In member function ‘LONG NCompress::NLZMA::CEncoder::CodeOneBlock(UInt64*, UInt64*, Int32*)’:
../LZMA/LZMAEncoder.cpp:1350:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
     UInt32 len, numDistancePairs;
            ^~~
g++ -O2 -Wall -c ../LZ/LZOutWindow.cpp
g++ -O2 -Wall -c ../RangeCoder/RangeCoderBit.cpp
g++ -O2 -Wall -c ../../Common/InBuffer.cpp
g++ -O2 -Wall -c ../../Common/OutBuffer.cpp
g++ -O2 -Wall -c ../../Common/FileStreams.cpp
g++ -O2 -Wall -c ../../Common/StreamUtils.cpp
g++ -O2 -Wall -c ../../../Common/C_FileIO.cpp
g++ -O2 -Wall -c ../../../Common/CommandLineParser.cpp
In file included from ../../../Common/MyString.h:9,
                 from ../../../Common/CommandLineParser.h:6,
                 from ../../../Common/CommandLineParser.cpp:5:
../../../Common/MyVector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/MyVector.h:204:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/MyVector.h:207:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/CommandLineParser.h:6,
                 from ../../../Common/CommandLineParser.cpp:5:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:422:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:425:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O2 -Wall -c ../../../Common/CRC.cpp
g++ -O2 -Wall -c ../../../Common/IntToString.cpp
g++ -O2 -Wall -c ../../../Common/MyString.cpp
In file included from ../../../Common/MyString.h:9,
                 from ../../../Common/MyString.cpp:11:
../../../Common/MyVector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/MyVector.h:204:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/MyVector.h:207:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/MyString.cpp:11:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:422:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:425:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O2 -Wall -c ../../../Common/StringConvert.cpp
In file included from ../../../Common/MyString.h:9,
                 from ../../../Common/StringConvert.h:7,
                 from ../../../Common/StringConvert.cpp:5:
../../../Common/MyVector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/MyVector.h:204:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/MyVector.h:207:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/StringConvert.h:7,
                 from ../../../Common/StringConvert.cpp:5:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:422:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:425:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O2 -Wall -c ../../../Common/StringToInt.cpp
g++ -O2 -Wall -c ../../../Common/MyVector.cpp
In file included from ../../../Common/MyVector.cpp:7:
../../../Common/MyVector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/MyVector.h:204:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/MyVector.h:207:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
gcc -O2 -Wall -c ../../../../C/7zCrc.c
gcc -O2 -Wall -c ../../../../C/Alloc.c
gcc -O2 -Wall -c ../../../../C/Compress/Branch/BranchX86.c
gcc -O2 -Wall -c ../../../../C/Compress/Lz/MatchFinder.c
gcc -O2 -Wall -c ../../../../C/Compress/Lzma/LzmaDecode.c
gcc -O2 -Wall -c LzmaRamDecode.c
g++ -O2 -Wall -o lzma -Wl,-O1,--sort-common,--as-needed,-z,relro LzmaAlone.o LzmaBench.o LzmaBenchCon.o LzmaRam.o LZMADecoder.o LZMAEncoder.o LZOutWindow.o RangeCoderBit.o InBuffer.o OutBuffer.o FileStreams.o StreamUtils.o C_FileIO.o CommandLineParser.o CRC.o IntToString.o MyString.o StringConvert.o StringToInt.o MyVector.o 7zCrc.o Alloc.o BranchX86.o MatchFinder.o LzmaDecode.o LzmaRamDecode.o  -lm 
ln ../LZMA/LZMAEncoder.cpp LZMAEncoder_r.cc
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I../LZMA -D_FORTIFY_SOURCE=2  -c -o LZMAEncoder_r.o LZMAEncoder_r.cc
LZMAEncoder_r.cc: In member function ‘UInt32 NCompress::NLZMA::CEncoder::GetOptimumFast(UInt32&)’:
LZMAEncoder_r.cc:1185:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 2 >= lenMain && (backMain > (1 << 9)) ||
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
LZMAEncoder_r.cc:1186:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 3 >= lenMain && (backMain > (1 << 15)))
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
LZMAEncoder_r.cc:1202:42: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
       if (_longestMatchLength >= lenMain && newDistance < backMain ||
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
LZMAEncoder_r.cc:1205:62: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
           _longestMatchLength + 1 >= lenMain && lenMain >= 3 && ChangePair(newDistance, backMain))
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZMAEncoder_r.cc: In member function ‘LONG NCompress::NLZMA::CEncoder::CodeOneBlock(UInt64*, UInt64*, Int32*)’:
LZMAEncoder_r.cc:1350:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
     UInt32 len, numDistancePairs;
            ^~~
ln ../../../../C/Alloc.c Alloc_r.c
cc -c -I../../../../C -D_FORTIFY_SOURCE=2  -c -o Alloc_r.o Alloc_r.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from Alloc_r.c:6:
/usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
ln ../../Common/StreamUtils.cpp StreamUtils_r.cc
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I../../Common -D_FORTIFY_SOURCE=2  -c -o StreamUtils_r.o StreamUtils_r.cc
ln ../../../../C/Compress/Lz/MatchFinder.c MatchFinder_r.c
cc -c -I../../../../C/Compress/Lz -D_FORTIFY_SOURCE=2  -c -o MatchFinder_r.o MatchFinder_r.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from MatchFinder_r.c:4:
/usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
ln ../RangeCoder/RangeCoderBit.cpp RangeCoderBit_r.cc
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I../RangeCoder -D_FORTIFY_SOURCE=2  -c -o RangeCoderBit_r.o RangeCoderBit_r.cc
ln ../../Common/OutBuffer.cpp OutBuffer_r.cc
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I../../Common -D_FORTIFY_SOURCE=2  -c -o OutBuffer_r.o OutBuffer_r.cc
ln ../../../../C/7zCrc.c 7zCrc_r.c
cc -c -I../../../../C -D_FORTIFY_SOURCE=2  -c -o 7zCrc_r.o 7zCrc_r.c
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma -D_FORTIFY_SOURCE=2  -c -o comp.o comp.cc
In file included from ../../../Common/MyString.h:9,
                 from ../../../Common/StringConvert.h:7,
                 from comp.cc:20:
../../../Common/MyVector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/MyVector.h:204:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/MyVector.h:207:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/StringConvert.h:7,
                 from comp.cc:20:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:422:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:425:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
comp.cc: In function ‘int LzmaCompress(Bytef*, uInt, Bytef*, uInt, sqlzma_opts*, uLong*)’:
comp.cc:125:2: warning: narrowing conversion of ‘avail_in’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
  };
  ^
comp.cc:123:22: warning: narrowing conversion of ‘(avail_in >> 8)’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
   avail_in, avail_in >> 8, avail_in >> 16, avail_in >> 24,
             ~~~~~~~~~^~~~
comp.cc:123:37: warning: narrowing conversion of ‘(avail_in >> 16)’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
   avail_in, avail_in >> 8, avail_in >> 16, avail_in >> 24,
                            ~~~~~~~~~^~~~~
comp.cc:123:53: warning: narrowing conversion of ‘(avail_in >> 24)’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
   avail_in, avail_in >> 8, avail_in >> 16, avail_in >> 24,
                                            ~~~~~~~~~^~~~~
ar cr liblzma_r.a LZMAEncoder_r.o Alloc_r.o StreamUtils_r.o MatchFinder_r.o RangeCoderBit_r.o OutBuffer_r.o 7zCrc_r.o comp.o
rm OutBuffer_r.cc StreamUtils_r.cc Alloc_r.c RangeCoderBit_r.cc MatchFinder_r.c LZMAEncoder_r.cc 7zCrc_r.c
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma/CPP/7zip/Compress/LZMA_Alone'
make -C /build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma/squashfs3.3/squashfs-tools all
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma/squashfs3.3/squashfs-tools'
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma -D_REENTRANT -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o mksquashfs.o mksquashfs.c
mksquashfs.c: In function ‘write_file_blocks’:
mksquashfs.c:2103:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c: In function ‘write_file_blocks_dup’:
mksquashfs.c:2198:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c:2225:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma -D_REENTRANT -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o read_fs.o read_fs.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma -D_REENTRANT -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
cc -Wl,-O1,--sort-common,--as-needed,-z,relro  mksquashfs.o read_fs.o sort.o  -lz -lm -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma//CPP/7zip/Compress/LZMA_Alone -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma//C/Compress/Lzma -lpthread -lunlzma_r -llzma_r -lstdc++ -o mksquashfs
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma -D_REENTRANT -DNDEBUG  -U_REENTRANT -D_FORTIFY_SOURCE=2  -c -o unsquashfs.o unsquashfs.c
cc unsquashfs.o -o unsquashfs -lz -lm -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma//CPP/7zip/Compress/LZMA_Alone -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma//C/Compress/Lzma -lunlzma -lz
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma/squashfs3.3/squashfs-tools'
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-lzma'
make -C ./squashfs-3.3-grml-lzma
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma'
make -C /build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma/lzma/C/Compress/Lzma -f sqlzma.mk all
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma/lzma/C/Compress/Lzma'
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32 -DNDEBUG  -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma -D_FORTIFY_SOURCE=2  -c -o uncomp.o uncomp.c
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32 -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o LzmaDecode.o LzmaDecode.c
ar cr libunlzma.a uncomp.o LzmaDecode.o
ln uncomp.c uncomp_r.c
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32 -DNDEBUG  -D_REENTRANT -include pthread.h -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma -D_FORTIFY_SOURCE=2  -c -o uncomp_r.o uncomp_r.c
ln LzmaDecode.c LzmaDecode_r.c
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32 -DNDEBUG  -D_REENTRANT -include pthread.h -D_FORTIFY_SOURCE=2  -c -o LzmaDecode_r.o LzmaDecode_r.c
ar cr libunlzma_r.a uncomp_r.o LzmaDecode_r.o
rm LzmaDecode_r.c uncomp_r.c
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma/lzma/C/Compress/Lzma'
make -C /build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma/lzma/CPP/7zip/Compress/LZMA_Alone -f sqlzma.mk all
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma/lzma/CPP/7zip/Compress/LZMA_Alone'
g++ -O2 -Wall -c LzmaAlone.cpp
In file included from ../../../Common/MyString.h:9,
                 from ../../../Common/CommandLineParser.h:6,
                 from LzmaAlone.cpp:18:
../../../Common/MyVector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/MyVector.h:204:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/MyVector.h:207:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/CommandLineParser.h:6,
                 from LzmaAlone.cpp:18:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:422:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:425:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O2 -Wall -c LzmaBench.cpp
g++ -O2 -Wall -c LzmaBenchCon.cpp
g++ -O2 -Wall -c LzmaRam.cpp
g++ -O2 -Wall -c ../LZMA/LZMADecoder.cpp
g++ -O2 -Wall -c ../LZMA/LZMAEncoder.cpp
../LZMA/LZMAEncoder.cpp: In member function ‘UInt32 NCompress::NLZMA::CEncoder::GetOptimumFast(UInt32&)’:
../LZMA/LZMAEncoder.cpp:1185:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 2 >= lenMain && (backMain > (1 << 9)) ||
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp:1186:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 3 >= lenMain && (backMain > (1 << 15)))
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp:1202:42: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
       if (_longestMatchLength >= lenMain && newDistance < backMain ||
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp:1205:62: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
           _longestMatchLength + 1 >= lenMain && lenMain >= 3 && ChangePair(newDistance, backMain))
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../LZMA/LZMAEncoder.cpp: In member function ‘LONG NCompress::NLZMA::CEncoder::CodeOneBlock(UInt64*, UInt64*, Int32*)’:
../LZMA/LZMAEncoder.cpp:1350:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
     UInt32 len, numDistancePairs;
            ^~~
g++ -O2 -Wall -c ../LZ/LZOutWindow.cpp
g++ -O2 -Wall -c ../RangeCoder/RangeCoderBit.cpp
g++ -O2 -Wall -c ../../Common/InBuffer.cpp
g++ -O2 -Wall -c ../../Common/OutBuffer.cpp
g++ -O2 -Wall -c ../../Common/FileStreams.cpp
g++ -O2 -Wall -c ../../Common/StreamUtils.cpp
g++ -O2 -Wall -c ../../../Common/C_FileIO.cpp
g++ -O2 -Wall -c ../../../Common/CommandLineParser.cpp
In file included from ../../../Common/MyString.h:9,
                 from ../../../Common/CommandLineParser.h:6,
                 from ../../../Common/CommandLineParser.cpp:5:
../../../Common/MyVector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/MyVector.h:204:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/MyVector.h:207:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/CommandLineParser.h:6,
                 from ../../../Common/CommandLineParser.cpp:5:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:422:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:425:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O2 -Wall -c ../../../Common/CRC.cpp
g++ -O2 -Wall -c ../../../Common/IntToString.cpp
g++ -O2 -Wall -c ../../../Common/MyString.cpp
In file included from ../../../Common/MyString.h:9,
                 from ../../../Common/MyString.cpp:11:
../../../Common/MyVector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/MyVector.h:204:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/MyVector.h:207:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/MyString.cpp:11:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:422:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:425:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O2 -Wall -c ../../../Common/StringConvert.cpp
In file included from ../../../Common/MyString.h:9,
                 from ../../../Common/StringConvert.h:7,
                 from ../../../Common/StringConvert.cpp:5:
../../../Common/MyVector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/MyVector.h:204:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/MyVector.h:207:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/StringConvert.h:7,
                 from ../../../Common/StringConvert.cpp:5:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:422:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:425:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O2 -Wall -c ../../../Common/StringToInt.cpp
g++ -O2 -Wall -c ../../../Common/MyVector.cpp
In file included from ../../../Common/MyVector.cpp:7:
../../../Common/MyVector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/MyVector.h:204:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/MyVector.h:207:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
gcc -O2 -Wall -c ../../../../C/7zCrc.c
gcc -O2 -Wall -c ../../../../C/Alloc.c
gcc -O2 -Wall -c ../../../../C/Compress/Branch/BranchX86.c
gcc -O2 -Wall -c ../../../../C/Compress/Lz/MatchFinder.c
gcc -O2 -Wall -c ../../../../C/Compress/Lzma/LzmaDecode.c
gcc -O2 -Wall -c LzmaRamDecode.c
g++ -O2 -Wall -o lzma -Wl,-O1,--sort-common,--as-needed,-z,relro LzmaAlone.o LzmaBench.o LzmaBenchCon.o LzmaRam.o LZMADecoder.o LZMAEncoder.o LZOutWindow.o RangeCoderBit.o InBuffer.o OutBuffer.o FileStreams.o StreamUtils.o C_FileIO.o CommandLineParser.o CRC.o IntToString.o MyString.o StringConvert.o StringToInt.o MyVector.o 7zCrc.o Alloc.o BranchX86.o MatchFinder.o LzmaDecode.o LzmaRamDecode.o  -lm 
ln ../LZMA/LZMAEncoder.cpp LZMAEncoder_r.cc
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I../LZMA -D_FORTIFY_SOURCE=2  -c -o LZMAEncoder_r.o LZMAEncoder_r.cc
LZMAEncoder_r.cc: In member function ‘UInt32 NCompress::NLZMA::CEncoder::GetOptimumFast(UInt32&)’:
LZMAEncoder_r.cc:1185:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 2 >= lenMain && (backMain > (1 << 9)) ||
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
LZMAEncoder_r.cc:1186:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
         repLens[repMaxIndex] + 3 >= lenMain && (backMain > (1 << 15)))
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
LZMAEncoder_r.cc:1202:42: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
       if (_longestMatchLength >= lenMain && newDistance < backMain ||
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
LZMAEncoder_r.cc:1205:62: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
           _longestMatchLength + 1 >= lenMain && lenMain >= 3 && ChangePair(newDistance, backMain))
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LZMAEncoder_r.cc: In member function ‘LONG NCompress::NLZMA::CEncoder::CodeOneBlock(UInt64*, UInt64*, Int32*)’:
LZMAEncoder_r.cc:1350:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
     UInt32 len, numDistancePairs;
            ^~~
ln ../../../../C/Alloc.c Alloc_r.c
cc -c -I../../../../C -D_FORTIFY_SOURCE=2  -c -o Alloc_r.o Alloc_r.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from Alloc_r.c:6:
/usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
ln ../../Common/StreamUtils.cpp StreamUtils_r.cc
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I../../Common -D_FORTIFY_SOURCE=2  -c -o StreamUtils_r.o StreamUtils_r.cc
ln ../../../../C/Compress/Lz/MatchFinder.c MatchFinder_r.c
cc -c -I../../../../C/Compress/Lz -D_FORTIFY_SOURCE=2  -c -o MatchFinder_r.o MatchFinder_r.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from MatchFinder_r.c:4:
/usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
ln ../RangeCoder/RangeCoderBit.cpp RangeCoderBit_r.cc
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I../RangeCoder -D_FORTIFY_SOURCE=2  -c -o RangeCoderBit_r.o RangeCoderBit_r.cc
ln ../../Common/OutBuffer.cpp OutBuffer_r.cc
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I../../Common -D_FORTIFY_SOURCE=2  -c -o OutBuffer_r.o OutBuffer_r.cc
ln ../../../../C/7zCrc.c 7zCrc_r.c
cc -c -I../../../../C -D_FORTIFY_SOURCE=2  -c -o 7zCrc_r.o 7zCrc_r.c
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma -D_FORTIFY_SOURCE=2  -c -o comp.o comp.cc
In file included from ../../../Common/MyString.h:9,
                 from ../../../Common/StringConvert.h:7,
                 from comp.cc:20:
../../../Common/MyVector.h: In member function ‘int CObjectVector<T>::Find(const T&) const’:
../../../Common/MyVector.h:204:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < Size(); i++)
     ^~~
../../../Common/MyVector.h:207:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
In file included from ../../../Common/StringConvert.h:7,
                 from comp.cc:20:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:422:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:425:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
comp.cc: In function ‘int LzmaCompress(Bytef*, uInt, Bytef*, uInt, sqlzma_opts*, uLong*)’:
comp.cc:125:2: warning: narrowing conversion of ‘avail_in’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
  };
  ^
comp.cc:123:22: warning: narrowing conversion of ‘(avail_in >> 8)’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
   avail_in, avail_in >> 8, avail_in >> 16, avail_in >> 24,
             ~~~~~~~~~^~~~
comp.cc:123:37: warning: narrowing conversion of ‘(avail_in >> 16)’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
   avail_in, avail_in >> 8, avail_in >> 16, avail_in >> 24,
                            ~~~~~~~~~^~~~~
comp.cc:123:53: warning: narrowing conversion of ‘(avail_in >> 24)’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
   avail_in, avail_in >> 8, avail_in >> 16, avail_in >> 24,
                                            ~~~~~~~~~^~~~~
ar cr liblzma_r.a LZMAEncoder_r.o Alloc_r.o StreamUtils_r.o MatchFinder_r.o RangeCoderBit_r.o OutBuffer_r.o 7zCrc_r.o comp.o
rm OutBuffer_r.cc StreamUtils_r.cc Alloc_r.c RangeCoderBit_r.cc MatchFinder_r.c LZMAEncoder_r.cc 7zCrc_r.c
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma/lzma/CPP/7zip/Compress/LZMA_Alone'
make -C /build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma/squashfs3.3/squashfs-tools all
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma/squashfs3.3/squashfs-tools'
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma -D_REENTRANT -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o mksquashfs.o mksquashfs.c
mksquashfs.c: In function ‘write_file_blocks’:
mksquashfs.c:2101:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c: In function ‘write_file_blocks_dup’:
mksquashfs.c:2196:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c:2223:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma -D_REENTRANT -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o read_fs.o read_fs.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma -D_REENTRANT -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
cc -Wl,-O1,--sort-common,--as-needed,-z,relro  mksquashfs.o read_fs.o sort.o  -lm -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma/lzma/CPP/7zip/Compress/LZMA_Alone -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma/lzma/C/Compress/Lzma -lpthread -lunlzma_r -llzma_r -lstdc++ -lz -o mksquashfs
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma -D_REENTRANT -DNDEBUG  -U_REENTRANT -D_FORTIFY_SOURCE=2  -c -o unsquashfs.o unsquashfs.c
cc -Wl,-O1,--sort-common,--as-needed,-z,relro  unsquashfs.o  -lm -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma/lzma/CPP/7zip/Compress/LZMA_Alone -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma/lzma/C/Compress/Lzma -lunlzma -lz -o unsquashfs
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma/squashfs3.3/squashfs-tools'
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.3-grml-lzma'
make -C ./squashfs-3.4-cisco
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-cisco'
make -C squashfs-tools
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-cisco/squashfs-tools'
gcc -I ../lzma/C  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o mksquashfs.o mksquashfs.c
mksquashfs.c: In function ‘get_fragment’:
mksquashfs.c:1489:78: warning: passing argument 3 of ‘LzmaUncompress’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    if((res = LzmaUncompress((unsigned char *) buffer->data, &bytes, (const unsigned char *) data, size)) != SZ_OK)
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from mksquashfs.c:54:
lzmainterface.h:26:61: note: expected ‘char *’ but argument is of type ‘const unsigned char *’
 int LzmaUncompress(char *dst, unsigned long * dstlen, char *src, int srclen);
                                                       ~~~~~~^~~
mksquashfs.c: In function ‘write_file_blocks’:
mksquashfs.c:2463:3: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
   ftruncate(fd, bytes);
   ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c: In function ‘write_file_blocks_dup’:
mksquashfs.c:2559:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c:2587:3: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
   ftruncate(fd, bytes);
   ^~~~~~~~~~~~~~~~~~~~
gcc -I ../lzma/C  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o read_fs.o read_fs.c
read_fs.c: In function ‘read_block’:
read_fs.c:106:44: warning: passing argument 3 of ‘LzmaUncompress’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    if((res = LzmaUncompress(block, &bytes, (const unsigned char *) buffer, c_byte)) != SZ_OK)
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from read_fs.c:40:
lzmainterface.h:26:61: note: expected ‘char *’ but argument is of type ‘const unsigned char *’
 int LzmaUncompress(char *dst, unsigned long * dstlen, char *src, int srclen);
                                                       ~~~~~~^~~
gcc -I ../lzma/C  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
gcc -I ../lzma/C  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o lzmainterface.o lzmainterface.c
lzmainterface.c: In function ‘LzmaUncompress’:
lzmainterface.c:51:24: warning: passing argument 2 of ‘LzmaDecode’ from incompatible pointer type [-Wincompatible-pointer-types]
  res = LzmaDecode(dst, dstlen, src + LZMA_PROPS_SIZE, &inSizePure,
                        ^~~~~~
In file included from lzmainterface.c:14:
../lzma/C/LzmaDec.h:219:36: note: expected ‘SizeT *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’
 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
                             ~~~~~~~^~~~~~~
gcc -c -I ../lzma/C  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2 ../lzma/C/LzmaEnc.c -o LzmaEnc.o
gcc -c -I ../lzma/C  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2 ../lzma/C/LzFind.c -o LzFind.o
gcc -c -I ../lzma/C  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2 ../lzma/C/LzmaDec.c -o LzmaDec.o
gcc mksquashfs.o read_fs.o sort.o lzmainterface.o LzmaEnc.o LzFind.o LzmaDec.o -lz -lpthread -lm -lstdc++ -o mksquashfs
gcc -I ../lzma/C  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o unsquashfs.o unsquashfs.c
unsquashfs.c: In function ‘read_block’:
unsquashfs.c:715:62: warning: passing argument 3 of ‘LzmaUncompress’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    if((res = LzmaUncompress((unsigned char *) block, &bytes, (const unsigned char *) buffer, c_byte)) != SZ_OK)
                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from unsquashfs.c:64:
lzmainterface.h:26:61: note: expected ‘char *’ but argument is of type ‘const unsigned char *’
 int LzmaUncompress(char *dst, unsigned long * dstlen, char *src, int srclen);
                                                       ~~~~~~^~~
unsquashfs.c: In function ‘read_data_block’:
unsquashfs.c:763:62: warning: passing argument 3 of ‘LzmaUncompress’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    if((res = LzmaUncompress((unsigned char *) block, &bytes, (const unsigned char *) data, c_byte)) != SZ_OK)
                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from unsquashfs.c:64:
lzmainterface.h:26:61: note: expected ‘char *’ but argument is of type ‘const unsigned char *’
 int LzmaUncompress(char *dst, unsigned long * dstlen, char *src, int srclen);
                                                       ~~~~~~^~~
unsquashfs.c: In function ‘deflator’:
unsquashfs.c:2386:60: warning: passing argument 3 of ‘LzmaUncompress’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    if((res = LzmaUncompress((unsigned char *) tmp, &bytes, (const unsigned char *) entry->data, SQUASHFS_COMPRESSED_SIZE_BLOCK(entry->size))) != SZ_OK)
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from unsquashfs.c:64:
lzmainterface.h:26:61: note: expected ‘char *’ but argument is of type ‘const unsigned char *’
 int LzmaUncompress(char *dst, unsigned long * dstlen, char *src, int srclen);
                                                       ~~~~~~^~~
unsquashfs.c: In function ‘initialise_threads’:
unsquashfs.c:2469:16: warning: implicit declaration of function ‘get_nprocs’; did you mean ‘getentropy’? [-Wimplicit-function-declaration]
   processors = get_nprocs();
                ^~~~~~~~~~
                getentropy
gcc unsquashfs.o  lzmainterface.o LzmaEnc.o LzFind.o LzmaDec.o -lz -lpthread -lm -o unsquashfs
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-cisco/squashfs-tools'
cp squashfs-tools/unsquashfs .
cp squashfs-tools/mksquashfs .
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-cisco'
make -C ./squashfs-3.4-nb4
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4'
make -C /build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4/lzma465/C -f sqlzma.mk all
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4/lzma465/C'
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32 -D _SZ_NO_INT_64 -DNDEBUG  -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4 -D_FORTIFY_SOURCE=2  -c -o uncomp.o uncomp.c
uncomp.c: In function ‘LzmaUncompress’:
uncomp.c:58:11: warning: variable ‘state’ set but not used [-Wunused-but-set-variable]
  CLzmaDec state;
           ^~~~~
uncomp.c:45:82: warning: props.lc’ is used uninitialized in this function [-Wuninitialized]
 rops_GetNumProbs(p) ((UInt32)LZMA_BASE_SIZE + (LZMA_LIT_SIZE << ((p)->lc + (p)->lp)))
                                                                     ^~

uncomp.c:45:92: warning: props.lp’ is used uninitialized in this function [-Wuninitialized]
 etNumProbs(p) ((UInt32)LZMA_BASE_SIZE + (LZMA_LIT_SIZE << ((p)->lc + (p)->lp)))
                                                                         ^~

cc -c -O2 -Wall -pedantic -D _LZMA_PROB32 -D _SZ_NO_INT_64 -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o LzmaDec.o LzmaDec.c
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32 -D _SZ_NO_INT_64 -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o Alloc.o Alloc.c
ar cr libunlzma.a uncomp.o LzmaDec.o Alloc.o
ln uncomp.c uncomp_r.c
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32 -D _SZ_NO_INT_64 -DNDEBUG  -D_REENTRANT -include pthread.h -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4 -D_FORTIFY_SOURCE=2  -c -o uncomp_r.o uncomp_r.c
uncomp_r.c: In function ‘LzmaUncompress’:
uncomp_r.c:58:11: warning: variable ‘state’ set but not used [-Wunused-but-set-variable]
  CLzmaDec state;
           ^~~~~
uncomp_r.c:45:82: warning: props.lc’ is used uninitialized in this function [-Wuninitialized]
 rops_GetNumProbs(p) ((UInt32)LZMA_BASE_SIZE + (LZMA_LIT_SIZE << ((p)->lc + (p)->lp)))
                                                                     ^~

uncomp_r.c:45:92: warning: props.lp’ is used uninitialized in this function [-Wuninitialized]
 etNumProbs(p) ((UInt32)LZMA_BASE_SIZE + (LZMA_LIT_SIZE << ((p)->lc + (p)->lp)))
                                                                         ^~

ln LzmaDec.c LzmaDec_r.c
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32 -D _SZ_NO_INT_64 -DNDEBUG  -D_REENTRANT -include pthread.h -D_FORTIFY_SOURCE=2  -c -o LzmaDec_r.o LzmaDec_r.c
ln Alloc.c Alloc_r.c
cc -c -O2 -Wall -pedantic -D _LZMA_PROB32 -D _SZ_NO_INT_64 -DNDEBUG  -D_REENTRANT -include pthread.h -D_FORTIFY_SOURCE=2  -c -o Alloc_r.o Alloc_r.c
ar cr libunlzma_r.a uncomp_r.o LzmaDec_r.o Alloc_r.o
rm LzmaDec_r.c Alloc_r.c uncomp_r.c
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4/lzma465/C'
make -C /build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4/lzma465/CPP/7zip/Compress/LZMA_Alone -f sqlzma.mk all
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4/lzma465/CPP/7zip/Compress/LZMA_Alone'
g++ -O2 -Wall -c LzmaAlone.cpp
In file included from ../../../Common/CommandLineParser.h:6,
                 from LzmaAlone.cpp:18:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:414:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for (int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:417:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O2 -Wall -c LzmaBench.cpp
g++ -O2 -Wall -c LzmaBenchCon.cpp
g++ -O2 -Wall -c ../LzmaDecoder.cpp
g++ -O2 -Wall -c ../LzmaEncoder.cpp
../LzmaEncoder.cpp: In member function ‘virtual LONG NCompress::NLzma::CEncoder::SetCoderProperties(const PROPID*, const PROPVARIANT*, UInt32)’:
../LzmaEncoder.cpp:123:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.fb = prop.ulVal; break;
         ^~
../LzmaEncoder.cpp:123:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.fb = prop.ulVal; break;
                                                     ^~~~~
../LzmaEncoder.cpp:125:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.mc = prop.ulVal; break;
         ^~
../LzmaEncoder.cpp:125:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.mc = prop.ulVal; break;
                                                     ^~~~~
../LzmaEncoder.cpp:127:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.algo = prop.ulVal; break;
         ^~
../LzmaEncoder.cpp:127:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.algo = prop.ulVal; break;
                                                     ^~~~~
../LzmaEncoder.cpp:129:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.dictSize = prop.ulVal; break;
         ^~
../LzmaEncoder.cpp:129:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.dictSize = prop.ulVal; break;
                                                     ^~~~~
../LzmaEncoder.cpp:131:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.pb = prop.ulVal; break;
         ^~
../LzmaEncoder.cpp:131:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.pb = prop.ulVal; break;
                                                     ^~~~~
../LzmaEncoder.cpp:133:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.lp = prop.ulVal; break;
         ^~
../LzmaEncoder.cpp:133:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.lp = prop.ulVal; break;
                                                     ^~~~~
../LzmaEncoder.cpp:135:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.lc = prop.ulVal; break;
         ^~
../LzmaEncoder.cpp:135:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.lc = prop.ulVal; break;
                                                     ^~~~~
../LzmaEncoder.cpp:137:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.numThreads = prop.ulVal; break;
         ^~
../LzmaEncoder.cpp:137:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.numThreads = prop.ulVal; break;
                                                     ^~~~~
../LzmaEncoder.cpp:139:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_BOOL) return E_INVALIDARG; props.numThreads = ((prop.boolVal == VARIANT_TRUE) ? 2 : 1); break;
         ^~
../LzmaEncoder.cpp:139:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_BOOL) return E_INVALIDARG; props.numThreads = ((prop.boolVal == VARIANT_TRUE) ? 2 : 1); break;
                                                      ^~~~~
../LzmaEncoder.cpp:141:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_BOOL) return E_INVALIDARG; props.writeEndMark = (prop.boolVal == VARIANT_TRUE); break;
         ^~
../LzmaEncoder.cpp:141:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_BOOL) return E_INVALIDARG; props.writeEndMark = (prop.boolVal == VARIANT_TRUE); break;
                                                      ^~~~~
../LzmaEncoder.cpp:144:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (!ParseMatchFinder(prop.bstrVal, &props.btMode, &props.numHashBytes /* , &_matchFinderBase.skipModeBits */))
         ^~
../LzmaEncoder.cpp:145:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
           return E_INVALIDARG; break;
                                ^~~~~
g++ -O2 -Wall -c ../../Common/InBuffer.cpp
g++ -O2 -Wall -c ../../Common/OutBuffer.cpp
g++ -O2 -Wall -c ../../Common/FileStreams.cpp
g++ -O2 -Wall -c ../../Common/StreamUtils.cpp
g++ -O2 -Wall -c ../../../Common/C_FileIO.cpp
g++ -O2 -Wall -c ../../../Common/CommandLineParser.cpp
In file included from ../../../Common/CommandLineParser.h:6,
                 from ../../../Common/CommandLineParser.cpp:5:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:414:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for (int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:417:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O2 -Wall -c ../../../Common/CRC.cpp
g++ -O2 -Wall -c ../../../Common/IntToString.cpp
g++ -O2 -Wall -c ../../../Common/MyString.cpp
In file included from ../../../Common/StringConvert.h:7,
                 from ../../../Common/MyString.cpp:10:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:414:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for (int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:417:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O2 -Wall -c ../../../Common/StringConvert.cpp
In file included from ../../../Common/StringConvert.h:7,
                 from ../../../Common/StringConvert.cpp:5:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:414:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for (int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:417:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
g++ -O2 -Wall -c ../../../Common/StringToInt.cpp
g++ -O2 -Wall -c ../../../Common/MyVector.cpp
gcc -O2 -Wall -c ../../../../C/7zCrc.c
gcc -O2 -Wall -c ../../../../C/Alloc.c
gcc -O2 -Wall -c ../../../../C/Bra86.c
gcc -O2 -Wall -c ../../../../C/LzFind.c
gcc -O2 -Wall -c ../../../../C/LzmaDec.c
gcc -O2 -Wall -c ../../../../C/LzmaEnc.c
../../../../C/LzmaEnc.c: In function ‘LzmaEnc_Alloc’:
../../../../C/LzmaEnc.c:1922:8: warning: variable ‘btMode’ set but not used [-Wunused-but-set-variable]
   Bool btMode;
        ^~~~~~
gcc -O2 -Wall -c ../../../../C/LzmaUtil/Lzma86Dec.c
gcc -O2 -Wall -c ../../../../C/LzmaUtil/Lzma86Enc.c
g++ -O2 -Wall -o lzma -Wl,-O1,--sort-common,--as-needed,-z,relro LzmaAlone.o LzmaBench.o LzmaBenchCon.o LzmaDecoder.o LzmaEncoder.o InBuffer.o OutBuffer.o FileStreams.o StreamUtils.o C_FileIO.o CommandLineParser.o CRC.o IntToString.o MyString.o StringConvert.o StringToInt.o MyVector.o 7zCrc.o Alloc.o Bra86.o LzFind.o LzmaDec.o LzmaEnc.o Lzma86Dec.o Lzma86Enc.o  -lm 
ln ../LzmaEncoder.cpp LzmaEncoder_r.cc
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I../ -D_FORTIFY_SOURCE=2  -c -o LzmaEncoder_r.o LzmaEncoder_r.cc
LzmaEncoder_r.cc: In member function ‘virtual LONG NCompress::NLzma::CEncoder::SetCoderProperties(const PROPID*, const PROPVARIANT*, UInt32)’:
LzmaEncoder_r.cc:123:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.fb = prop.ulVal; break;
         ^~
LzmaEncoder_r.cc:123:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.fb = prop.ulVal; break;
                                                     ^~~~~
LzmaEncoder_r.cc:125:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.mc = prop.ulVal; break;
         ^~
LzmaEncoder_r.cc:125:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.mc = prop.ulVal; break;
                                                     ^~~~~
LzmaEncoder_r.cc:127:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.algo = prop.ulVal; break;
         ^~
LzmaEncoder_r.cc:127:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.algo = prop.ulVal; break;
                                                     ^~~~~
LzmaEncoder_r.cc:129:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.dictSize = prop.ulVal; break;
         ^~
LzmaEncoder_r.cc:129:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.dictSize = prop.ulVal; break;
                                                     ^~~~~
LzmaEncoder_r.cc:131:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.pb = prop.ulVal; break;
         ^~
LzmaEncoder_r.cc:131:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.pb = prop.ulVal; break;
                                                     ^~~~~
LzmaEncoder_r.cc:133:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.lp = prop.ulVal; break;
         ^~
LzmaEncoder_r.cc:133:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.lp = prop.ulVal; break;
                                                     ^~~~~
LzmaEncoder_r.cc:135:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.lc = prop.ulVal; break;
         ^~
LzmaEncoder_r.cc:135:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.lc = prop.ulVal; break;
                                                     ^~~~~
LzmaEncoder_r.cc:137:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.numThreads = prop.ulVal; break;
         ^~
LzmaEncoder_r.cc:137:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_UI4) return E_INVALIDARG; props.numThreads = prop.ulVal; break;
                                                     ^~~~~
LzmaEncoder_r.cc:139:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_BOOL) return E_INVALIDARG; props.numThreads = ((prop.boolVal == VARIANT_TRUE) ? 2 : 1); break;
         ^~
LzmaEncoder_r.cc:139:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_BOOL) return E_INVALIDARG; props.numThreads = ((prop.boolVal == VARIANT_TRUE) ? 2 : 1); break;
                                                      ^~~~~
LzmaEncoder_r.cc:141:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (prop.vt != VT_BOOL) return E_INVALIDARG; props.writeEndMark = (prop.boolVal == VARIANT_TRUE); break;
         ^~
LzmaEncoder_r.cc:141:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
         if (prop.vt != VT_BOOL) return E_INVALIDARG; props.writeEndMark = (prop.boolVal == VARIANT_TRUE); break;
                                                      ^~~~~
LzmaEncoder_r.cc:144:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
         if (!ParseMatchFinder(prop.bstrVal, &props.btMode, &props.numHashBytes /* , &_matchFinderBase.skipModeBits */))
         ^~
LzmaEncoder_r.cc:145:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
           return E_INVALIDARG; break;
                                ^~~~~
ln ../../../../C/LzmaEnc.c LzmaEnc_r.c
cc -c -I../../../../C -D_FORTIFY_SOURCE=2  -c -o LzmaEnc_r.o LzmaEnc_r.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from LzmaEnc_r.c:4:
/usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
ln ../../../../C/Alloc.c Alloc_r.c
cc -c -I../../../../C -D_FORTIFY_SOURCE=2  -c -o Alloc_r.o Alloc_r.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:25,
                 from Alloc_r.c:9:
/usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
ln ../../Common/StreamUtils.cpp StreamUtils_r.cc
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I../../Common -D_FORTIFY_SOURCE=2  -c -o StreamUtils_r.o StreamUtils_r.cc
ln ../../../../C/LzFind.c LzFind_r.c
cc -c -I../../../../C -D_FORTIFY_SOURCE=2  -c -o LzFind_r.o LzFind_r.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from LzFind_r.c:4:
/usr/include/features.h:382:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
ln ../Bcj2Coder.cpp Bcj2Coder_r.cc
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I../ -D_FORTIFY_SOURCE=2  -c -o Bcj2Coder_r.o Bcj2Coder_r.cc
ln ../../Common/OutBuffer.cpp OutBuffer_r.cc
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I../../Common -D_FORTIFY_SOURCE=2  -c -o OutBuffer_r.o OutBuffer_r.cc
ln ../../../../C/7zCrc.c 7zCrc_r.c
cc -c -I../../../../C -D_FORTIFY_SOURCE=2  -c -o 7zCrc_r.o 7zCrc_r.c
g++ -O2 -Wall -c -D_REENTRANT -include pthread.h -DNDEBUG  -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4 -D_FORTIFY_SOURCE=2  -c -o comp.o comp.cc
In file included from ../../../Common/StringConvert.h:7,
                 from comp.cc:20:
../../../Common/MyString.h: In member function ‘int CStringBase<T>::FindOneOf(const CStringBase<T>&) const’:
../../../Common/MyString.h:414:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for (int i = 0; i < _length; i++)
     ^~~
../../../Common/MyString.h:417:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘forreturn -1;
       ^~~~~~
comp.cc: In function ‘int LzmaCompress(Bytef*, uInt, Bytef*, uInt, sqlzma_opts*, uLong*)’:
comp.cc:123:2: warning: narrowing conversion of ‘avail_in’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
  };
  ^
comp.cc:121:22: warning: narrowing conversion of ‘(avail_in >> 8)’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
   avail_in, avail_in >> 8, avail_in >> 16, avail_in >> 24,
             ~~~~~~~~~^~~~
comp.cc:121:37: warning: narrowing conversion of ‘(avail_in >> 16)’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
   avail_in, avail_in >> 8, avail_in >> 16, avail_in >> 24,
                            ~~~~~~~~~^~~~~
comp.cc:121:53: warning: narrowing conversion of ‘(avail_in >> 24)’ from ‘uInt’ {aka ‘unsigned int’} to ‘Byte’ {aka ‘unsigned char’} inside { } [-Wnarrowing]
   avail_in, avail_in >> 8, avail_in >> 16, avail_in >> 24,
                                            ~~~~~~~~~^~~~~
ar cr liblzma_r.a LzmaEncoder_r.o LzmaEnc_r.o Alloc_r.o StreamUtils_r.o LzFind_r.o Bcj2Coder_r.o OutBuffer_r.o 7zCrc_r.o comp.o
rm LzFind_r.c Bcj2Coder_r.cc OutBuffer_r.cc StreamUtils_r.cc Alloc_r.c LzmaEnc_r.c 7zCrc_r.c LzmaEncoder_r.cc
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4/lzma465/CPP/7zip/Compress/LZMA_Alone'
make -C /build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4/squashfs3.4/squashfs-tools all
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4/squashfs3.4/squashfs-tools'
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4 -D_REENTRANT -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o mksquashfs.o mksquashfs.c
mksquashfs.c: In function ‘reader_scan’:
mksquashfs.c:2005:9: warning: return’ with a value, in function returning void
  return NULL;
         ^~~~
mksquashfs.c:1987:6: note: declared here
 void reader_scan(struct dir_info *dir) {
      ^~~~~~~~~~~
mksquashfs.c: In function ‘write_file_blocks’:
mksquashfs.c:2449:3: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
   ftruncate(fd, bytes);
   ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c: In function ‘write_file_blocks_dup’:
mksquashfs.c:2545:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fd, bytes);
    ^~~~~~~~~~~~~~~~~~~~
mksquashfs.c:2573:3: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
   ftruncate(fd, bytes);
   ^~~~~~~~~~~~~~~~~~~~
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4 -D_REENTRANT -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o read_fs.o read_fs.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4 -D_REENTRANT -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
cc -Wl,-O1,--sort-common,--as-needed,-z,relro -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4/lzma465/CPP/7zip/Compress/LZMA_Alone -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4/lzma465/C mksquashfs.o read_fs.o sort.o -lz -lpthread -lm -lunlzma_r -llzma_r -lstdc++ -o mksquashfs
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -I/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4 -D_REENTRANT -DNDEBUG  -D_FORTIFY_SOURCE=2  -c -o unsquashfs.o unsquashfs.c
unsquashfs.c: In function ‘initialise_threads’:
unsquashfs.c:2487:16: warning: implicit declaration of function ‘get_nprocs’; did you mean ‘getentropy’? [-Wimplicit-function-declaration]
   processors = get_nprocs();
                ^~~~~~~~~~
                getentropy
cc -Wl,-O1,--sort-common,--as-needed,-z,relro -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4/lzma465/CPP/7zip/Compress/LZMA_Alone -L/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4/lzma465/C unsquashfs.o -lpthread -lm -lunlzma -lz -o unsquashfs
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4/squashfs3.4/squashfs-tools'
cp /build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4/squashfs3.4/squashfs-tools/mksquashfs ./mksquashfs-lzma
cp /build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4/squashfs3.4/squashfs-tools/unsquashfs ./unsquashfs
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-3.4-nb4'
make -C ./squashfs-4.0-lzma
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-4.0-lzma'
cc -I. -I./lzma/C  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -DUSE_LZMA -D_FORTIFY_SOURCE=2  -c -o mksquashfs.o mksquashfs.c
mksquashfs.c: In function ‘dir_scan2’:
mksquashfs.c:3476:9: warning: type defaults to ‘int’ in declaration of ‘pseudo_ino’ [-Wimplicit-int]
  static pseudo_ino = 1;
         ^~~~~~~~~~
cc -I. -I./lzma/C  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -DUSE_LZMA -D_FORTIFY_SOURCE=2  -c -o read_fs.o read_fs.c
cc -I. -I./lzma/C  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -DUSE_LZMA -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
cc -I. -I./lzma/C  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -DUSE_LZMA -D_FORTIFY_SOURCE=2  -c -o swap.o swap.c
cc -I. -I./lzma/C  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -DUSE_LZMA -D_FORTIFY_SOURCE=2  -c -o pseudo.o pseudo.c
cc -I. -I./lzma/C  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -DUSE_LZMA -D_FORTIFY_SOURCE=2  -c -o uncompress.o uncompress.c
uncompress.c: In function ‘uncompress_wrapper’:
uncompress.c:41:47: warning: passing argument 2 of ‘LzmaUncompress’ from incompatible pointer type [-Wincompatible-pointer-types]
   res = LzmaUncompress((unsigned char *)dest, dest_len,
                                               ^~~~~~~~
In file included from uncompress.c:24:
./lzma/C/LzmaLib.h:132:55: note: expected ‘size_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’
 MY_STDAPI LzmaUncompress(unsigned char *dest, size_t *destLen, const unsigned char *src, SizeT *srcLen,
                                               ~~~~~~~~^~~~~~~
make -C ./lzma/C/LzmaLib
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-4.0-lzma/lzma/C/LzmaLib'
gcc -c -O2 -Wall ../Alloc.c
gcc -c -O2 -Wall ../LzFind.c
gcc -c -O2 -Wall ../LzmaDec.c
gcc -c -O2 -Wall ../LzmaEnc.c
../LzmaEnc.c: In function ‘LzmaEnc_Alloc’:
../LzmaEnc.c:1922:8: warning: variable ‘btMode’ set but not used [-Wunused-but-set-variable]
   Bool btMode;
        ^~~~~~
gcc -c -O2 -Wall ../LzmaLib.c
gcc -c -O2 -Wall ../7zFile.c
gcc -c -O2 -Wall ../7zStream.c
rm -f liblzma.a
ar rcu liblzma.a Alloc.o LzFind.o LzmaDec.o LzmaEnc.o LzmaLib.o 7zFile.o 7zStream.o 
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib liblzma.a
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-4.0-lzma/lzma/C/LzmaLib'
cc mksquashfs.o read_fs.o sort.o swap.o pseudo.o uncompress.o -lz -lpthread -lm -L./lzma/C/LzmaLib -llzma -o mksquashfs-lzma
cc -I. -I./lzma/C  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -DUSE_LZMA -D_FORTIFY_SOURCE=2  -c -o unsquashfs.o unsquashfs.c
unsquashfs.c: In function ‘initialise_threads’:
unsquashfs.c:1816:16: warning: implicit declaration of function ‘get_nprocs’; did you mean ‘getentropy’? [-Wimplicit-function-declaration]
   processors = get_nprocs();
                ^~~~~~~~~~
                getentropy
cc -I. -I./lzma/C  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -DUSE_LZMA -D_FORTIFY_SOURCE=2  -c -o unsquash-1.o unsquash-1.c
cc -I. -I./lzma/C  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -DUSE_LZMA -D_FORTIFY_SOURCE=2  -c -o unsquash-2.o unsquash-2.c
cc -I. -I./lzma/C  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -DUSE_LZMA -D_FORTIFY_SOURCE=2  -c -o unsquash-3.o unsquash-3.c
unsquash-3.c: In function ‘read_fragment_table_3’:
unsquash-3.c:39:3: warning: return’ with no value, in function returning non-void
   return;
   ^~~~~~
unsquash-3.c:29:5: note: declared here
 int read_fragment_table_3()
     ^~~~~~~~~~~~~~~~~~~~~
cc -I. -I./lzma/C  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -DUSE_LZMA -D_FORTIFY_SOURCE=2  -c -o unsquash-4.o unsquash-4.c
unsquash-4.c: In function ‘read_fragment_table_4’:
unsquash-4.c:41:3: warning: return’ with no value, in function returning non-void
   return;
   ^~~~~~
unsquash-4.c:31:5: note: declared here
 int read_fragment_table_4()
     ^~~~~~~~~~~~~~~~~~~~~
cc unsquashfs.o unsquash-1.o unsquash-2.o unsquash-3.o unsquash-4.o swap.o uncompress.o -lz -lpthread -lm -L./lzma/C/LzmaLib -llzma -o unsquashfs-lzma
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-4.0-lzma'
make -C ./squashfs-4.0-realtek
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-4.0-realtek'
gcc -I. -I./lzma/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -O2 -Wall -DLZMA_SUPPORT -D_FORTIFY_SOURCE=2  -c -o mksquashfs.o mksquashfs.c
gcc -I. -I./lzma/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -O2 -Wall -DLZMA_SUPPORT -D_FORTIFY_SOURCE=2  -c -o read_fs.o read_fs.c
gcc -I. -I./lzma/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -O2 -Wall -DLZMA_SUPPORT -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
gcc -I. -I./lzma/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -O2 -Wall -DLZMA_SUPPORT -D_FORTIFY_SOURCE=2  -c -o swap.o swap.c
gcc -I. -I./lzma/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -O2 -Wall -DLZMA_SUPPORT -D_FORTIFY_SOURCE=2  -c -o pseudo.o pseudo.c
pseudo.c:62:13: warning: dump_pseudo’ defined but not used [-Wunused-function]
 static void dump_pseudo(struct pseudo *pseudo, char *string)
             ^~~~~~~~~~~
gcc -I. -I./lzma/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -O2 -Wall -DLZMA_SUPPORT -D_FORTIFY_SOURCE=2  -c -o compressor.o compressor.c
gcc -I. -I./lzma/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -O2 -Wall -DLZMA_SUPPORT -D_FORTIFY_SOURCE=2  -c -o gzip_wrapper.o gzip_wrapper.c
gcc -I. -I./lzma/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -O2 -Wall -DLZMA_SUPPORT -D_FORTIFY_SOURCE=2  -c -o lzma_wrapper.o lzma_wrapper.c
gcc -I. -I./lzma/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -O2 -Wall -DLZMA_SUPPORT -D_FORTIFY_SOURCE=2  -c -o lzma/C/Alloc.o lzma/C/Alloc.c
gcc -I. -I./lzma/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -O2 -Wall -DLZMA_SUPPORT -D_FORTIFY_SOURCE=2  -c -o lzma/C/LzFind.o lzma/C/LzFind.c
gcc -I. -I./lzma/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -O2 -Wall -DLZMA_SUPPORT -D_FORTIFY_SOURCE=2  -c -o lzma/C/LzmaDec.o lzma/C/LzmaDec.c
gcc -I. -I./lzma/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -O2 -Wall -DLZMA_SUPPORT -D_FORTIFY_SOURCE=2  -c -o lzma/C/LzmaEnc.o lzma/C/LzmaEnc.c
lzma/C/LzmaEnc.c: In function ‘LzmaEnc_Alloc’:
lzma/C/LzmaEnc.c:1922:8: warning: variable ‘btMode’ set but not used [-Wunused-but-set-variable]
   Bool btMode;
        ^~~~~~
gcc -I. -I./lzma/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -O2 -Wall -DLZMA_SUPPORT -D_FORTIFY_SOURCE=2  -c -o lzma/C/LzmaLib.o lzma/C/LzmaLib.c
gcc mksquashfs.o read_fs.o sort.o swap.o pseudo.o compressor.o gzip_wrapper.o lzma_wrapper.o ./lzma/C/Alloc.o ./lzma/C/LzFind.o ./lzma/C/LzmaDec.o ./lzma/C/LzmaEnc.o ./lzma/C/LzmaLib.o -lz -lpthread -lm -o mksquashfs
gcc -I. -I./lzma/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -O2 -Wall -DLZMA_SUPPORT -D_FORTIFY_SOURCE=2  -c -o unsquashfs.o unsquashfs.c
gcc -I. -I./lzma/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -O2 -Wall -DLZMA_SUPPORT -D_FORTIFY_SOURCE=2  -c -o unsquash-1.o unsquash-1.c
gcc -I. -I./lzma/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -O2 -Wall -DLZMA_SUPPORT -D_FORTIFY_SOURCE=2  -c -o unsquash-2.o unsquash-2.c
gcc -I. -I./lzma/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -O2 -Wall -DLZMA_SUPPORT -D_FORTIFY_SOURCE=2  -c -o unsquash-3.o unsquash-3.c
gcc -I. -I./lzma/C -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -O2 -Wall -DLZMA_SUPPORT -D_FORTIFY_SOURCE=2  -c -o unsquash-4.o unsquash-4.c
gcc unsquashfs.o unsquash-1.o unsquash-2.o unsquash-3.o unsquash-4.o swap.o compressor.o gzip_wrapper.o lzma_wrapper.o ./lzma/C/Alloc.o ./lzma/C/LzFind.o ./lzma/C/LzmaDec.o ./lzma/C/LzmaEnc.o ./lzma/C/LzmaLib.o -lz -lpthread -lm -o unsquashfs
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-4.0-realtek'
make -C ./squashfs-2.0-nb4
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-2.0-nb4'
make -C nb4-mksquashfs
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-2.0-nb4/nb4-mksquashfs'
g++ -c   -O2 -DGNU -I. -I./lzma/compress ./lzma/compress/7zapi.cpp -o 7zapi.o
g++ -c   -O2 -DGNU -I. -I./lzma/compress ./lzma/compress/7zlzma.cpp -o 7zlzma.o
g++ -c   -O2 -DGNU -I. -I./lzma/compress ./lzma/compress/AriBitCoder.cpp -o AriBitCoder.o
g++ -c   -O2 -DGNU -I. -I./lzma/compress ./lzma/compress/IInOutStreams.cpp -o IInOutStreams.o
g++ -c   -O2 -DGNU -I. -I./lzma/compress ./lzma/compress/LenCoder.cpp -o LenCoder.o
g++ -c   -O2 -DGNU -I. -I./lzma/compress ./lzma/compress/LiteralCoder.cpp -o LiteralCoder.o
g++ -c   -O2 -DGNU -I. -I./lzma/compress ./lzma/compress/LZMA.cpp -o LZMA.o
g++ -c   -O2 -DGNU -I. -I./lzma/compress ./lzma/compress/LZMAEncoder.cpp -o LZMAEncoder.o
g++ -c   -O2 -DGNU -I. -I./lzma/compress ./lzma/compress/OutByte.cpp -o OutByte.o
g++ -c   -O2 -DGNU -I. -I./lzma/compress ./lzma/compress/WindowIn.cpp -o WindowIn.o
gcc   -O2 -DGNU -I. -I./lzma/compress -Isquashfs -c squashfs/*.c
squashfs/mksquashfs.c: In function ‘linux_readdir’:
squashfs/mksquashfs.c:1303:12: warning: implicit declaration of function ‘devtable_readdir’; did you mean ‘linux_readdir’? [-Wimplicit-function-declaration]
       if ( devtable_readdir(l, filename, dir_name, devtable_inode_info ) )
            ^~~~~~~~~~~~~~~~
            linux_readdir
squashfs/mksquashfs.c: In function ‘interpret_table_entry’:
squashfs/mksquashfs.c:1346:26: warning: implicit declaration of function ‘basename’; did you mean ‘rename’? [-Wimplicit-function-declaration]
  strcpy( dirname, (char*)basename(full) );
                          ^~~~~~~~
                          rename
squashfs/mksquashfs.c:1368:5: warning: implicit declaration of function ‘asprintf’; did you mean ‘vsprintf’? [-Wimplicit-function-declaration]
     asprintf(&buf, "%s%lu", name, i);
     ^~~~~~~~
     vsprintf
squashfs/mksquashfs.c: In function ‘devtable_readdir’:
squashfs/mksquashfs.c:1412:22: warning: implicit declaration of function ‘isspace’ [-Wimplicit-function-declaration]
    while (len > 0 && isspace(line[len - 1]))
                      ^~~~~~~
gcc   -O2 -DGNU -I. -I./lzma/compress -c getline.c
gcc   -O2 -DGNU -I. -I./lzma/compress -c getdelim.c
g++  -o mksquashfs mksquashfs.o read_fs.o sort.o getline.o getdelim.o 7zapi.o 7zlzma.o AriBitCoder.o IInOutStreams.o LenCoder.o LiteralCoder.o LZMA.o LZMAEncoder.o OutByte.o WindowIn.o -lz
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-2.0-nb4/nb4-mksquashfs'
make -C nb4-unsquashfs
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-2.0-nb4/nb4-unsquashfs'
gcc -I. -Ibrcm-lzma -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o nb4-unsquash.o nb4-unsquash.c
cd brcm-lzma; make
make[4]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-2.0-nb4/nb4-unsquashfs/brcm-lzma'
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o 7zlzma.o 7zlzma.c
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o IInOutStreams.o IInOutStreams.c
gcc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -D_FORTIFY_SOURCE=2  -c -o LZMADecoder.o LZMADecoder.c
make[4]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-2.0-nb4/nb4-unsquashfs/brcm-lzma'
gcc nb4-unsquash.o brcm-lzma/7zlzma.o brcm-lzma/IInOutStreams.o brcm-lzma/LZMADecoder.o -lpthread -lm -o unsquashfs
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-2.0-nb4/nb4-unsquashfs'
cp nb4-mksquashfs/mksquashfs .
cp nb4-unsquashfs/unsquashfs .
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-2.0-nb4'
make -C ./squashfs-4.2
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-4.2'
make -C squashfs-tools
make[3]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-4.2/squashfs-tools'
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o mksquashfs.o mksquashfs.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o read_fs.o read_fs.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o swap.o swap.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o pseudo.o pseudo.c
pseudo.c:70:13: warning: dump_pseudo’ defined but not used [-Wunused-function]
 static void dump_pseudo(struct pseudo *pseudo, char *string)
             ^~~~~~~~~~~
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o compressor.o compressor.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o gzip_wrapper.o gzip_wrapper.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o lzma_xz_wrapper.o lzma_xz_wrapper.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o xz_wrapper.o xz_wrapper.c
xz_wrapper.c: In function ‘xz_compress’:
xz_wrapper.c:201:6: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
      if (opts->fb)
      ^~
xz_wrapper.c:204:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘ifstream->opt.dict_size = stream->dictionary_size;
   ^~~~~~
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o lzma_xz_options.o lzma_xz_options.c
lzma_xz_options.c:32:19: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
 static const char const *lzmaver_str[] = { "", "lzma", "xz" };
                   ^~~~~
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o xattr.o xattr.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o read_xattrs.o read_xattrs.c
cc -Wl,-O1,--sort-common,--as-needed,-z,relro  mksquashfs.o read_fs.o sort.o swap.o pseudo.o compressor.o gzip_wrapper.o lzma_xz_wrapper.o xz_wrapper.o lzma_xz_options.o xattr.o read_xattrs.o -lpthread -lm -lz -llzma -o mksquashfs
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o unsquashfs.o unsquashfs.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o unsquash-1.o unsquash-1.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o unsquash-2.o unsquash-2.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o unsquash-3.o unsquash-3.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o unsquash-4.o unsquash-4.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o unsquashfs_xattr.o unsquashfs_xattr.c
cc -Wl,-O1,--sort-common,--as-needed,-z,relro  unsquashfs.o unsquash-1.o unsquash-2.o unsquash-3.o unsquash-4.o swap.o compressor.o gzip_wrapper.o lzma_xz_wrapper.o xz_wrapper.o lzma_xz_options.o read_xattrs.o unsquashfs_xattr.o -lpthread -lm -lz -llzma -o unsquashfs
make[3]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-4.2/squashfs-tools'
cp squashfs-tools/unsquashfs .
cp squashfs-tools/mksquashfs .
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-4.2'
make -C ./squashfs-4.2-official
make[2]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-4.2-official'
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o mksquashfs.o mksquashfs.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o read_fs.o read_fs.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o sort.o sort.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o swap.o swap.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o pseudo.o pseudo.c
pseudo.c:69:13: warning: dump_pseudo’ defined but not used [-Wunused-function]
 static void dump_pseudo(struct pseudo *pseudo, char *string)
             ^~~~~~~~~~~
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o compressor.o compressor.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o gzip_wrapper.o gzip_wrapper.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o lzma_xz_wrapper.o lzma_xz_wrapper.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o xz_wrapper.o xz_wrapper.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o xattr.o xattr.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o read_xattrs.o read_xattrs.c
cc -Wl,-O1,--sort-common,--as-needed,-z,relro  mksquashfs.o read_fs.o sort.o swap.o pseudo.o compressor.o gzip_wrapper.o lzma_xz_wrapper.o xz_wrapper.o xattr.o read_xattrs.o -lpthread -lm -lz -llzma -llzma -o mksquashfs
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o unsquashfs.o unsquashfs.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o unsquash-1.o unsquash-1.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o unsquash-2.o unsquash-2.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o unsquash-3.o unsquash-3.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o unsquash-4.o unsquash-4.c
cc -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2  -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -D_FORTIFY_SOURCE=2  -c -o unsquashfs_xattr.o unsquashfs_xattr.c
cc -Wl,-O1,--sort-common,--as-needed,-z,relro  unsquashfs.o unsquash-1.o unsquash-2.o unsquash-3.o unsquash-4.o swap.o compressor.o gzip_wrapper.o lzma_xz_wrapper.o xz_wrapper.o read_xattrs.o unsquashfs_xattr.o -lpthread -lm -lz -llzma -llzma -o unsquashfs
make[2]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others/squashfs-4.2-official'
make[1]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/others'
make -C ./crcalc/
make[1]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/crcalc'
gcc -Wall -Wl,-O1,--sort-common,--as-needed,-z,relro common.c -c
gcc -Wall -Wl,-O1,--sort-common,--as-needed,-z,relro crc.c -c
gcc -Wall -Wl,-O1,--sort-common,--as-needed,-z,relro md5.c -c
gcc -Wall -Wl,-O1,--sort-common,--as-needed,-z,relro patch.c -c
gcc -Wall -Wl,-O1,--sort-common,--as-needed,-z,relro crcalc.c *.o -o crcalc
gcc -Wall -Wl,-O1,--sort-common,--as-needed,-z,relro crc32.c crc.o -o crc32 
make[1]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/crcalc'
make -C ./webcomp-tools/
make[1]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/webcomp-tools'
gcc -g -Wall -Wl,-O1,--sort-common,--as-needed,-z,relro -c common.c
gcc -g -Wall -Wl,-O1,--sort-common,--as-needed,-z,relro *.o webdecomp.c -o webdecomp
make[1]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/webcomp-tools'
make -C ./tpl-tool/src/
make[1]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/tpl-tool/src'
gcc -O2 -Wl,-O1,--sort-common,--as-needed,-z,relro tpl-tool.c -c
gcc -O2 -Wl,-O1,--sort-common,--as-needed,-z,relro md5.c -c
gcc -O2 -Wl,-O1,--sort-common,--as-needed,-z,relro tpl-tool.o md5.o -o tpl-tool
make[1]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/tpl-tool/src'
make -C ./firmware-tools/
make[1]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/firmware-tools'
gcc -g -Wall -Wl,-O1,--sort-common,--as-needed,-z,relro buffalo-lib.c -c
buffalo-lib.c: In function ‘check_magic’:
buffalo-lib.c:252:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  if (!memcmp("start", magic, ENC_MAGIC_LEN));
  ^~
buffalo-lib.c:253:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘ifreturn 0;
   ^~~~~~
buffalo-lib.c:255:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  if (!memcmp("asar1", magic, ENC_MAGIC_LEN));
  ^~
buffalo-lib.c:256:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘ifreturn 0;
   ^~~~~~
gcc -g -Wall -Wl,-O1,--sort-common,--as-needed,-z,relro buffalo-enc.c *.o -o buffalo-enc
make[1]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/firmware-tools'
make -C ./yaffs2utils/
make[1]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/yaffs2utils'
gcc -I. -I./yaffs2 -O2 -Wall -Wshadow -Winline -Wpointer-arith -Wnested-externs -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -D_HAVE_MMAP -D_FORTIFY_SOURCE=2  -c -o yaffs2/yaffs_hweight.o yaffs2/yaffs_hweight.c
gcc -I. -I./yaffs2 -O2 -Wall -Wshadow -Winline -Wpointer-arith -Wnested-externs -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -D_HAVE_MMAP -D_FORTIFY_SOURCE=2  -c -o yaffs2/yaffs_ecc.o yaffs2/yaffs_ecc.c
gcc -I. -I./yaffs2 -O2 -Wall -Wshadow -Winline -Wpointer-arith -Wnested-externs -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -D_HAVE_MMAP -D_FORTIFY_SOURCE=2  -c -o yaffs2/yaffs_packedtags1.o yaffs2/yaffs_packedtags1.c
gcc -I. -I./yaffs2 -O2 -Wall -Wshadow -Winline -Wpointer-arith -Wnested-externs -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -D_HAVE_MMAP -D_FORTIFY_SOURCE=2  -c -o yaffs2/yaffs_packedtags2.o yaffs2/yaffs_packedtags2.c
gcc -I. -I./yaffs2 -O2 -Wall -Wshadow -Winline -Wpointer-arith -Wnested-externs -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -D_HAVE_MMAP -D_FORTIFY_SOURCE=2  -c -o safe_rw.o safe_rw.c
gcc -I. -I./yaffs2 -O2 -Wall -Wshadow -Winline -Wpointer-arith -Wnested-externs -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -D_HAVE_MMAP -D_FORTIFY_SOURCE=2  -c -o endian_convert.o endian_convert.c
gcc -I. -I./yaffs2 -O2 -Wall -Wshadow -Winline -Wpointer-arith -Wnested-externs -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -D_HAVE_MMAP -D_FORTIFY_SOURCE=2  -c -o progress_bar.o progress_bar.c
gcc -I. -I./yaffs2 -O2 -Wall -Wshadow -Winline -Wpointer-arith -Wnested-externs -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -D_HAVE_MMAP -D_FORTIFY_SOURCE=2  -c -o mkyaffs2.o mkyaffs2.c
gcc -o mkyaffs2 yaffs2/yaffs_hweight.o yaffs2/yaffs_ecc.o yaffs2/yaffs_packedtags1.o yaffs2/yaffs_packedtags2.o safe_rw.o endian_convert.o progress_bar.o mkyaffs2.o -Wl,-O1,--sort-common,--as-needed,-z,relro -lm
gcc -I. -I./yaffs2 -O2 -Wall -Wshadow -Winline -Wpointer-arith -Wnested-externs -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -D_HAVE_MMAP -D_FORTIFY_SOURCE=2  -c -o unyaffs2.o unyaffs2.c
unyaffs2.c: In function ‘unyaffs2_obj_chattr’:
unyaffs2.c:763:2: warning: ignoring return value of ‘lchown’, declared with attribute warn_unused_result [-Wunused-result]
  lchown(fpath, obj->uid, obj->gid);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
                 from unyaffs2.c:26:
In function ‘memcpy’,
    inlined from ‘unyaffs2_extract_hardlink.constprop’ at unyaffs2.c:1222:2,
    inlined from ‘unyaffs2_extract_obj’ at unyaffs2.c:1289:12:
/usr/include/bits/string_fortified.h:34:10: warning: __builtin___memcpy_chk’ writing 16 bytes into a region of size 4 overflows the destination [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -o unyaffs2 yaffs2/yaffs_hweight.o yaffs2/yaffs_ecc.o yaffs2/yaffs_packedtags1.o yaffs2/yaffs_packedtags2.o safe_rw.o endian_convert.o progress_bar.o unyaffs2.o -Wl,-O1,--sort-common,--as-needed,-z,relro -lm
gcc -I. -I./yaffs2 -O2 -Wall -Wshadow -Winline -Wpointer-arith -Wnested-externs -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -D_HAVE_MMAP -D_FORTIFY_SOURCE=2  -c -o unspare2.o unspare2.c
gcc -o unspare2 yaffs2/yaffs_hweight.o yaffs2/yaffs_ecc.o yaffs2/yaffs_packedtags1.o yaffs2/yaffs_packedtags2.o safe_rw.o endian_convert.o progress_bar.o unspare2.o -Wl,-O1,--sort-common,--as-needed,-z,relro -lm
make[1]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/yaffs2utils'
make -C ./jffs2
make[1]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/jffs2'
make[1]: 'sunjffs2' is up to date.
make[1]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/jffs2'
make -C ./mountcp
make[1]: Entering directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/mountcp'
gcc -Wall mountsu.c -o mountsu
gcc -Wall umountsu.c -o umountsu
make[1]: Leaving directory '/build/firmware-mod-kit-git/src/firmware-mod-kit/src/mountcp'
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
strip: Unable to recognise the format of the input file `./usr/share/firmware-mod-kit/src/others/squashfs-hg55x-bin/unsquashfs'
strip: Unable to recognise the format of the input file `./usr/share/firmware-mod-kit/src/others/squashfs-4.2/lzma-4.65/CPP/7zip/Compress/LZMA_Alone/lzma_alone'
strip: Unable to recognise the format of the input file `./usr/share/firmware-mod-kit/src/others/squashfs-4.2/lzma-4.65/CPP/7zip/Compress/LZMA_Alone/lzma'
strip: Unable to recognise the format of the input file `./usr/share/firmware-mod-kit/src/others/squashfs-4.2/lzma-4.65/C/LzmaUtil/lzma'
strip: Unable to recognise the format of the input file `./usr/share/firmware-mod-kit/src/jffs2/mkfs.jffs2'
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
usr/share/firmware-mod-kit/src/webcomp-tools/common.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/read_fs.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/ZLib.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/StringToInt.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/StringConvert.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/FileStreams.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/sort.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/unsquashfs.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/Alloc.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/CommandLineParser.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/InBuffer.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/LZInWindow.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/CRC.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/StreamUtils.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/LZMAEncoder.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/LZMADecoder.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/Synchronization.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/Vector.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/LZOutWindow.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/MT.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/OutBuffer.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/mksquashfs.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/RangeCoderBit.o
usr/share/firmware-mod-kit/src/others/squashfs-2.2-r2-7z/String.o
usr/share/firmware-mod-kit/src/config.status
usr/share/firmware-mod-kit/src/firmware-tools/buffalo-lib.o
==> Creating package "firmware-mod-kit-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: firmware-mod-kit-git 0.99.r75.g104c821-1 (Sun 25 Aug 2019 08:03:58 PM EDT)
==> Cleaning up...
==> Removing installed dependencies...
checking dependencies...
:: gettext optionally requires git: for autopoint infrastructure updates

Packages (5) git-2.23.0-1  perl-error-0.17028-1  perl-mailtools-2.21-2
             perl-timedate-2.30-6  python-magic-git-20190505.r193-2

Total Removed Size:  33.42 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
removing python-magic-git...
removing git...
removing perl-mailtools...
removing perl-timedate...
removing perl-error...
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
  Skipped: Current root is not booted.
(2/2) Arming ConditionNeedsUpdate...