>>> lshw 02.18 Extracting gzip -d -c /home/buildroot/autobuild/run/instance-3/dl/lshw/lshw-B.02.18.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-3/output-1/build/lshw-02.18 -xf - >>> lshw 02.18 Patching Applying 0001-Makefile-allow-to-pass-additional-LIBS.patch using patch: patching file src/Makefile patching file src/gui/Makefile Applying 0002-Fix-musl-build-basename-is-in-libgen.h.patch using patch: patching file src/core/dasd.cc patching file src/core/sysfs.cc Applying 0003-Fix-use-of-LONG_BIT.patch using patch: patching file src/core/abi.cc >>> lshw 02.18 Configuring >>> lshw 02.18 Building PATH="/home/buildroot/autobuild/run/instance-3/output-1/host/bin:/home/buildroot/autobuild/run/instance-3/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" LIBS= /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-3/output-1/build/lshw-02.18/src CC="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-gcc" CXX="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++" AR="/home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-ar" RPM_OPT_FLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static" all make[1]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/lshw-02.18/src' make -C core all /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c lshw.cc -o lshw.o make[2]: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/lshw-02.18/src/core' /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c hw.cc -o hw.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c main.cc -o main.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c print.cc -o print.o In file included from lshw.cc:7: ./core/config.h:12: warning: "gettext_noop" redefined #define gettext_noop(String) String In file included from ./core/config.h:10, from lshw.cc:7: /home/buildroot/autobuild/run/instance-3/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/libintl.h:16: note: this is the location of the previous definition #define gettext_noop(X) X In file included from hw.cc:5: config.h:12: warning: "gettext_noop" redefined #define gettext_noop(String) String In file included from config.h:10, from hw.cc:5: /home/buildroot/autobuild/run/instance-3/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/libintl.h:16: note: this is the location of the previous definition #define gettext_noop(X) X In file included from print.cc:14: config.h:12: warning: "gettext_noop" redefined #define gettext_noop(String) String In file included from config.h:10, from print.cc:14: /home/buildroot/autobuild/run/instance-3/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/libintl.h:16: note: this is the location of the previous definition #define gettext_noop(X) X /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c mem.cc -o mem.o In file included from mem.cc:19: config.h:12: warning: "gettext_noop" redefined #define gettext_noop(String) String In file included from config.h:10, from mem.cc:19: /home/buildroot/autobuild/run/instance-3/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/libintl.h:16: note: this is the location of the previous definition #define gettext_noop(X) X /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c dmi.cc -o dmi.o In file included from dmi.cc:78: config.h:12: warning: "gettext_noop" redefined #define gettext_noop(String) String In file included from config.h:10, from dmi.cc:78: /home/buildroot/autobuild/run/instance-3/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/libintl.h:16: note: this is the location of the previous definition #define gettext_noop(X) X /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c device-tree.cc -o device-tree.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c cpuinfo.cc -o cpuinfo.o device-tree.cc: In function 'bool scan_device_tree(hwNode&)': device-tree.cc:431:38: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(buffer, sizeof(buffer), "%d", currentmc); ^~~~ device-tree.cc:431:13: note: 'snprintf' output between 2 and 11 bytes into a destination of size 10 snprintf(buffer, sizeof(buffer), "%d", currentmc); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c osutils.cc -o osutils.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c pci.cc -o pci.o In file included from pci.cc:2: config.h:12: warning: "gettext_noop" redefined #define gettext_noop(String) String In file included from config.h:10, from pci.cc:2: /home/buildroot/autobuild/run/instance-3/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/libintl.h:16: note: this is the location of the previous definition #define gettext_noop(X) X /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c version.cc -o version.o In file included from version.cc:12: config.h:12: warning: "gettext_noop" redefined #define gettext_noop(String) String In file included from config.h:10, from version.cc:12: /home/buildroot/autobuild/run/instance-3/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/libintl.h:16: note: this is the location of the previous definition #define gettext_noop(X) X /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c cpuid.cc -o cpuid.o In file included from cpuid.cc:2: config.h:12: warning: "gettext_noop" redefined #define gettext_noop(String) String In file included from config.h:10, from cpuid.cc:2: /home/buildroot/autobuild/run/instance-3/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/libintl.h:16: note: this is the location of the previous definition #define gettext_noop(X) X /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c ide.cc -o ide.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c cdrom.cc -o cdrom.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c pcmcia-legacy.cc -o pcmcia-legacy.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c scsi.cc -o scsi.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c dasd.cc -o dasd.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c disk.cc -o disk.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c spd.cc -o spd.o scsi.cc: In function 'std::__cxx11::string scsi_handle(unsigned int, int, int, int)': scsi.cc:222:36: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(buffer, sizeof(buffer), "%02d", channel); ^~~~~~ scsi.cc:222:11: note: 'snprintf' output between 3 and 11 bytes into a destination of size 10 snprintf(buffer, sizeof(buffer), "%02d", channel); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scsi.cc:228:36: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(buffer, sizeof(buffer), "%02d", id); ^~~~~~ scsi.cc:228:11: note: 'snprintf' output between 3 and 11 bytes into a destination of size 10 snprintf(buffer, sizeof(buffer), "%02d", id); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scsi.cc:234:36: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(buffer, sizeof(buffer), "%02d", lun); ^~~~~~ scsi.cc:234:11: note: 'snprintf' output between 3 and 11 bytes into a destination of size 10 snprintf(buffer, sizeof(buffer), "%02d", lun); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c network.cc -o network.o In file included from network.cc:18: config.h:12: warning: "gettext_noop" redefined #define gettext_noop(String) String In file included from config.h:10, from network.cc:18: /home/buildroot/autobuild/run/instance-3/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/libintl.h:16: note: this is the location of the previous definition #define gettext_noop(X) X /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c isapnp.cc -o isapnp.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c pnp.cc -o pnp.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c fb.cc -o fb.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c options.cc -o options.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c usb.cc -o usb.o In file included from usb.cc:11: config.h:12: warning: "gettext_noop" redefined #define gettext_noop(String) String In file included from config.h:10, from usb.cc:11: /home/buildroot/autobuild/run/instance-3/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/libintl.h:16: note: this is the location of the previous definition #define gettext_noop(X) X /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c sysfs.cc -o sysfs.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c display.cc -o display.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c heuristics.cc -o heuristics.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c parisc.cc -o parisc.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c cpufreq.cc -o cpufreq.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c partitions.cc -o partitions.o partitions.cc:14: warning: "_LARGEFILE_SOURCE" redefined #define _LARGEFILE_SOURCE : note: this is the location of the previous definition /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c blockio.cc -o blockio.o blockio.cc:7: warning: "_LARGEFILE_SOURCE" redefined #define _LARGEFILE_SOURCE : note: this is the location of the previous definition partitions.cc: In function 'bool detect_gpt(source&, hwNode&)': partitions.cc:506:33: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] #define PARTITION_READONLY (1LL << 60) ~~~~~^~~~~~ partitions.cc:1111:26: note: in expansion of macro 'PARTITION_READONLY' if(p.Attributes && PARTITION_READONLY) ^~~~~~~~~~~~~~~~~~ partitions.cc:507:33: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] #define PARTITION_HIDDEN (1LL << 62) ~~~~~^~~~~~ partitions.cc:1113:26: note: in expansion of macro 'PARTITION_HIDDEN' if(p.Attributes && PARTITION_HIDDEN) ^~~~~~~~~~~~~~~~ partitions.cc:508:33: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] #define PARTITION_NOMOUNT (1LL << 63) ~~~~~^~~~~~ partitions.cc:1115:26: note: in expansion of macro 'PARTITION_NOMOUNT' if(p.Attributes && PARTITION_NOMOUNT) ^~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c lvm.cc -o lvm.o In file included from lvm.cc:13: config.h:12: warning: "gettext_noop" redefined #define gettext_noop(String) String In file included from config.h:10, from lvm.cc:13: /home/buildroot/autobuild/run/instance-3/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/libintl.h:16: note: this is the location of the previous definition #define gettext_noop(X) X /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c ideraid.cc -o ideraid.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c pcmcia.cc -o pcmcia.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c volumes.cc -o volumes.o partitions.cc:741:46: warning: '.' directive output may be truncated writing 1 byte into a region of size between 0 and 7 [-Wformat-truncation=] snprintf(gpt_version, sizeof(gpt_version), "%d.%02d", (gpt_header.Revision >> 8), (gpt_header.Revision & 0xff)); ^~~~~~~~~ partitions.cc:741:46: note: directive argument in the range [0, 255] partitions.cc:741:11: note: 'snprintf' output between 5 and 13 bytes into a destination of size 8 snprintf(gpt_version, sizeof(gpt_version), "%d.%02d", (gpt_header.Revision >> 8), (gpt_header.Revision & 0xff)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ volumes.cc:6: warning: "_LARGEFILE_SOURCE" redefined #define _LARGEFILE_SOURCE : note: this is the location of the previous definition In file included from volumes.cc:10: config.h:12: warning: "gettext_noop" redefined #define gettext_noop(String) String In file included from config.h:10, from volumes.cc:10: /home/buildroot/autobuild/run/instance-3/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/libintl.h:16: note: this is the location of the previous definition #define gettext_noop(X) X /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c mounts.cc -o mounts.o volumes.cc: In function 'bool detect_ntfs(hwNode&, source&)': volumes.cc:990:21: warning: enum constant in boolean context [-Wint-in-bool-context] if(vi->flags && VOLUME_MODIFIED_BY_CHKDSK) ^~~~~~~~~~~~~~~~~~~~~~~~~ volumes.cc:992:21: warning: enum constant in boolean context [-Wint-in-bool-context] if(vi->flags && VOLUME_MOUNTED_ON_NT4) ^~~~~~~~~~~~~~~~~~~~~ volumes.cc:994:21: warning: enum constant in boolean context [-Wint-in-bool-context] if(vi->flags && VOLUME_UPGRADE_ON_MOUNT) ^~~~~~~~~~~~~~~~~~~~~~~ volumes.cc:996:21: warning: enum constant in boolean context [-Wint-in-bool-context] if(vi->flags && VOLUME_RESIZE_LOG_FILE) ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c smp.cc -o smp.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c abi.cc -o abi.o In file included from abi.cc:8: config.h:12: warning: "gettext_noop" redefined #define gettext_noop(String) String In file included from config.h:10, from abi.cc:8: /home/buildroot/autobuild/run/instance-3/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot/usr/include/libintl.h:16: note: this is the location of the previous definition #define gettext_noop(X) X /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c jedec.cc -o jedec.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c dump.cc -o dump.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c fat.cc -o fat.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -c virtio.cc -o virtio.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-ar rs liblshw.a hw.o main.o print.o mem.o dmi.o device-tree.o cpuinfo.o osutils.o pci.o version.o cpuid.o ide.o cdrom.o pcmcia-legacy.o scsi.o dasd.o disk.o spd.o network.o isapnp.o pnp.o fb.o options.o usb.o sysfs.o display.o heuristics.o parisc.o cpufreq.o partitions.o blockio.o lvm.o ideraid.o pcmcia.o volumes.o mounts.o smp.o abi.o jedec.o dump.o fat.o virtio.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-ar: creating liblshw.a make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/lshw-02.18/src/core' /home/buildroot/autobuild/run/instance-3/output-1/host/bin/m68k-linux-g++ -L./core/ -g -Wl,--as-needed -o lshw lshw.o -llshw -lresolv ld (ld-elf2flt): /home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/m68k-buildroot-uclinux-uclibc/bin/elf2flt terminated with signal 11 [Segmentation fault] collect2: error: ld returned 1 exit status make[1]: *** [lshw] Error 1 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-3/output-1/build/lshw-02.18/src' make: *** [/home/buildroot/autobuild/run/instance-3/output-1/build/lshw-02.18/.stamp_built] Error 2 make: Leaving directory `/home/buildroot/autobuild/run/instance-3/buildroot'