Cook: sg3_utils 1.42 ================================================================================ QA: checking package receipt... Extracting source archive "sg3_utils-1.42.tar.xz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed configure: loading site script /etc/slitaz/cook.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for i486-slitaz-linux-gcc... i486-slitaz-linux-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 i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ISO C89... none needed checking whether i486-slitaz-linux-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of i486-slitaz-linux-gcc... gcc3 checking build system type... i486-slitaz-linux-gnu checking host system type... i486-slitaz-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by i486-slitaz-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert i486-slitaz-linux-gnu file names to i486-slitaz-linux-gnu format... func_convert_file_noop checking how to convert i486-slitaz-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i486-slitaz-linux-objdump... i486-slitaz-linux-objdump checking how to recognize dependent libraries... pass_all checking for i486-slitaz-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i486-slitaz-linux-ar... i486-slitaz-linux-ar checking for archiver @FILE support... @ checking for i486-slitaz-linux-strip... i486-slitaz-linux-strip checking for i486-slitaz-linux-ranlib... i486-slitaz-linux-ranlib checking command to parse /usr/bin/nm -B output from i486-slitaz-linux-gcc object... ok checking for sysroot... no checking for i486-slitaz-linux-mt... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... i486-slitaz-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.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 dlfcn.h... yes checking for objdir... .libs checking if i486-slitaz-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i486-slitaz-linux-gcc option to produce PIC... -fPIC -DPIC checking if i486-slitaz-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i486-slitaz-linux-gcc static flag -static works... yes checking if i486-slitaz-linux-gcc supports -c -o file.o... yes checking if i486-slitaz-linux-gcc supports -c -o file.o... (cached) yes checking whether the i486-slitaz-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ANSI C header files... (cached) yes checking for linux/types.h... yes checking for linux/bsg.h... yes checking for linux/kdev_t.h... yes checking for getopt_long... yes checking for posix_fadvise... yes checking for posix_memalign... yes checking for sysconf... yes checking for lseek64... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating scripts/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands make all-recursive make[1]: Entering directory '/home/slitaz/wok/sg3_utils/source/sg3_utils-1.42' Making all in include make[2]: Entering directory '/home/slitaz/wok/sg3_utils/source/sg3_utils-1.42/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/slitaz/wok/sg3_utils/source/sg3_utils-1.42/include' Making all in lib make[2]: Entering directory '/home/slitaz/wok/sg3_utils/source/sg3_utils-1.42/lib' /bin/sh ../libtool --tag=CC --mode=compile i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_lib.lo -MD -MP -MF .deps/sg_lib.Tpo -c -o sg_lib.lo sg_lib.c /bin/sh ../libtool --tag=CC --mode=compile i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_lib_data.lo -MD -MP -MF .deps/sg_lib_data.Tpo -c -o sg_lib_data.lo sg_lib_data.c /bin/sh ../libtool --tag=CC --mode=compile i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_cmds_basic.lo -MD -MP -MF .deps/sg_cmds_basic.Tpo -c -o sg_cmds_basic.lo sg_cmds_basic.c /bin/sh ../libtool --tag=CC --mode=compile i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_cmds_basic2.lo -MD -MP -MF .deps/sg_cmds_basic2.Tpo -c -o sg_cmds_basic2.lo sg_cmds_basic2.c /bin/sh ../libtool --tag=CC --mode=compile i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_cmds_extra.lo -MD -MP -MF .deps/sg_cmds_extra.Tpo -c -o sg_cmds_extra.lo sg_cmds_extra.c /bin/sh ../libtool --tag=CC --mode=compile i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_cmds_mmc.lo -MD -MP -MF .deps/sg_cmds_mmc.Tpo -c -o sg_cmds_mmc.lo sg_cmds_mmc.c libtool: compile: i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_cmds_basic.lo -MD -MP -MF .deps/sg_cmds_basic.Tpo -c sg_cmds_basic.c -fPIC -DPIC -o .libs/sg_cmds_basic.o libtool: compile: i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_cmds_basic2.lo -MD -MP -MF .deps/sg_cmds_basic2.Tpo -c sg_cmds_basic2.c -fPIC -DPIC -o .libs/sg_cmds_basic2.o libtool: compile: i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_lib_data.lo -MD -MP -MF .deps/sg_lib_data.Tpo -c sg_lib_data.c -fPIC -DPIC -o .libs/sg_lib_data.o libtool: compile: i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_lib.lo -MD -MP -MF .deps/sg_lib.Tpo -c sg_lib.c -fPIC -DPIC -o .libs/sg_lib.o libtool: compile: i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_cmds_mmc.lo -MD -MP -MF .deps/sg_cmds_mmc.Tpo -c sg_cmds_mmc.c -fPIC -DPIC -o .libs/sg_cmds_mmc.o libtool: compile: i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_cmds_extra.lo -MD -MP -MF .deps/sg_cmds_extra.Tpo -c sg_cmds_extra.c -fPIC -DPIC -o .libs/sg_cmds_extra.o sg_cmds_basic.c: In function 'sg_cmds_process_helper': sg_cmds_basic.c:139:9: warning: this statement may fall through [-Wimplicit-fallthrough=] ++check_data_in; ^~~~~~~~~~~~~~~ sg_cmds_basic.c:141:5: note: here case SG_LIB_CAT_UNIT_ATTENTION: ^~~~ mv -f .deps/sg_lib_data.Tpo .deps/sg_lib_data.Plo /bin/sh ../libtool --tag=CC --mode=compile i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_pt_common.lo -MD -MP -MF .deps/sg_pt_common.Tpo -c -o sg_pt_common.lo sg_pt_common.c libtool: compile: i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_pt_common.lo -MD -MP -MF .deps/sg_pt_common.Tpo -c sg_pt_common.c -fPIC -DPIC -o .libs/sg_pt_common.o mv -f .deps/sg_cmds_mmc.Tpo .deps/sg_cmds_mmc.Plo /bin/sh ../libtool --tag=CC --mode=compile i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_pt_linux.lo -MD -MP -MF .deps/sg_pt_linux.Tpo -c -o sg_pt_linux.lo sg_pt_linux.c libtool: compile: i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_pt_linux.lo -MD -MP -MF .deps/sg_pt_linux.Tpo -c sg_pt_linux.c -fPIC -DPIC -o .libs/sg_pt_linux.o mv -f .deps/sg_pt_common.Tpo .deps/sg_pt_common.Plo /bin/sh ../libtool --tag=CC --mode=compile i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_io_linux.lo -MD -MP -MF .deps/sg_io_linux.Tpo -c -o sg_io_linux.lo sg_io_linux.c libtool: compile: i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_io_linux.lo -MD -MP -MF .deps/sg_io_linux.Tpo -c sg_io_linux.c -fPIC -DPIC -o .libs/sg_io_linux.o mv -f .deps/sg_cmds_basic.Tpo .deps/sg_cmds_basic.Plo mv -f .deps/sg_io_linux.Tpo .deps/sg_io_linux.Plo mv -f .deps/sg_cmds_basic2.Tpo .deps/sg_cmds_basic2.Plo mv -f .deps/sg_pt_linux.Tpo .deps/sg_pt_linux.Plo mv -f .deps/sg_cmds_extra.Tpo .deps/sg_cmds_extra.Plo mv -f .deps/sg_lib.Tpo .deps/sg_lib.Plo /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -version-info 2:0:0 -no-undefined -Wl,-Os,--as-needed -o libsgutils2.la -rpath /usr/lib sg_lib.lo sg_lib_data.lo sg_cmds_basic.lo sg_cmds_basic2.lo sg_cmds_extra.lo sg_cmds_mmc.lo sg_pt_common.lo sg_pt_linux.lo sg_io_linux.lo libtool: link: i486-slitaz-linux-gcc -Wl,-Os,--as-needed -shared -fPIC -DPIC .libs/sg_lib.o .libs/sg_lib_data.o .libs/sg_cmds_basic.o .libs/sg_cmds_basic2.o .libs/sg_cmds_extra.o .libs/sg_cmds_mmc.o .libs/sg_pt_common.o .libs/sg_pt_linux.o .libs/sg_io_linux.o -march=i486 -Os -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -Wl,-soname -Wl,libsgutils2.so.2 -o .libs/libsgutils2.so.2.0.0 libtool: link: (cd ".libs" && rm -f "libsgutils2.so.2" && ln -s "libsgutils2.so.2.0.0" "libsgutils2.so.2") libtool: link: (cd ".libs" && rm -f "libsgutils2.so" && ln -s "libsgutils2.so.2.0.0" "libsgutils2.so") libtool: link: ( cd ".libs" && rm -f "libsgutils2.la" && ln -s "../libsgutils2.la" "libsgutils2.la" ) make[2]: Leaving directory '/home/slitaz/wok/sg3_utils/source/sg3_utils-1.42/lib' Making all in src make[2]: Entering directory '/home/slitaz/wok/sg3_utils/source/sg3_utils-1.42/src' i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_compare_and_write.o -MD -MP -MF .deps/sg_compare_and_write.Tpo -c -o sg_compare_and_write.o sg_compare_and_write.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_decode_sense.o -MD -MP -MF .deps/sg_decode_sense.Tpo -c -o sg_decode_sense.o sg_decode_sense.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_format.o -MD -MP -MF .deps/sg_format.Tpo -c -o sg_format.o sg_format.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_get_config.o -MD -MP -MF .deps/sg_get_config.Tpo -c -o sg_get_config.o sg_get_config.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_get_lba_status.o -MD -MP -MF .deps/sg_get_lba_status.Tpo -c -o sg_get_lba_status.o sg_get_lba_status.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_ident.o -MD -MP -MF .deps/sg_ident.Tpo -c -o sg_ident.o sg_ident.c mv -f .deps/sg_ident.Tpo .deps/sg_ident.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_inq.o -MD -MP -MF .deps/sg_inq.Tpo -c -o sg_inq.o sg_inq.c mv -f .deps/sg_compare_and_write.Tpo .deps/sg_compare_and_write.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_inq_data.o -MD -MP -MF .deps/sg_inq_data.Tpo -c -o sg_inq_data.o sg_inq_data.c mv -f .deps/sg_get_lba_status.Tpo .deps/sg_get_lba_status.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_logs.o -MD -MP -MF .deps/sg_logs.Tpo -c -o sg_logs.o sg_logs.c mv -f .deps/sg_decode_sense.Tpo .deps/sg_decode_sense.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_luns.o -MD -MP -MF .deps/sg_luns.Tpo -c -o sg_luns.o sg_luns.c mv -f .deps/sg_inq_data.Tpo .deps/sg_inq_data.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_modes.o -MD -MP -MF .deps/sg_modes.Tpo -c -o sg_modes.o sg_modes.c mv -f .deps/sg_get_config.Tpo .deps/sg_get_config.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_opcodes.o -MD -MP -MF .deps/sg_opcodes.Tpo -c -o sg_opcodes.o sg_opcodes.c mv -f .deps/sg_format.Tpo .deps/sg_format.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_persist.o -MD -MP -MF .deps/sg_persist.Tpo -c -o sg_persist.o sg_persist.c mv -f .deps/sg_luns.Tpo .deps/sg_luns.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_prevent.o -MD -MP -MF .deps/sg_prevent.Tpo -c -o sg_prevent.o sg_prevent.c mv -f .deps/sg_modes.Tpo .deps/sg_modes.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_raw.o -MD -MP -MF .deps/sg_raw.Tpo -c -o sg_raw.o sg_raw.c mv -f .deps/sg_opcodes.Tpo .deps/sg_opcodes.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_rdac.o -MD -MP -MF .deps/sg_rdac.Tpo -c -o sg_rdac.o sg_rdac.c mv -f .deps/sg_prevent.Tpo .deps/sg_prevent.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_read_attr.o -MD -MP -MF .deps/sg_read_attr.Tpo -c -o sg_read_attr.o sg_read_attr.c mv -f .deps/sg_rdac.Tpo .deps/sg_rdac.Po mv -f .deps/sg_raw.Tpo .deps/sg_raw.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_read_block_limits.o -MD -MP -MF .deps/sg_read_block_limits.Tpo -c -o sg_read_block_limits.o sg_read_block_limits.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_read_buffer.o -MD -MP -MF .deps/sg_read_buffer.Tpo -c -o sg_read_buffer.o sg_read_buffer.c mv -f .deps/sg_persist.Tpo .deps/sg_persist.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_read_long.o -MD -MP -MF .deps/sg_read_long.Tpo -c -o sg_read_long.o sg_read_long.c sg_read_long.c: In function 'main': sg_read_long.c:37:12: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 227 [-Wformat-truncation=] #define ME "sg_read_long: " ^~~~~~~~~~~~~~~~ sg_read_long.c:251:26: note: in expansion of macro 'ME' ME "could not open %s for writing", out_fname); ^~ sg_read_long.c:262:58: note: format string is defined here snprintf(ebuff, EBUFF_SZ, ME "couldn't write to %s", out_fname); ^~ In file included from /usr/include/stdio.h:873, from sg_read_long.c:17: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 42 and 297 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg_read_long.c:37:12: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 224 [-Wformat-truncation=] #define ME "sg_read_long: " ^~~~~~~~~~~~~~~~ sg_read_long.c:262:39: note: in expansion of macro 'ME' snprintf(ebuff, EBUFF_SZ, ME "couldn't write to %s", out_fname); ^~ sg_read_long.c:262:61: note: format string is defined here snprintf(ebuff, EBUFF_SZ, ME "couldn't write to %s", out_fname); ^~ In file included from /usr/include/stdio.h:873, from sg_read_long.c:17: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 33 and 288 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/sg_read_buffer.Tpo .deps/sg_read_buffer.Po mv -f .deps/sg_read_block_limits.Tpo .deps/sg_read_block_limits.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_readcap.o -MD -MP -MF .deps/sg_readcap.Tpo -c -o sg_readcap.o sg_readcap.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_reassign.o -MD -MP -MF .deps/sg_reassign.Tpo -c -o sg_reassign.o sg_reassign.c mv -f .deps/sg_read_long.Tpo .deps/sg_read_long.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_referrals.o -MD -MP -MF .deps/sg_referrals.Tpo -c -o sg_referrals.o sg_referrals.c mv -f .deps/sg_read_attr.Tpo .deps/sg_read_attr.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_rep_zones.o -MD -MP -MF .deps/sg_rep_zones.Tpo -c -o sg_rep_zones.o sg_rep_zones.c mv -f .deps/sg_referrals.Tpo .deps/sg_referrals.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_requests.o -MD -MP -MF .deps/sg_requests.Tpo -c -o sg_requests.o sg_requests.c mv -f .deps/sg_readcap.Tpo .deps/sg_readcap.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_reset_wp.o -MD -MP -MF .deps/sg_reset_wp.Tpo -c -o sg_reset_wp.o sg_reset_wp.c mv -f .deps/sg_inq.Tpo .deps/sg_inq.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_rmsn.o -MD -MP -MF .deps/sg_rmsn.Tpo -c -o sg_rmsn.o sg_rmsn.c mv -f .deps/sg_reassign.Tpo .deps/sg_reassign.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_rtpg.o -MD -MP -MF .deps/sg_rtpg.Tpo -c -o sg_rtpg.o sg_rtpg.c mv -f .deps/sg_rep_zones.Tpo .deps/sg_rep_zones.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_safte.o -MD -MP -MF .deps/sg_safte.Tpo -c -o sg_safte.o sg_safte.c mv -f .deps/sg_requests.Tpo .deps/sg_requests.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_sanitize.o -MD -MP -MF .deps/sg_sanitize.Tpo -c -o sg_sanitize.o sg_sanitize.c mv -f .deps/sg_reset_wp.Tpo .deps/sg_reset_wp.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_sat_identify.o -MD -MP -MF .deps/sg_sat_identify.Tpo -c -o sg_sat_identify.o sg_sat_identify.c mv -f .deps/sg_rmsn.Tpo .deps/sg_rmsn.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_sat_phy_event.o -MD -MP -MF .deps/sg_sat_phy_event.Tpo -c -o sg_sat_phy_event.o sg_sat_phy_event.c mv -f .deps/sg_rtpg.Tpo .deps/sg_rtpg.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_sat_read_gplog.o -MD -MP -MF .deps/sg_sat_read_gplog.Tpo -c -o sg_sat_read_gplog.o sg_sat_read_gplog.c sg_sat_identify.c: In function 'do_identify_dev': sg_sat_identify.c:201:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (verbose < 2) ^~ sg_sat_identify.c:205:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return SG_LIB_CAT_RECOVERED; ^~~~~~ mv -f .deps/sg_sat_identify.Tpo .deps/sg_sat_identify.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_sat_set_features.o -MD -MP -MF .deps/sg_sat_set_features.Tpo -c -o sg_sat_set_features.o sg_sat_set_features.c mv -f .deps/sg_safte.Tpo .deps/sg_safte.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_senddiag.o -MD -MP -MF .deps/sg_senddiag.Tpo -c -o sg_senddiag.o sg_senddiag.c mv -f .deps/sg_sat_read_gplog.Tpo .deps/sg_sat_read_gplog.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_ses.o -MD -MP -MF .deps/sg_ses.Tpo -c -o sg_ses.o sg_ses.c mv -f .deps/sg_sat_phy_event.Tpo .deps/sg_sat_phy_event.Po mv -f .deps/sg_sanitize.Tpo .deps/sg_sanitize.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_ses_microcode.o -MD -MP -MF .deps/sg_ses_microcode.Tpo -c -o sg_ses_microcode.o sg_ses_microcode.c i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_start.o -MD -MP -MF .deps/sg_start.Tpo -c -o sg_start.o sg_start.c mv -f .deps/sg_sat_set_features.Tpo .deps/sg_sat_set_features.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_stpg.o -MD -MP -MF .deps/sg_stpg.Tpo -c -o sg_stpg.o sg_stpg.c sg_ses.c: In function 'enc_status_helper': sg_ses.c:1904:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (nofilter || ((0xc0 & statp[1]) || (0xe & statp[2]))) ^~ sg_ses.c:1909:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' printf("%s DC overcurrent=%d\n", pad, !!(statp[2] & 0x2)); ^~~~~~ mv -f .deps/sg_senddiag.Tpo .deps/sg_senddiag.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_sync.o -MD -MP -MF .deps/sg_sync.Tpo -c -o sg_sync.o sg_sync.c mv -f .deps/sg_start.Tpo .deps/sg_start.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_timestamp.o -MD -MP -MF .deps/sg_timestamp.Tpo -c -o sg_timestamp.o sg_timestamp.c mv -f .deps/sg_ses_microcode.Tpo .deps/sg_ses_microcode.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_turs.o -MD -MP -MF .deps/sg_turs.Tpo -c -o sg_turs.o sg_turs.c mv -f .deps/sg_sync.Tpo .deps/sg_sync.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_unmap.o -MD -MP -MF .deps/sg_unmap.Tpo -c -o sg_unmap.o sg_unmap.c mv -f .deps/sg_stpg.Tpo .deps/sg_stpg.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_verify.o -MD -MP -MF .deps/sg_verify.Tpo -c -o sg_verify.o sg_verify.c mv -f .deps/sg_turs.Tpo .deps/sg_turs.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_vpd.o -MD -MP -MF .deps/sg_vpd.Tpo -c -o sg_vpd.o sg_vpd.c mv -f .deps/sg_timestamp.Tpo .deps/sg_timestamp.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_vpd_vendor.o -MD -MP -MF .deps/sg_vpd_vendor.Tpo -c -o sg_vpd_vendor.o sg_vpd_vendor.c mv -f .deps/sg_verify.Tpo .deps/sg_verify.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_wr_mode.o -MD -MP -MF .deps/sg_wr_mode.Tpo -c -o sg_wr_mode.o sg_wr_mode.c mv -f .deps/sg_unmap.Tpo .deps/sg_unmap.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_write_buffer.o -MD -MP -MF .deps/sg_write_buffer.Tpo -c -o sg_write_buffer.o sg_write_buffer.c mv -f .deps/sg_logs.Tpo .deps/sg_logs.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_write_long.o -MD -MP -MF .deps/sg_write_long.Tpo -c -o sg_write_long.o sg_write_long.c mv -f .deps/sg_wr_mode.Tpo .deps/sg_wr_mode.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_write_same.o -MD -MP -MF .deps/sg_write_same.Tpo -c -o sg_write_same.o sg_write_same.c sg_write_long.c: In function 'main': sg_write_long.c:42:12: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 226 [-Wformat-truncation=] #define ME "sg_write_long: " ^~~~~~~~~~~~~~~~~ sg_write_long.c:225:30: note: in expansion of macro 'ME' ME "could not open %s for reading", file_name); ^~ sg_write_long.c:250:36: note: format string is defined here pr2serr(ME "issue write long to device %s\n\t\txfer_len= %d (0x%x), " ^~ In file included from /usr/include/stdio.h:873, from sg_write_long.c:19: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 43 and 298 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg_write_long.c:42:12: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 222 [-Wformat-truncation=] #define ME "sg_write_long: " ^~~~~~~~~~~~~~~~~ sg_write_long.c:233:43: note: in expansion of macro 'ME' snprintf(ebuff, EBUFF_SZ, ME "couldn't read from %s", ^~ sg_write_long.c:250:40: note: format string is defined here pr2serr(ME "issue write long to device %s\n\t\txfer_len= %d (0x%x), " ^~ In file included from /usr/include/stdio.h:873, from sg_write_long.c:19: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 35 and 290 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/sg_write_buffer.Tpo .deps/sg_write_buffer.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_write_verify.o -MD -MP -MF .deps/sg_write_verify.Tpo -c -o sg_write_verify.o sg_write_verify.c mv -f .deps/sg_vpd_vendor.Tpo .deps/sg_vpd_vendor.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_zone.o -MD -MP -MF .deps/sg_zone.Tpo -c -o sg_zone.o sg_zone.c mv -f .deps/sg_write_long.Tpo .deps/sg_write_long.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_copy_results.o -MD -MP -MF .deps/sg_copy_results.Tpo -c -o sg_copy_results.o sg_copy_results.c mv -f .deps/sg_write_same.Tpo .deps/sg_write_same.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_dd.o -MD -MP -MF .deps/sg_dd.Tpo -c -o sg_dd.o sg_dd.c mv -f .deps/sg_zone.Tpo .deps/sg_zone.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_emc_trespass.o -MD -MP -MF .deps/sg_emc_trespass.Tpo -c -o sg_emc_trespass.o sg_emc_trespass.c mv -f .deps/sg_emc_trespass.Tpo .deps/sg_emc_trespass.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_map.o -MD -MP -MF .deps/sg_map.Tpo -c -o sg_map.o sg_map.c mv -f .deps/sg_copy_results.Tpo .deps/sg_copy_results.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_map26.o -MD -MP -MF .deps/sg_map26.Tpo -c -o sg_map26.o sg_map26.c sg_dd.c: In function 'sg_read': sg_dd.c:776:21: warning: this statement may fall through [-Wimplicit-fallthrough=] may_coe = 1; ~~~~~~~~^~~ sg_dd.c:777:9: note: here default: ^~~~~~~ sg_dd.c: In function 'sg_read_low': sg_dd.c:666:12: warning: this statement may fall through [-Wimplicit-fallthrough=] if (5 == ifp->pdt) { /* MMC READs can go down this path */ ^ sg_dd.c:689:5: note: here default: ^~~~~~~ mv -f .deps/sg_write_verify.Tpo .deps/sg_write_verify.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_rbuf.o -MD -MP -MF .deps/sg_rbuf.Tpo -c -o sg_rbuf.o sg_rbuf.c sg_map26.c: In function 'nt_typ_from_filename': sg_map26.c:218:14: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] ma = major(st.st_rdev); ^~~~~ sg_map26.c:219:14: warning: implicit declaration of function 'minor'; did you mean 'mknod'? [-Wimplicit-function-declaration] mi = minor(st.st_rdev); ^~~~~ mknod sg_map26.c: In function 'map_st': sg_map26.c:91:21: warning: left shift of negative value [-Wshift-negative-value] ((minor) & ~(-1 << ST_MODE_SHIFT)) ) ^~ sg_map26.c:811:18: note: in expansion of macro 'TAPE_NR' TAPE_NR(mi)); ^~~~~~~ sg_map26.c: In function 'map_osst': sg_map26.c:91:21: warning: left shift of negative value [-Wshift-negative-value] ((minor) & ~(-1 << ST_MODE_SHIFT)) ) ^~ sg_map26.c:869:18: note: in expansion of macro 'TAPE_NR' TAPE_NR(mi)); ^~~~~~~ mv -f .deps/sg_rbuf.Tpo .deps/sg_rbuf.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_read.o -MD -MP -MF .deps/sg_read.Tpo -c -o sg_read.o sg_read.c mv -f .deps/sg_map.Tpo .deps/sg_map.Po sg_dd.c: In function 'main': sg_dd.c:66:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 467 [-Wformat-truncation=] #define ME "sg_dd: " ^~~~~~~~~ sg_dd.c:1285:47: note: in expansion of macro 'ME' snprintf(ebuff, EBUFF_SZ, ME "couldn't skip to " ^~ i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_reset.o -MD -MP -MF .deps/sg_reset.Tpo -c -o sg_reset.o sg_reset.c sg_dd.c:2150:42: note: format string is defined here "seek=%" PRId64 " ", seek); ^~ In file included from /usr/include/stdio.h:873, from sg_dd.c:35: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 46 and 557 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg_dd.c:66:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 490 [-Wformat-truncation=] #define ME "sg_dd: " ^~~~~~~~~ sg_dd.c:1274:22: note: in expansion of macro 'ME' ME "could not open %s for reading", inf); ^~ sg_dd.c:2149:62: note: format string is defined here snprintf(ebuff, EBUFF_SZ, ME "writing(sparse after error), " ^~ In file included from /usr/include/stdio.h:873, from sg_dd.c:35: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 35 and 546 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg_dd.c:66:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 490 [-Wformat-truncation=] #define ME "sg_dd: " ^~~~~~~~~ sg_dd.c:1234:26: note: in expansion of macro 'ME' ME "could not open %s for sg reading", inf); ^~ sg_dd.c:2149:62: note: format string is defined here snprintf(ebuff, EBUFF_SZ, ME "writing(sparse after error), " ^~ In file included from /usr/include/stdio.h:873, from sg_dd.c:35: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 38 and 549 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg_dd.c:66:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 477 [-Wformat-truncation=] #define ME "sg_dd: " ^~~~~~~~~ sg_dd.c:1310:39: note: in expansion of macro 'ME' snprintf(ebuff, EBUFF_SZ, ME "flock(LOCK_EX | LOCK_NB) on %s " ^~ sg_dd.c:2149:75: note: format string is defined here snprintf(ebuff, EBUFF_SZ, ME "writing(sparse after error), " ^~ "seek=%" PRId64 " ", seek); ~~ In file included from /usr/include/stdio.h:873, from sg_dd.c:35: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 43 and 554 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg_dd.c:66:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 490 [-Wformat-truncation=] #define ME "sg_dd: " ^~~~~~~~~ sg_dd.c:1412:25: note: in expansion of macro 'ME' ME "could not open %s for raw writing", outf); ^~ sg_dd.c:2149:62: note: format string is defined here snprintf(ebuff, EBUFF_SZ, ME "writing(sparse after error), " ^~ In file included from /usr/include/stdio.h:873, from sg_dd.c:35: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 39 and 550 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg_dd.c:66:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 490 [-Wformat-truncation=] #define ME "sg_dd: " ^~~~~~~~~ sg_dd.c:1398:25: note: in expansion of macro 'ME' ME "could not open %s for writing", outf); ^~ sg_dd.c:2149:62: note: format string is defined here snprintf(ebuff, EBUFF_SZ, ME "writing(sparse after error), " ^~ In file included from /usr/include/stdio.h:873, from sg_dd.c:35: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 35 and 546 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg_dd.c:66:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 467 [-Wformat-truncation=] #define ME "sg_dd: " ^~~~~~~~~ sg_dd.c:1426:21: note: in expansion of macro 'ME' ME "couldn't seek to required position on %s", outf); ^~ sg_dd.c:2150:42: note: format string is defined here "seek=%" PRId64 " ", seek); ^~ In file included from /usr/include/stdio.h:873, from sg_dd.c:35: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 46 and 557 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg_dd.c:66:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 490 [-Wformat-truncation=] #define ME "sg_dd: " ^~~~~~~~~ sg_dd.c:1358:22: note: in expansion of macro 'ME' ME "could not open %s for sg writing", outf); ^~ sg_dd.c:2149:62: note: format string is defined here snprintf(ebuff, EBUFF_SZ, ME "writing(sparse after error), " ^~ In file included from /usr/include/stdio.h:873, from sg_dd.c:35: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 38 and 549 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg_dd.c:66:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 477 [-Wformat-truncation=] #define ME "sg_dd: " ^~~~~~~~~ sg_dd.c:1439:39: note: in expansion of macro 'ME' snprintf(ebuff, EBUFF_SZ, ME "flock(LOCK_EX | LOCK_NB) on %s " ^~ sg_dd.c:2149:75: note: format string is defined here snprintf(ebuff, EBUFF_SZ, ME "writing(sparse after error), " ^~ "seek=%" PRId64 " ", seek); ~~ In file included from /usr/include/stdio.h:873, from sg_dd.c:35: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 43 and 554 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg_dd.c:66:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 490 [-Wformat-truncation=] #define ME "sg_dd: " ^~~~~~~~~ sg_dd.c:1698:22: note: in expansion of macro 'ME' ME "could not open %s for writing", out2f); ^~ sg_dd.c:2149:62: note: format string is defined here snprintf(ebuff, EBUFF_SZ, ME "writing(sparse after error), " ^~ In file included from /usr/include/stdio.h:873, from sg_dd.c:35: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 35 and 546 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/sg_ses.Tpo .deps/sg_ses.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_scan_linux.o -MD -MP -MF .deps/sg_scan_linux.Tpo -c -o sg_scan_linux.o sg_scan_linux.c mv -f .deps/sg_map26.Tpo .deps/sg_map26.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_test_rwbuf.o -MD -MP -MF .deps/sg_test_rwbuf.Tpo -c -o sg_test_rwbuf.o sg_test_rwbuf.c sg_reset.c: In function 'main': sg_reset.c:268:13: warning: this statement may fall through [-Wimplicit-fallthrough=] pr2serr(ME "SG_SCSI_RESET not supported (for value=0x%x)\n", k); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg_reset.c:269:9: note: here default: ^~~~~~~ mv -f .deps/sg_reset.Tpo .deps/sg_reset.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sg_xcopy.o -MD -MP -MF .deps/sg_xcopy.Tpo -c -o sg_xcopy.o sg_xcopy.c sg_read.c: In function 'main': sg_read.c:60:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 465 [-Wformat-truncation=] #define ME "sg_read: " ^~~~~~~~~~~ sg_read.c:611:21: note: in expansion of macro 'ME' ME "couldn't skip to required position on %s", inf); ^~ sg_read.c:734:67: note: format string is defined here pr2serr(ME "short read: wanted/got=%d/%d bytes, stop\n", ^~ In file included from /usr/include/stdio.h:873, from sg_read.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 48 and 559 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg_read.c:60:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 488 [-Wformat-truncation=] #define ME "sg_read: " ^~~~~~~~~~~ sg_read.c:599:22: note: in expansion of macro 'ME' ME "could not open %s for reading", inf); ^~ sg_read.c:734:44: note: format string is defined here pr2serr(ME "short read: wanted/got=%d/%d bytes, stop\n", ^~ In file included from /usr/include/stdio.h:873, from sg_read.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 37 and 548 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg_read.c:60:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 488 [-Wformat-truncation=] #define ME "sg_read: " ^~~~~~~~~~~ sg_read.c:557:26: note: in expansion of macro 'ME' ME "could not open %s for sg reading", inf); ^~ sg_read.c:734:44: note: format string is defined here pr2serr(ME "short read: wanted/got=%d/%d bytes, stop\n", ^~ In file included from /usr/include/stdio.h:873, from sg_read.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 40 and 551 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/sg_scan_linux.Tpo .deps/sg_scan_linux.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sginfo.o -MD -MP -MF .deps/sginfo.Tpo -c -o sginfo.o sginfo.c mv -f .deps/sg_dd.Tpo .deps/sg_dd.Po i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sgm_dd.o -MD -MP -MF .deps/sgm_dd.Tpo -c -o sgm_dd.o sgm_dd.c mv -f .deps/sg_test_rwbuf.Tpo .deps/sg_test_rwbuf.Po sginfo.c: In function 'get_mode_page10': sginfo.c:902:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ sginfo.c:905:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return status; ^~~~~~ i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I.. -iquote ../include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GLIBCXX_USE_C99_MATH=1 -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -MT sgp_dd.o -MD -MP -MF .deps/sgp_dd.Tpo -c -o sgp_dd.o sgp_dd.c mv -f .deps/sg_read.Tpo .deps/sg_read.Po /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_compare_and_write sg_compare_and_write.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_compare_and_write sg_compare_and_write.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_decode_sense sg_decode_sense.o ../lib/libsgutils2.la sginfo.c: In function 'show_devices': sginfo.c:3429:51: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 251 [-Wformat-truncation=] snprintf(dev_name, sizeof(dev_name),"/dev/%s",entry->d_name); ^~ In file included from /usr/include/stdio.h:873, from sginfo.c:127: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 261 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sginfo.c:3447:40: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 239 [-Wformat-truncation=] "SCSI(2) ioctl on %s failed", dev_name); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from sginfo.c:127: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 25 and 280 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sginfo.c:3518:61: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 239 [-Wformat-truncation=] snprintf(ebuff, EBUFF_SZ, "SCSI(3) ioctl on %s failed", name); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from sginfo.c:127: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 25 and 280 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sginfo.c:3509:61: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 239 [-Wformat-truncation=] snprintf(ebuff, EBUFF_SZ, "SCSI(3) ioctl on %s failed", name); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from sginfo.c:127: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 25 and 280 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/sg_vpd.Tpo .deps/sg_vpd.Po sgm_dd.c: In function 'main': sgm_dd.c:75:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 466 [-Wformat-truncation=] #define ME "sgm_dd: " ^~~~~~~~~~ sgm_dd.c:966:47: note: in expansion of macro 'ME' snprintf(ebuff, EBUFF_SZ, ME "couldn't skip to " ^~ In file included from /usr/include/stdio.h:873, from sgm_dd.c:39: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 47 and 558 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sgm_dd.c:75:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 489 [-Wformat-truncation=] #define ME "sgm_dd: " ^~~~~~~~~~ sgm_dd.c:957:26: note: in expansion of macro 'ME' ME "could not open %s for reading", inf); ^~ In file included from sgm_dd.c:47: /usr/include/inttypes.h:47:27: note: format string is defined here # define __PRI64_PREFIX "ll" ^~ In file included from /usr/include/stdio.h:873, from sgm_dd.c:39: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 36 and 547 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sgm_dd.c:75:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 476 [-Wformat-truncation=] #define ME "sgm_dd: " ^~~~~~~~~~ sgm_dd.c:943:26: note: in expansion of macro 'ME' ME "error using mmap() on file: %s", inf); ^~ /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_format sg_format.o ../lib/libsgutils2.la In file included from /usr/include/stdio.h:873, from sgm_dd.c:39: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 37 and 548 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sgm_dd.c:75:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 489 [-Wformat-truncation=] #define ME "sgm_dd: " ^~~~~~~~~~ sgm_dd.c:915:26: note: in expansion of macro 'ME' ME "could not open %s for sg reading", inf); ^~ In file included from sgm_dd.c:47: /usr/include/inttypes.h:47:27: note: format string is defined here # define __PRI64_PREFIX "ll" ^~ In file included from /usr/include/stdio.h:873, from sgm_dd.c:39: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 39 and 550 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sgm_dd.c:75:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 489 [-Wformat-truncation=] #define ME "sgm_dd: " ^~~~~~~~~~ sgm_dd.c:1053:47: note: in expansion of macro 'ME' snprintf(ebuff, EBUFF_SZ, ME "could not open %s " ^~ In file included from sgm_dd.c:47: /usr/include/inttypes.h:47:27: note: format string is defined here # define __PRI64_PREFIX "ll" ^~ In file included from /usr/include/stdio.h:873, from sgm_dd.c:39: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 40 and 551 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sgm_dd.c:75:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 489 [-Wformat-truncation=] #define ME "sgm_dd: " ^~~~~~~~~~ sgm_dd.c:1046:30: note: in expansion of macro 'ME' ME "could not open %s for writing", outf); ^~ In file included from sgm_dd.c:47: /usr/include/inttypes.h:47:27: note: format string is defined here # define __PRI64_PREFIX "ll" ^~ In file included from /usr/include/stdio.h:873, from sgm_dd.c:39: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 36 and 547 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sgm_dd.c:75:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 466 [-Wformat-truncation=] #define ME "sgm_dd: " ^~~~~~~~~~ sgm_dd.c:1064:47: note: in expansion of macro 'ME' snprintf(ebuff, EBUFF_SZ, ME "couldn't seek to " ^~ In file included from /usr/include/stdio.h:873, from sgm_dd.c:39: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 47 and 558 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sgm_dd.c:75:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 476 [-Wformat-truncation=] #define ME "sgm_dd: " ^~~~~~~~~~ sgm_dd.c:1025:30: note: in expansion of macro 'ME' ME "error using mmap() on file: %s", outf); ^~ In file included from /usr/include/stdio.h:873, from sgm_dd.c:39: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 37 and 548 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sgm_dd.c:75:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 489 [-Wformat-truncation=] #define ME "sgm_dd: " ^~~~~~~~~~ sgm_dd.c:997:43: note: in expansion of macro 'ME' snprintf(ebuff, EBUFF_SZ, ME "could not open %s for " ^~ In file included from sgm_dd.c:47: /usr/include/inttypes.h:47:27: note: format string is defined here # define __PRI64_PREFIX "ll" ^~ In file included from /usr/include/stdio.h:873, from sgm_dd.c:39: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 39 and 550 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg_xcopy.c: In function 'main': sg_xcopy.c:68:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 487 [-Wformat-truncation=] #define ME "sg_xcopy: " ^~~~~~~~~~~~ sg_xcopy.c:1201:22: note: in expansion of macro 'ME' ME "could not open %s for sg reading", ifp->fname); ^~ sg_xcopy.c:1462:44: note: format string is defined here pr2serr(ME "Unrecognised short option in '%s', try " ^~ In file included from /usr/include/stdio.h:873, from sg_xcopy.c:38: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 41 and 552 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg_xcopy.c:68:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 474 [-Wformat-truncation=] #define ME "sg_xcopy: " ^~~~~~~~~~~~ sg_xcopy.c:1213:39: note: in expansion of macro 'ME' snprintf(ebuff, EBUFF_SZ, ME "flock(LOCK_EX | LOCK_NB) on %s " ^~ sg_xcopy.c:1462:57: note: format string is defined here pr2serr(ME "Unrecognised short option in '%s', try " ^~ In file included from /usr/include/stdio.h:873, from sg_xcopy.c:38: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 46 and 557 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg_xcopy.c:68:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 474 [-Wformat-truncation=] #define ME "sg_xcopy: " ^~~~~~~~~~~~ sg_xcopy.c:1256:39: note: in expansion of macro 'ME' snprintf(ebuff, EBUFF_SZ, ME "flock(LOCK_EX | LOCK_NB) on %s " ^~ sg_xcopy.c:1462:57: note: format string is defined here pr2serr(ME "Unrecognised short option in '%s', try " ^~ In file included from /usr/include/stdio.h:873, from sg_xcopy.c:38: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 46 and 557 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sg_xcopy.c:68:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 487 [-Wformat-truncation=] #define ME "sg_xcopy: " ^~~~~~~~~~~~ sg_xcopy.c:1244:22: note: in expansion of macro 'ME' ME "could not open %s for sg writing", ofp->fname); ^~ sg_xcopy.c:1462:44: note: format string is defined here pr2serr(ME "Unrecognised short option in '%s', try " ^~ In file included from /usr/include/stdio.h:873, from sg_xcopy.c:38: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 41 and 552 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_decode_sense sg_decode_sense.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_get_config sg_get_config.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_format sg_format.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_get_config sg_get_config.o ../lib/.libs/libsgutils2.so sgp_dd.c: In function 'read_write_thread': sgp_dd.c:511:26: warning: argument 'v_clp' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] read_write_thread(void * v_clp) ~~~~~~~^~~~~ mv -f .deps/sgm_dd.Tpo .deps/sgm_dd.Po /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_get_lba_status sg_get_lba_status.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_ident sg_ident.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_inq sg_inq.o sg_inq_data.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_ident sg_ident.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_inq sg_inq.o sg_inq_data.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_get_lba_status sg_get_lba_status.o ../lib/.libs/libsgutils2.so mv -f .deps/sg_xcopy.Tpo .deps/sg_xcopy.Po /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_logs sg_logs.o ../lib/libsgutils2.la sgp_dd.c: In function 'main': sgp_dd.c:69:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 466 [-Wformat-truncation=] #define ME "sgp_dd: " ^~~~~~~~~~ sgp_dd.c:1364:25: note: in expansion of macro 'ME' ME "couldn't skip to required position on %s", inf); ^~ sgp_dd.c:1432:67: note: format string is defined here ME "couldn't seek to required position on %s", outf); ^~ In file included from /usr/include/stdio.h:873, from sgp_dd.c:33: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 47 and 558 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sgp_dd.c:69:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 489 [-Wformat-truncation=] #define ME "sgp_dd: " ^~~~~~~~~~ sgp_dd.c:1354:26: note: in expansion of macro 'ME' ME "could not open %s for reading", inf); ^~ sgp_dd.c:1432:44: note: format string is defined here ME "couldn't seek to required position on %s", outf); ^~ In file included from /usr/include/stdio.h:873, from sgp_dd.c:33: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 36 and 547 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sgp_dd.c:69:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 489 [-Wformat-truncation=] #define ME "sgp_dd: " ^~~~~~~~~~ sgp_dd.c:1336:26: note: in expansion of macro 'ME' ME "could not open %s for sg reading", inf); ^~ sgp_dd.c:1432:44: note: format string is defined here ME "couldn't seek to required position on %s", outf); ^~ In file included from /usr/include/stdio.h:873, from sgp_dd.c:33: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 39 and 550 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sgp_dd.c:69:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 489 [-Wformat-truncation=] #define ME "sgp_dd: " ^~~~~~~~~~ sgp_dd.c:1421:30: note: in expansion of macro 'ME' ME "could not open %s for raw writing", outf); ^~ sgp_dd.c:1432:44: note: format string is defined here ME "couldn't seek to required position on %s", outf); ^~ In file included from /usr/include/stdio.h:873, from sgp_dd.c:33: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 40 and 551 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sgp_dd.c:69:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 489 [-Wformat-truncation=] #define ME "sgp_dd: " ^~~~~~~~~~ sgp_dd.c:1413:30: note: in expansion of macro 'ME' ME "could not open %s for writing", outf); ^~ sgp_dd.c:1432:44: note: format string is defined here ME "couldn't seek to required position on %s", outf); ^~ In file included from /usr/include/stdio.h:873, from sgp_dd.c:33: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 36 and 547 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sgp_dd.c:69:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 466 [-Wformat-truncation=] #define ME "sgp_dd: " ^~~~~~~~~~ sgp_dd.c:1432:25: note: in expansion of macro 'ME' ME "couldn't seek to required position on %s", outf); ^~ sgp_dd.c:1432:67: note: format string is defined here ME "couldn't seek to required position on %s", outf); ^~ In file included from /usr/include/stdio.h:873, from sgp_dd.c:33: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 47 and 558 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sgp_dd.c:69:12: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 489 [-Wformat-truncation=] #define ME "sgp_dd: " ^~~~~~~~~~ sgp_dd.c:1389:26: note: in expansion of macro 'ME' ME "could not open %s for sg writing", outf); ^~ sgp_dd.c:1432:44: note: format string is defined here ME "couldn't seek to required position on %s", outf); ^~ In file included from /usr/include/stdio.h:873, from sgp_dd.c:33: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 39 and 550 bytes into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_luns sg_luns.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_modes sg_modes.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_opcodes sg_opcodes.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_logs sg_logs.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_modes sg_modes.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_luns sg_luns.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_opcodes sg_opcodes.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_persist sg_persist.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_prevent sg_prevent.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_raw sg_raw.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_rdac sg_rdac.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_prevent sg_prevent.o ../lib/.libs/libsgutils2.so mv -f .deps/sgp_dd.Tpo .deps/sgp_dd.Po /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_read_attr sg_read_attr.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_persist sg_persist.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_rdac sg_rdac.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_raw sg_raw.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_read_block_limits sg_read_block_limits.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_read_buffer sg_read_buffer.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_read_long sg_read_long.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_read_attr sg_read_attr.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_readcap sg_readcap.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_read_block_limits sg_read_block_limits.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_reassign sg_reassign.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_read_buffer sg_read_buffer.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_read_long sg_read_long.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_referrals sg_referrals.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_readcap sg_readcap.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_rep_zones sg_rep_zones.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_requests sg_requests.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_reassign sg_reassign.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_referrals sg_referrals.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_reset_wp sg_reset_wp.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_requests sg_requests.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_rmsn sg_rmsn.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_rep_zones sg_rep_zones.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_rtpg sg_rtpg.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_reset_wp sg_reset_wp.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_safte sg_safte.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_sanitize sg_sanitize.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_rmsn sg_rmsn.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_sat_identify sg_sat_identify.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_rtpg sg_rtpg.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_safte sg_safte.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_sat_phy_event sg_sat_phy_event.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_sat_read_gplog sg_sat_read_gplog.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_sat_set_features sg_sat_set_features.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_sat_identify sg_sat_identify.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_sanitize sg_sanitize.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_senddiag sg_senddiag.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_sat_read_gplog sg_sat_read_gplog.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_sat_phy_event sg_sat_phy_event.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_sat_set_features sg_sat_set_features.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_ses sg_ses.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_ses_microcode sg_ses_microcode.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_start sg_start.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_senddiag sg_senddiag.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_stpg sg_stpg.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_ses sg_ses.o ../lib/.libs/libsgutils2.so mv -f .deps/sginfo.Tpo .deps/sginfo.Po /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_sync sg_sync.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_timestamp sg_timestamp.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_ses_microcode sg_ses_microcode.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_start sg_start.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_stpg sg_stpg.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_turs sg_turs.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_unmap sg_unmap.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_vpd sg_vpd.o sg_vpd_vendor.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_sync sg_sync.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_verify sg_verify.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_turs sg_turs.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_timestamp sg_timestamp.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_wr_mode sg_wr_mode.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_write_buffer sg_write_buffer.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_verify sg_verify.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_write_long sg_write_long.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_vpd sg_vpd.o sg_vpd_vendor.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_unmap sg_unmap.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_wr_mode sg_wr_mode.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_write_buffer sg_write_buffer.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_write_same sg_write_same.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_write_verify sg_write_verify.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_write_long sg_write_long.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_zone sg_zone.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_copy_results sg_copy_results.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_dd sg_dd.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_emc_trespass sg_emc_trespass.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_write_same sg_write_same.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_write_verify sg_write_verify.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_zone sg_zone.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_dd sg_dd.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_copy_results sg_copy_results.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_map sg_map.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_map26 sg_map26.o libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_emc_trespass sg_emc_trespass.o ../lib/.libs/libsgutils2.so /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_rbuf sg_rbuf.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_read sg_read.o ../lib/libsgutils2.la /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_reset sg_reset.o libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o sg_map26 sg_map26.o /bin/sh ../libtool --tag=CC --mode=link i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed -o sg_scan sg_scan_linux.o ../lib/libsgutils2.la libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_map sg_map.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o sg_reset sg_reset.o /usr/bin/ld: sg_map26.o: in function `nd_match_scandir_select': sg_map26.c:(.text+0x315): undefined reference to `minor' /usr/bin/ld: sg_map26.c:(.text+0x333): undefined reference to `major' /usr/bin/ld: sg_map26.o: in function `main': sg_map26.c:(.text.startup+0x38d): undefined reference to `major' /usr/bin/ld: sg_map26.c:(.text.startup+0x3a2): undefined reference to `minor' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:769: sg_map26] Error 1 make[2]: *** Waiting for unfinished jobs.... libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_rbuf sg_rbuf.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_read sg_read.o ../lib/.libs/libsgutils2.so libtool: link: i486-slitaz-linux-gcc -Wall -W -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os -Wl,--as-needed -o .libs/sg_scan sg_scan_linux.o ../lib/.libs/libsgutils2.so make[2]: Leaving directory '/home/slitaz/wok/sg3_utils/source/sg3_utils-1.42/src' make[1]: *** [Makefile:399: all-recursive] Error 1 make[1]: Leaving directory '/home/slitaz/wok/sg3_utils/source/sg3_utils-1.42' make: *** [Makefile:331: all] Error 2 Debug information ret1. ================================================================================ Cook date: 2020-09-13 04:16 Wasted time : 20s 1118:sg_map26.c:(.text+0x315): undefined reference to `minor' 1119:/usr/bin/ld: sg_map26.c:(.text+0x333): undefined reference to `major' 1121:sg_map26.c:(.text.startup+0x38d): undefined reference to `major' 1122:/usr/bin/ld: sg_map26.c:(.text.startup+0x3a2): undefined reference to `minor' 1123:collect2: error: ld returned 1 exit status ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================