>>> swupdate 2018.11 Extracting gzip -d -c /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/dl/swupdate/swupdate-2018.11.tar.gz | tar --strip-components=1 -C /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11 -xf - >>> swupdate 2018.11 Patching Using /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11/.config as base # # merged configuration written to /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11/.config (needs make) # make[1]: Entering directory '/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11' HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11' /bin/sed -i -e "/\\/d" /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11/.config echo 'CONFIG_STATIC=y' >> /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11/.config /bin/sed -i -e "/\\/d" /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11/.config echo 'CONFIG_CROSS_COMPILE="/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/host/bin/microblazeel-linux-"' >> /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11/.config /bin/sed -i -e "/\\/d" /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11/.config echo 'CONFIG_SYSROOT="/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/host/microblazeel-buildroot-linux-uclibc/sysroot"' >> /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11/.config /bin/sed -i -e "/\\/d" /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11/.config echo 'CONFIG_EXTRA_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static"' >> /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11/.config /bin/sed -i -e "/\\/d" /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11/.config echo 'CONFIG_EXTRA_LDFLAGS=" -static"' >> /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11/.config make[1]: Entering directory '/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11' scripts/kconfig/conf --olddefconfig Kconfig # # configuration written to .config # make[1]: Leaving directory '/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11' >>> swupdate 2018.11 Configuring >>> swupdate 2018.11 Building PATH="/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/host/bin:/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/host/sbin:/usr/bin:/bin" CC="/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/host/bin/microblazeel-linux-gcc" LD="/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/host/bin/microblazeel-linux-gcc" HAVE_JSON_C=n HAVE_LIBARCHIVE=n HAVE_LIBCONFIG=n HAVE_LIBCURL=y HAVE_LUA=n HAVE_LIBMTD=n HAVE_LIBUBI=n HAVE_LIBSSL=y HAVE_LIBCRYPTO=y HAVE_LIBUBOOTENV=y HAVE_LIBZEROMQ=y HAVE_ZLIB=y /usr/bin/make -j3 -C /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11 make[1]: Entering directory '/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11' HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --silentoldconfig Kconfig CC core/swupdate.o CC handlers/dummy_handler.o CC corelib/artifacts_versions.o In file included from core/swupdate.c:30:0: core/swupdate.c: In function 'install_from_file': include/util.h:87:11: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t {aka long long int}' [-Wformat=] "ERROR %s : %s : %d : " format, \ ^ include/util.h:105:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ core/swupdate.c:337:3: note: in expansion of macro 'ERROR' ERROR("failed to scan for pos '%ld'!", pos); ^~~~~ include/util.h:94:14: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'off_t {aka long long int}' [-Wformat=] "ERROR : " format, ## arg); \ ^ include/util.h:105:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ core/swupdate.c:337:3: note: in expansion of macro 'ERROR' ERROR("failed to scan for pos '%ld'!", pos); ^~~~~ include/util.h:98:13: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'off_t {aka long long int}' [-Wformat=] "[%s] : " format, __func__, ## arg); \ ^ include/util.h:105:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ core/swupdate.c:337:3: note: in expansion of macro 'ERROR' ERROR("failed to scan for pos '%ld'!", pos); ^~~~~ CC handlers/raw_handler.o CC corelib/installer.o core/swupdate.c: At top level: cc1: warning: unrecognized command line option '-Wno-format-truncation' CC core/cpio_utils.o LD handlers/built-in.o CC ipc/network_ipc.o CC corelib/network_thread.o CC core/notifier.o CC ipc/progress_ipc.o CC corelib/parsing_library.o CC core/handler.o In file included from corelib/parsing_library.c:19:0: corelib/parsing_library.c: In function 'set_find_path': include/util.h:87:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t {aka unsigned int}' [-Wformat=] "ERROR %s : %s : %d : " format, \ ^ include/util.h:105:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ corelib/parsing_library.c:217:3: note: in expansion of macro 'ERROR' ERROR("No memory: failed for %lu bytes", ^~~~~ include/util.h:94:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka unsigned int}' [-Wformat=] "ERROR : " format, ## arg); \ ^ include/util.h:105:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ corelib/parsing_library.c:217:3: note: in expansion of macro 'ERROR' ERROR("No memory: failed for %lu bytes", ^~~~~ include/util.h:98:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka unsigned int}' [-Wformat=] "[%s] : " format, __func__, ## arg); \ ^ include/util.h:105:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ corelib/parsing_library.c:217:3: note: in expansion of macro 'ERROR' ERROR("No memory: failed for %lu bytes", ^~~~~ include/util.h:87:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'unsigned int' [-Wformat=] "ERROR %s : %s : %d : " format, \ ^ include/util.h:105:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ corelib/parsing_library.c:239:3: note: in expansion of macro 'ERROR' ERROR("No memory: calloc failed for %lu bytes", ^~~~~ include/util.h:94:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Wformat=] "ERROR : " format, ## arg); \ ^ include/util.h:105:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ corelib/parsing_library.c:239:3: note: in expansion of macro 'ERROR' ERROR("No memory: calloc failed for %lu bytes", ^~~~~ include/util.h:98:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'unsigned int' [-Wformat=] "[%s] : " format, __func__, ## arg); \ ^ include/util.h:105:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ corelib/parsing_library.c:239:3: note: in expansion of macro 'ERROR' ERROR("No memory: calloc failed for %lu bytes", ^~~~~ include/util.h:87:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t {aka unsigned int}' [-Wformat=] "ERROR %s : %s : %d : " format, \ ^ include/util.h:105:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ corelib/parsing_library.c:254:3: note: in expansion of macro 'ERROR' ERROR("No memory: failed for %lu bytes", ^~~~~ include/util.h:94:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka unsigned int}' [-Wformat=] "ERROR : " format, ## arg); \ ^ include/util.h:105:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ corelib/parsing_library.c:254:3: note: in expansion of macro 'ERROR' ERROR("No memory: failed for %lu bytes", ^~~~~ include/util.h:98:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka unsigned int}' [-Wformat=] "[%s] : " format, __func__, ## arg); \ ^ include/util.h:105:2: note: in expansion of macro 'swupdate_notify' swupdate_notify(FAILURE, format, ERRORLEVEL, ## arg) ^~~~~~~~~~~~~~~ corelib/parsing_library.c:254:3: note: in expansion of macro 'ERROR' ERROR("No memory: failed for %lu bytes", ^~~~~ AR ipc/lib.a corelib/parsing_library.c: At top level: cc1: warning: unrecognized command line option '-Wno-format-truncation' CC mongoose/mongoose.o CC corelib/progress_thread.o CC core/util.o CC corelib/stream_interface.o CC core/parser.o CC core/pctl.o CC corelib/swupdate_dict.o CC core/state.o AR corelib/lib.a CC mongoose/mongoose_interface.o CC core/syslog.o LD core/built-in.o CC parser/parse_external.o CC parser/parser.o AR parser/lib.a CC bootloader/none.o AR suricatta/lib.a AR bootloader/lib.a CC tools/client.o LD bindings/built-in.o CC tools/progress.o CC tools/hawkbitcfg.o CC tools/sendtohawkbit.o AR tools/lib.a AR mongoose/lib.a LD swupdate_unstripped LD tools/client LD tools/sendtohawkbit STRIP tools/sendtohawkbit LD tools/hawkbitcfg STRIP tools/client LD tools/progress LD lua_swupdate.so Failed: -Wl,--start-group -lpthread -lz -Wl,--end-group Output of: /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/host/bin/microblazeel-linux-gcc -shared -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -Wno-format-security -Wno-format-truncation -Wold-style-definition -finline-limit=0 -fno-builtin-strlen -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-guess-branch-probability -funsigned-char -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -static-libgcc -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static --sysroot=/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/host/microblazeel-buildroot-linux-uclibc/sysroot -o lua_swupdate.so -Wl,--sort-common -Wl,--sort-section,alignment -Wl,--gc-sections -Wl,--start-group -static bindings/built-in.o ipc/lib.a -Wl,--end-group -Wl,--start-group -lpthread -lz -Wl,--end-group ========== /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/host/opt/ext-toolchain/bin/../lib/gcc/microblazeel-buildroot-linux-uclibc/6.4.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: BFD (GNU Binutils) 2.29.1 assertion fail elf32-microblaze.c:1494 /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/host/opt/ext-toolchain/bin/../lib/gcc/microblazeel-buildroot-linux-uclibc/6.4.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/host/opt/ext-toolchain/bin/../lib/gcc/microblazeel-buildroot-linux-uclibc/6.4.0/crtbeginT.o: probably compiled without -fPIC? /accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/host/opt/ext-toolchain/bin/../lib/gcc/microblazeel-buildroot-linux-uclibc/6.4.0/../../../../microblazeel-buildroot-linux-uclibc/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status Makefile:414: recipe for target 'lua_swupdate.so' failed make[1]: *** [lua_swupdate.so] Error 1 make[1]: *** Waiting for unfinished jobs.... STRIP tools/progress STRIP tools/hawkbitcfg make[1]: Leaving directory '/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11' package/pkg-generic.mk:229: recipe for target '/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11/.stamp_built' failed make: *** [/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/output/build/swupdate-2018.11/.stamp_built] Error 2 make: Leaving directory '/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-4/buildroot'