Hi,
I am building the mender client, 3.0.0, on a new openwrt, 19.07 (previously built on openwork 15.05.1 was ok).
I get link errors when cross-compiling for aarch64 (mainly for iconv):
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/host/lib/go-cross/pkg/tool/linux_amd64/link: running aarch64-openwrt-linux-musl-gcc failed: exit status 1
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/tmp/ccJEEu0k.ltrans14.ltrans.o: in function g_iconv': /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gconvert.c:285: undefined reference to
libiconv’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gconvert.c:285: undefined reference to libiconv' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gconvert.c:285: undefined reference to
libiconv’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gconvert.c:285: undefined reference to libiconv' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/tmp/ccJEEu0k.ltrans6.ltrans.o: in function
value_to_ffi_type’:
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1245: undefined reference to ffi_type_pointer' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1245: undefined reference to
ffi_type_pointer’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1182: undefined reference to ffi_type_sint32' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1182: undefined reference to
ffi_type_sint32’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1207: undefined reference to ffi_type_uint32' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1207: undefined reference to
ffi_type_uint32’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1229: undefined reference to ffi_type_sint64' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1229: undefined reference to
ffi_type_sint64’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1193: undefined reference to ffi_type_sint32' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1193: undefined reference to
ffi_type_sint32’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1225: undefined reference to ffi_type_double' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1225: undefined reference to
ffi_type_double’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1217: undefined reference to ffi_type_pointer' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1217: undefined reference to
ffi_type_pointer’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1200: undefined reference to ffi_type_uint32' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1200: undefined reference to
ffi_type_uint32’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1221: undefined reference to ffi_type_float' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1221: undefined reference to
ffi_type_float’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1233: undefined reference to ffi_type_uint64' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1233: undefined reference to
ffi_type_uint64’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/tmp/ccJEEu0k.ltrans6.ltrans.o: in function g_cclosure_marshal_generic': /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1463: undefined reference to
ffi_type_pointer’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1469: undefined reference to ffi_type_pointer' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1493: undefined reference to
ffi_prep_cif’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1493: undefined reference to ffi_prep_cif' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1496: undefined reference to
ffi_call’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1496: undefined reference to ffi_call' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1451: undefined reference to
ffi_type_void’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1451: undefined reference to ffi_type_void' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1478: undefined reference to
ffi_type_pointer’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/tmp/ccJEEu0k.ltrans6.ltrans.o: in function g_cclosure_marshal_generic_va': /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1555: undefined reference to
ffi_type_pointer’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1564: undefined reference to ffi_type_pointer' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1391: undefined reference to
ffi_type_uint64’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1391: undefined reference to ffi_type_uint64' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1607: undefined reference to
ffi_prep_cif’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1607: undefined reference to ffi_prep_cif' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1610: undefined reference to
ffi_call’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1610: undefined reference to ffi_call' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1552: undefined reference to
ffi_type_void’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1552: undefined reference to ffi_type_void' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1571: undefined reference to
ffi_type_pointer’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1395: undefined reference to ffi_type_pointer' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1350: undefined reference to
ffi_type_sint32’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1350: undefined reference to ffi_type_sint32' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1356: undefined reference to
ffi_type_uint32’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1356: undefined reference to ffi_type_uint32' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1387: undefined reference to
ffi_type_sint64’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1387: undefined reference to ffi_type_sint64' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1375: undefined reference to
ffi_type_double’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1375: undefined reference to ffi_type_double' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1366: undefined reference to
ffi_type_pointer’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1371: undefined reference to ffi_type_float' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1371: undefined reference to
ffi_type_float’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1383: undefined reference to ffi_type_uint64' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gclosure.c:1383: undefined reference to
ffi_type_uint64’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/tmp/ccJEEu0k.ltrans11.ltrans.o: in function try_conversion': /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gconvert.c:175: undefined reference to
libiconv_open’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gconvert.c:175: undefined reference to libiconv_open' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/tmp/ccJEEu0k.ltrans11.ltrans.o: in function
g_iconv_close’:
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gconvert.c:308: undefined reference to libiconv_close' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gconvert.c:308: undefined reference to
libiconv_close’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/tmp/ccJEEu0k.ltrans1.ltrans.o: in function g_zlib_decompressor_convert': /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gzlibdecompressor.c:335: undefined reference to
inflate’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gzlibdecompressor.c:335: undefined reference to inflate' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/tmp/ccJEEu0k.ltrans1.ltrans.o: in function
g_zlib_decompressor_finalize’:
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gzlibdecompressor.c:113: undefined reference to inflateEnd' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gzlibdecompressor.c:113: undefined reference to
inflateEnd’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/tmp/ccJEEu0k.ltrans1.ltrans.o: in function g_zlib_decompressor_set_gzheader': /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gzlibdecompressor.c:97: undefined reference to
inflateGetHeader’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gzlibdecompressor.c:97: undefined reference to inflateGetHeader' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/tmp/ccJEEu0k.ltrans1.ltrans.o: in function
g_zlib_decompressor_reset’:
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gzlibdecompressor.c:306: undefined reference to inflateReset' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gzlibdecompressor.c:306: undefined reference to
inflateReset’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/tmp/ccJEEu0k.ltrans1.ltrans.o: in function g_zlib_decompressor_constructed': /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gzlibdecompressor.c:194: undefined reference to
inflateInit2_’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gzlibdecompressor.c:194: undefined reference to inflateInit2_' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gzlibdecompressor.c:199: undefined reference to
inflateInit2_’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gzlibdecompressor.c:199: undefined reference to inflateInit2_' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gzlibdecompressor.c:202: undefined reference to
inflateInit_’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/gzlibdecompressor.c:202: undefined reference to inflateInit_' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/tmp/ccJEEu0k.ltrans4.ltrans.o: in function
g_io_module_unload_module’:
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/giomodule.c:372: undefined reference to g_module_close' /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/../../../../aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/giomodule.c:372: undefined reference to
g_module_close’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/tmp/ccJEEu0k.ltrans4.ltrans.o: in function g_io_module_load_module': /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/giomodule.c:341: undefined reference to
g_module_open’
/home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/staging_dir/toolchain-aarch64/lib/gcc/aarch64-openwrt-linux-musl/7.5.0/…/…/…/…/aarch64-openwrt-linux-musl/bin/ld: /home/tirank/GIT/alder/juganu_alder_64_3/alder-ucentral-build/qsdk/build_dir/target-aarch64/mender-3.0.0/.go_work/build/giomodule.c:341: undefined reference to `g_module_open’
collect2: error: ld returned 1 exit status
Any clue where this comes from?
Thanks