---> Linux 4.9.0-6-amd64 for build detected. ---> checking if curl is installed.. found ---> checking if sha256sum is installed.. found ---> checking if cc is installed.. found ---> checking if c++ is installed.. found ---> checking if gmake is installed.. not found ---> checking if make is installed.. found ---> checking if it is GNU make.. yes ---> checking if bash is installed.. found ---> checking if it is bash 4.x.. yes ---> checking if strings is installed.. found ---> checking if perl is installed.. found ---> checking if gzip is installed.. found ---> checking if git is installed.. found ---> checking if compiler is working.. okay ---> checking if zlib is installed.. found ---> checking if bc is installed.. not found ---> checking if bison is installed.. found ---> checking if bzip2 is installed.. found ---> checking if file is installed.. found ---> checking if flex is installed.. found ---> checking if mksh is installed.. found ---> checking if patch is installed.. found ---> checking if xargs is installed.. found ---> checking if find is installed.. found ---> checking if grep is installed.. found ---> checking if gawk is installed.. found ---> checking if sed is installed.. found ---> checking if cpio is installed.. found ---> checking if xz is installed.. found Build started on Wed Jul 18 09:28:04 CEST 2018 + ulimit -dH + __limit=unlimited + test -n unlimited + ulimit -Sd unlimited + ulimit -n 1024 + make -f /home/wbx/embedded-test/openadk/mk/build.mk ADK_VERBOSE=1 all /usr/bin/make -f mk/build.mk package/hostcompile toolchain/final target/config-prepare target/compile package_clean package/compile root_clean package/install target/install package_index /usr/bin/make -C package hostcompile : "package/adk-helper-host.. " /usr/bin/make -C adk-helper hostpackage : " done" : : "package/m4-host.. " /usr/bin/make -C m4 hostpackage : " done" : : "package/autoconf-host.. " /usr/bin/make -C autoconf hostpackage : " done" : : "package/bison-host.. " /usr/bin/make -C bison hostpackage : " done" : : "package/patch-host.. " /usr/bin/make -C patch hostpackage : " done" : : "package/automake-host.. " /usr/bin/make -C automake hostpackage : " done" : : "package/libtool-host.. " /usr/bin/make -C libtool hostpackage : " done" : : "package/flex-host.. " /usr/bin/make -C flex hostpackage : " done" : : "package/bc-host.. " /usr/bin/make -C bc hostpackage : " done" : : "package/pkgconf-host.. " /usr/bin/make -C pkgconf hostpackage : " done" : /usr/bin/make -C toolchain final : "toolchain/binutils/prepare.. " make[5]: Nothing to be done for 'prepare'. : " done" : : "toolchain/binutils/configure.. " make[5]: Nothing to be done for 'configure'. : " done" : : "toolchain/binutils/compile.. " make[5]: Nothing to be done for 'compile'. : " done" : : "toolchain/binutils/install.. " make[5]: Nothing to be done for 'install'. : " done" : : "toolchain/gmp/prepare.. " make[5]: Nothing to be done for 'prepare'. : " done" : : "toolchain/gmp/configure.. " make[5]: Nothing to be done for 'configure'. : " done" : : "toolchain/gmp/compile.. " make[5]: Nothing to be done for 'compile'. : " done" : : "toolchain/gmp/install.. " make[5]: Nothing to be done for 'install'. : " done" : : "toolchain/mpfr/prepare.. " make[5]: Nothing to be done for 'prepare'. : " done" : : "toolchain/mpfr/configure.. " make[5]: Nothing to be done for 'configure'. : " done" : : "toolchain/mpfr/compile.. " make[5]: Nothing to be done for 'compile'. : " done" : : "toolchain/mpfr/install.. " make[5]: Nothing to be done for 'install'. : " done" : : "toolchain/mpc/prepare.. " make[5]: Nothing to be done for 'prepare'. : " done" : : "toolchain/mpc/configure.. " make[5]: Nothing to be done for 'configure'. : " done" : : "toolchain/mpc/compile.. " make[5]: Nothing to be done for 'compile'. : " done" : : "toolchain/mpc/install.. " make[5]: Nothing to be done for 'install'. : " done" : : "toolchain/gcc/prepare.. " make[5]: Nothing to be done for 'prepare'. : " done" : : "toolchain/gcc/configure.. " make[5]: Nothing to be done for 'configure'. : " done" : : "toolchain/linux-headers/prepare.. " make[5]: Nothing to be done for 'prepare'. : " done" : : "toolchain/linux-headers/configure.. " make[5]: Nothing to be done for 'configure'. : " done" : : "toolchain/uclibc-ng/prepare.. " make[5]: Nothing to be done for 'prepare'. : " done" : : "toolchain/uclibc-ng/configure.. " make[5]: Nothing to be done for 'configure'. : " done" : : "toolchain/uclibc-ng/compile.. " PATH='/home/wbx/embedded-test/openadk/scripts:/home/wbx/embedded-test/openadk/toolchain_qemu-arm-versatilepb_uclibc-ng_arm926ej_s_soft_eabi_arm/usr/bin:/home/wbx/embedded-test/openadk/host_x86_64-linux-gnu/usr/bin:/home/wbx/embedded-test/openadk/host_x86_64-linux-gnu/usr/sbin:/home/wbx/embedded-test/openadk/host_x86_64-linux-gnu/bin:/home/wbx/bin:/home/wbx/qemu/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games' /usr/bin/make -j16 -C /home/wbx/embedded-test/openadk/toolchain_build_qemu-arm-versatilepb_uclibc-ng_arm926ej_s_soft_eabi_arm/w-uClibc-ng-1.0.30-1/uClibc-ng-1.0.30 \ ARCH="arm" \ CROSS_COMPILE="/home/wbx/embedded-test/openadk/toolchain_qemu-arm-versatilepb_uclibc-ng_arm926ej_s_soft_eabi_arm/usr/bin/arm-openadk-linux-uclibceabi-" \ HOSTCC="cc" \ PREFIX=/home/wbx/embedded-test/openadk/target_qemu-arm-versatilepb_uclibc-ng_arm926ej_s_soft_eabi_arm \ DEVEL_PREFIX=/usr/ \ RUNTIME_PREFIX=/ \ UCLIBC_EXTRA_CFLAGS="-fwrapv -fno-ident -mcpu=arm926ej-s -mfloat-abi=soft -Os -pipe -fomit-frame-pointer -marm -Wa,-mfloat-abi=soft" \ UCLIBC_EXTRA_LDFLAGS="-L/home/wbx/embedded-test/openadk/target_qemu-arm-versatilepb_uclibc-ng_arm926ej_s_soft_eabi_arm/lib -L/home/wbx/embedded-test/openadk/target_qemu-arm-versatilepb_uclibc-ng_arm926ej_s_soft_eabi_arm/usr/lib -Wl,-O1 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/embedded-test/openadk/target_qemu-arm-versatilepb_uclibc-ng_arm926ej_s_soft_eabi_arm/usr/lib" \ VERBOSE=1 \ all /home/wbx/embedded-test/openadk/toolchain_qemu-arm-versatilepb_uclibc-ng_arm926ej_s_soft_eabi_arm/usr/bin/arm-openadk-linux-uclibceabi-gcc -c ldso/ldso/ldso.c -o ldso/ldso/ldso.oS -Wall -Wstrict-prototypes -Wstrict-aliasing -Wno-nonnull-compare -funsigned-char -fno-builtin -fno-asm -fmerge-all-constants -msoft-float -std=gnu99 -mlittle-endian -fno-stack-protector -nostdinc -I./include -I./include -include libc-symbols.h -I./libc/sysdeps/linux/arm -I./libc/sysdeps/linux -I./ldso/ldso/arm -I./ldso/include -I. -Os -fstrict-aliasing -fwrapv -fno-ident -mcpu=arm926ej-s -mfloat-abi=soft -Os -pipe -fomit-frame-pointer -marm -Wa,-mfloat-abi=soft -D__USE_STDIO_FUTEXES__ -DHAVE_FORCED_UNWIND -D_LIBC_REENTRANT -I./libpthread/nptl -I./libpthread/nptl -I./libpthread/nptl/sysdeps/unix/sysv/linux/arm -I./libpthread/nptl/sysdeps/arm -I./libpthread/nptl/sysdeps/arm -I./libpthread/nptl/sysdeps/unix/sysv/linux -I./libpthread/nptl/sysdeps/unix/sysv/linux -I./libpthread/nptl/sysdeps/pthread -I./libpthread/nptl/sysdeps/pthread/bits -I./libpthread/nptl/sysdeps/generic -I./libc/sysdeps/linux/common -isystem /home/wbx/embedded-test/openadk/toolchain_qemu-arm-versatilepb_uclibc-ng_arm926ej_s_soft_eabi_arm/usr/lib/gcc/arm-openadk-linux-uclibceabi/7.3.0/include-fixed -isystem /home/wbx/embedded-test/openadk/toolchain_qemu-arm-versatilepb_uclibc-ng_arm926ej_s_soft_eabi_arm/usr/lib/gcc/arm-openadk-linux-uclibceabi/7.3.0/include -I/home/wbx/embedded-test/openadk/target_qemu-arm-versatilepb_uclibc-ng_arm926ej_s_soft_eabi_arm/usr/include/ -DNDEBUG -DNOT_IN_libc -DIS_IN_rtld -fno-stack-protector -fno-omit-frame-pointer -fno-unwind-tables -fno-asynchronous-unwind-tables -I./ldso/ldso/arm -I./ldso/include -I./ldso/ldso -DUCLIBC_RUNTIME_PREFIX=\"/\" -DUCLIBC_LDSO=\"ld-uClibc.so.1\" -DIN_LIB=rtld -fPIC -DSHARED -DLDSO_ELFINTERP=\"arm/elfinterp.c\" -DLDSO_MULTILIB_DIR=\"lib/\" -MT ldso/ldso/ldso.oS -MD -MP -MF ldso/ldso/.ldso.oS.dep In file included from ./include/bits/waitstatus.h:72:0, from ./include/stdlib.h:44, from ./ldso/include/ldso.h:33, from ldso/ldso/ldso.c:32: ./ldso/include/dl-syscall.h: In function '_dl_pread': ./ldso/include/dl-syscall.h:169:69: warning: right shift count >= width of type [-Wshift-count-overflow] return __syscall_pread(fd, buf, count, 0, __LONG_LONG_PAIR((offset >> 32), (offset & 0xffffffff))); ^ ./include/endian.h:52:39: note: in definition of macro '__LONG_LONG_PAIR' # define __LONG_LONG_PAIR(HI, LO) LO, HI ^~ In file included from ./ldso/ldso/arm/dl-sysdep.h:135:0, from ./ldso/include/dl-defs.h:77, from ./ldso/include/dl-string.h:15, from ./ldso/include/ldso.h:53, from ldso/ldso/ldso.c:32: ./ldso/ldso/arm/dl-sysdep.h: At top level: ./ldso/ldso/arm/../fdpic/dl-sysdep.h:34:33: warning: 'struct elf32_fdpic_loadaddr' declared inside parameter list will not be visible outside of this definition or declaration #define DL_LOADADDR_TYPE struct elf32_fdpic_loadaddr ^ ./ldso/ldso/arm/dl-sysdep.h:166:23: note: in expansion of macro 'DL_LOADADDR_TYPE' elf_machine_relative (DL_LOADADDR_TYPE load_off, const Elf32_Addr rel_addr, ^~~~~~~~~~~~~~~~ In file included from ./ldso/include/dl-defs.h:77:0, from ./ldso/include/dl-string.h:15, from ./ldso/include/ldso.h:53, from ldso/ldso/ldso.c:32: ./ldso/ldso/arm/dl-sysdep.h:166:40: error: parameter 1 ('load_off') has incomplete type elf_machine_relative (DL_LOADADDR_TYPE load_off, const Elf32_Addr rel_addr, ^~~~~~~~ ./ldso/ldso/arm/dl-sysdep.h:166:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] elf_machine_relative (DL_LOADADDR_TYPE load_off, const Elf32_Addr rel_addr, ^~~~~~~~~~~~~~~~~~~~ In file included from ./ldso/ldso/arm/dl-sysdep.h:135:0, from ./ldso/include/dl-defs.h:77, from ./ldso/include/dl-string.h:15, from ./ldso/include/ldso.h:53, from ldso/ldso/ldso.c:32: ./ldso/ldso/arm/../fdpic/dl-sysdep.h:34:33: warning: 'struct elf32_fdpic_loadaddr' declared inside parameter list will not be visible outside of this definition or declaration #define DL_LOADADDR_TYPE struct elf32_fdpic_loadaddr ^ ./ldso/include/dl-elf.h:131:62: note: in expansion of macro 'DL_LOADADDR_TYPE' void *debug_addr, DL_LOADADDR_TYPE load_off); ^~~~~~~~~~~~~~~~ ./ldso/ldso/arm/../fdpic/dl-sysdep.h:34:33: warning: 'struct elf32_fdpic_loadaddr' declared inside parameter list will not be visible outside of this definition or declaration #define DL_LOADADDR_TYPE struct elf32_fdpic_loadaddr ^ ./ldso/include/dl-elf.h:135:56: note: in expansion of macro 'DL_LOADADDR_TYPE' void *debug_addr, DL_LOADADDR_TYPE load_off) ^~~~~~~~~~~~~~~~ In file included from ./ldso/include/ldso.h:55:0, from ldso/ldso/ldso.c:32: ./ldso/include/dl-elf.h:135:73: error: parameter 4 ('load_off') has incomplete type void *debug_addr, DL_LOADADDR_TYPE load_off) ^~~~~~~~ ./ldso/include/dl-elf.h:134:14: warning: function declaration isn't a prototype [-Wstrict-prototypes] unsigned int __dl_parse_dynamic_info(ElfW(Dyn) *dpnt, unsigned long dynamic_info[], ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ./ldso/ldso/arm/dl-sysdep.h:135:0, from ./ldso/include/dl-defs.h:77, from ./ldso/include/dl-string.h:15, from ./ldso/include/ldso.h:53, from ldso/ldso/ldso.c:32: ./ldso/include/dl-elf.h: In function '__dl_parse_dynamic_info': ./ldso/ldso/arm/../fdpic/dl-sysdep.h:37:18: warning: implicit declaration of function '__reloc_pointer'; did you mean '__select_nocancel'? [-Wimplicit-function-declaration] ((ElfW(Addr))__reloc_pointer ((void*)(ADDR), (LOADADDR).map)) ^ ./ldso/include/dl-elf.h:200:40: note: in expansion of macro 'DL_RELOC_ADDR' dynamic_info[tag] = (unsigned long) DL_RELOC_ADDR(load_off, dynamic_info[tag]); \ ^~~~~~~~~~~~~ ./ldso/include/dl-elf.h:209:3: note: in expansion of macro 'ADJUST_DYN_INFO' ADJUST_DYN_INFO(DT_HASH, load_off); ^~~~~~~~~~~~~~~ In file included from ./ldso/include/ldso.h:60:0, from ldso/ldso/ldso.c:32: ./ldso/include/dl-hash.h: At top level: ./ldso/include/dl-hash.h:43:20: error: field 'loadaddr' has incomplete type DL_LOADADDR_TYPE loadaddr; /* Base address shared object is loaded at. */ ^~~~~~~~ In file included from ./ldso/ldso/arm/dl-sysdep.h:135:0, from ./ldso/include/dl-defs.h:77, from ./ldso/include/dl-string.h:15, from ./ldso/include/ldso.h:53, from ldso/ldso/ldso.c:32: ./ldso/ldso/arm/../fdpic/dl-sysdep.h:114:14: warning: 'struct elf32_fdpic_loadmap' declared inside parameter list will not be visible outside of this definition or declaration , struct elf32_fdpic_loadmap *dl_boot_progmap, Elf32_Addr dl_boot_got_pointer ^ ./ldso/include/ldso.h:180:3: note: in expansion of macro 'DL_GET_READY_TO_RUN_EXTRA_PARMS' DL_GET_READY_TO_RUN_EXTRA_PARMS); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./ldso/ldso/arm/dl-inlines.h:1:0, from ./ldso/include/ldso.h:183, from ldso/ldso/ldso.c:32: ./ldso/ldso/arm/../fdpic/dl-inlines.h:15:31: warning: 'struct elf32_fdpic_loadmap' declared inside parameter list will not be visible outside of this definition or declaration struct elf32_fdpic_loadmap *map) ^~~~~~~~~~~~~~~~~~~ ./ldso/ldso/arm/../fdpic/dl-inlines.h: In function '__dl_init_loadaddr_map': ./ldso/ldso/arm/../fdpic/dl-inlines.h:17:9: error: dereferencing pointer to incomplete type 'struct elf32_fdpic_loadmap' if (map->version != 0) { ^~ ./ldso/ldso/arm/../fdpic/dl-inlines.h:25:10: error: dereferencing pointer to incomplete type 'struct elf32_fdpic_loadaddr' loadaddr->got_value = (void *)dl_boot_got_pointer; ^~ ./ldso/ldso/arm/../fdpic/dl-inlines.h: In function '__dl_init_loadaddr': ./ldso/ldso/arm/../fdpic/dl-inlines.h:47:16: error: invalid application of 'sizeof' to incomplete type 'struct elf32_fdpic_loadmap' size = sizeof(struct elf32_fdpic_loadmap) + ^~~~~~ ./ldso/ldso/arm/../fdpic/dl-inlines.h:48:11: error: invalid application of 'sizeof' to incomplete type 'struct elf32_fdpic_loadseg' (sizeof(struct elf32_fdpic_loadseg) * count); ^~~~~~ ./ldso/ldso/arm/../fdpic/dl-inlines.h: At top level: ./ldso/ldso/arm/../fdpic/dl-inlines.h:61:52: error: parameter 1 ('loadaddr') has incomplete type __dl_init_loadaddr_hdr(struct elf32_fdpic_loadaddr loadaddr, void *addr, ^~~~~~~~ ./ldso/ldso/arm/../fdpic/dl-inlines.h:61:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] __dl_init_loadaddr_hdr(struct elf32_fdpic_loadaddr loadaddr, void *addr, ^~~~~~~~~~~~~~~~~~~~~~ ./ldso/ldso/arm/../fdpic/dl-inlines.h: In function '__dl_init_loadaddr_hdr': ./ldso/ldso/arm/../fdpic/dl-inlines.h:70:9: error: dereferencing pointer to incomplete type 'struct elf32_fdpic_loadseg' segdata->addr = (Elf32_Addr)addr; ^~ ./ldso/ldso/arm/../fdpic/dl-inlines.h: At top level: ./ldso/ldso/arm/../fdpic/dl-inlines.h:84:54: error: parameter 1 ('loadaddr') has incomplete type __dl_update_loadaddr_hdr(struct elf32_fdpic_loadaddr loadaddr, void *addr, ^~~~~~~~ ./ldso/ldso/arm/../fdpic/dl-inlines.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] __dl_update_loadaddr_hdr(struct elf32_fdpic_loadaddr loadaddr, void *addr, ^~~~~~~~~~~~~~~~~~~~~~~~ ./ldso/ldso/arm/../fdpic/dl-inlines.h: In function '__dl_update_loadaddr_hdr': ./ldso/ldso/arm/../fdpic/dl-inlines.h:99:27: error: dereferencing pointer to incomplete type 'struct elf32_fdpic_loadseg' oldaddr = (void *)segdata->addr; ^~ ./ldso/ldso/arm/../fdpic/dl-inlines.h: At top level: ./ldso/ldso/arm/../fdpic/dl-inlines.h:114:49: error: parameter 1 ('loadaddr') has incomplete type __dl_loadaddr_unmap(struct elf32_fdpic_loadaddr loadaddr, ^~~~~~~~ ./ldso/ldso/arm/../fdpic/dl-inlines.h:114:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] __dl_loadaddr_unmap(struct elf32_fdpic_loadaddr loadaddr, ^~~~~~~~~~~~~~~~~~~ ./ldso/ldso/arm/../fdpic/dl-inlines.h:137:60: error: parameter 2 ('loadaddr') has incomplete type __dl_addr_in_loadaddr(void *p, struct elf32_fdpic_loadaddr loadaddr) ^~~~~~~~ ./ldso/ldso/arm/../fdpic/dl-inlines.h:137:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] __dl_addr_in_loadaddr(void *p, struct elf32_fdpic_loadaddr loadaddr) ^~~~~~~~~~~~~~~~~~~~~ ./ldso/ldso/arm/../fdpic/dl-inlines.h: In function '__dl_addr_in_loadaddr': ./ldso/ldso/arm/../fdpic/dl-inlines.h:142:21: error: dereferencing pointer to incomplete type 'struct elf32_fdpic_loadmap' for (c = 0; c < map->nsegs; c++) ^~ ./ldso/ldso/arm/../fdpic/dl-inlines.h: In function '_dl_funcdesc_for': ./ldso/ldso/arm/../fdpic/dl-inlines.h:168:31: error: 'struct elf_resolve' has no member named 'funcdesc_ht' struct funcdesc_ht *ht = tpnt->funcdesc_ht; ^~ ./ldso/ldso/arm/../fdpic/dl-inlines.h:177:7: error: 'struct elf_resolve' has no member named 'funcdesc_ht' tpnt->funcdesc_ht = ht; ^~ ./ldso/ldso/arm/../fdpic/dl-inlines.h:180:8: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] entry = htab_find_slot(ht, entry_point, 1, hash_pointer, eq_pointer); ^ ./ldso/ldso/arm/../fdpic/dl-inlines.h: In function '_dl_lookup_address': ./ldso/ldso/arm/../fdpic/dl-inlines.h:213:12: error: 'struct elf_resolve' has no member named 'funcdesc_ht' if (!rpnt->funcdesc_ht) ^~ ./ldso/ldso/arm/../fdpic/dl-inlines.h:219:32: error: 'struct elf_resolve' has no member named 'funcdesc_ht' address = htab_find_slot(rpnt->funcdesc_ht, (void *)fd->entry_point, 0, ^~ In file included from ldso/ldso/ldso.c:45:0: ldso/ldso/arm/elfinterp.c: In function '_dl_do_reloc': ldso/ldso/arm/elfinterp.c:364:53: warning: passing argument 1 of '_dl_funcdesc_for' makes pointer from integer without a cast [-Wint-conversion] reloc_value = (unsigned long) _dl_funcdesc_for(symbol_addr + reloc_value, sym_ref.tpnt->loadaddr.got_value); ^~~~~~~~~~~ In file included from ./ldso/ldso/arm/dl-inlines.h:1:0, from ./ldso/include/ldso.h:183, from ldso/ldso/ldso.c:32: ./ldso/ldso/arm/../fdpic/dl-inlines.h:165:1: note: expected 'void *' but argument is of type 'long unsigned int' _dl_funcdesc_for (void *entry_point, void *got_value) ^~~~~~~~~~~~~~~~ In file included from ldso/ldso/dl-startup.c:94:0, from ldso/ldso/ldso.c:86: ./ldso/ldso/arm/dl-startup.h: At top level: ./ldso/ldso/arm/dl-startup.h:199:46: error: parameter 4 ('load_addr') has incomplete type unsigned long symbol_addr, DL_LOADADDR_TYPE load_addr, Elf32_Sym *symtab) ^~~~~~~~~ ./ldso/ldso/arm/dl-startup.h:198:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] void PERFORM_BOOTSTRAP_RELOC(ELF_RELOC *rpnt, unsigned long *reloc_addr, ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ldso/ldso/ldso.c:86:0: ldso/ldso/dl-startup.c: In function '_dl_start': ldso/ldso/dl-startup.c:124:19: error: storage size of 'load_addr' isn't known DL_LOADADDR_TYPE load_addr; ^~~~~~~~~ In file included from ./ldso/ldso/arm/dl-sysdep.h:135:0, from ./ldso/include/dl-defs.h:77, from ./ldso/include/dl-string.h:15, from ./ldso/include/ldso.h:53, from ldso/ldso/ldso.c:32: ./ldso/ldso/arm/../fdpic/dl-sysdep.h:51:41: error: 'dl_boot_got_pointer' undeclared (first use in this function); did you mean '__builtin_eh_pointer'? (__dl_init_loadaddr_map (&(LOADADDR), dl_boot_got_pointer, \ ^ ldso/ldso/dl-startup.c:193:2: note: in expansion of macro 'DL_INIT_LOADADDR_BOOT' DL_INIT_LOADADDR_BOOT(load_addr, auxvt[AT_BASE].a_un.a_val); ^~~~~~~~~~~~~~~~~~~~~ ./ldso/ldso/arm/../fdpic/dl-sysdep.h:51:41: note: each undeclared identifier is reported only once for each function it appears in (__dl_init_loadaddr_map (&(LOADADDR), dl_boot_got_pointer, \ ^ ldso/ldso/dl-startup.c:193:2: note: in expansion of macro 'DL_INIT_LOADADDR_BOOT' DL_INIT_LOADADDR_BOOT(load_addr, auxvt[AT_BASE].a_un.a_val); ^~~~~~~~~~~~~~~~~~~~~ ./ldso/ldso/arm/../fdpic/dl-sysdep.h:52:7: error: 'dl_boot_ldsomap' undeclared (first use in this function) dl_boot_ldsomap ?: dl_boot_progmap)) ^ ldso/ldso/dl-startup.c:193:2: note: in expansion of macro 'DL_INIT_LOADADDR_BOOT' DL_INIT_LOADADDR_BOOT(load_addr, auxvt[AT_BASE].a_un.a_val); ^~~~~~~~~~~~~~~~~~~~~ ./ldso/ldso/arm/../fdpic/dl-sysdep.h:52:26: error: 'dl_boot_progmap' undeclared (first use in this function); did you mean 'dl_boot_ldsomap'? dl_boot_ldsomap ?: dl_boot_progmap)) ^ ldso/ldso/dl-startup.c:193:2: note: in expansion of macro 'DL_INIT_LOADADDR_BOOT' DL_INIT_LOADADDR_BOOT(load_addr, auxvt[AT_BASE].a_un.a_val); ^~~~~~~~~~~~~~~~~~~~~ ./ldso/ldso/arm/../fdpic/dl-sysdep.h:91:13: error: 'dl_boot_ldso_dyn_pointer' undeclared (first use in this function); did you mean 'dl_boot_got_pointer'? ((dpnt) = dl_boot_ldso_dyn_pointer) ^ ldso/ldso/dl-startup.c:219:2: note: in expansion of macro 'DL_BOOT_COMPUTE_DYN' DL_BOOT_COMPUTE_DYN(dpnt, got, (DL_LOADADDR_TYPE)header); ^~~~~~~~~~~~~~~~~~~ In file included from ldso/ldso/ldso.c:86:0: ldso/ldso/dl-startup.c:233:57: error: type of formal parameter 4 is incomplete _dl_parse_dynamic_info(dpnt, tpnt->dynamic_info, NULL, load_addr); ^~~~~~~~~ ldso/ldso/dl-startup.c:358:31: error: type of formal parameter 2 is incomplete _dl_get_ready_to_run(tpnt, load_addr, auxvt, envp, argv ^~~~~~~~~ ldso/ldso/dl-startup.c:125:13: warning: variable 'got' set but not used [-Wunused-but-set-variable] ElfW(Addr) got; ^~~ ldso/ldso/dl-startup.c:124:19: warning: unused variable 'load_addr' [-Wunused-variable] DL_LOADADDR_TYPE load_addr; ^~~~~~~~~ In file included from ldso/ldso/ldso.c:88:0: ldso/ldso/dl-array.c: At top level: ldso/ldso/dl-array.c:34:52: error: parameter 3 ('loadaddr') has incomplete type DL_LOADADDR_TYPE loadaddr) ^~~~~~~~ ldso/ldso/dl-array.c:33:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void _dl_run_array_forward(unsigned long array, unsigned long size, ^~~~~~~~~~~~~~~~~~~~~ ldso/ldso/ldso.c:351:28: error: parameter 2 ('load_addr') has incomplete type DL_LOADADDR_TYPE load_addr, ^~~~~~~~~ ldso/ldso/ldso.c:350:29: warning: function declaration isn't a prototype [-Wstrict-prototypes] static struct elf_resolve * add_ldso(struct elf_resolve *tpnt, ^~~~~~~~ ldso/ldso/ldso.c: In function 'add_ldso': ldso/ldso/ldso.c:363:48: error: type of formal parameter 2 is incomplete tpnt = _dl_add_elf_hash_table(tpnt->libname, tpnt->loadaddr, ^~~~ In file included from ./ldso/ldso/arm/dl-sysdep.h:135:0, from ./ldso/include/dl-defs.h:77, from ./ldso/include/dl-string.h:15, from ./ldso/include/ldso.h:53, from ldso/ldso/ldso.c:32: ldso/ldso/ldso.c: At top level: ./ldso/ldso/arm/../fdpic/dl-sysdep.h:114:14: warning: 'struct elf32_fdpic_loadmap' declared inside parameter list will not be visible outside of this definition or declaration , struct elf32_fdpic_loadmap *dl_boot_progmap, Elf32_Addr dl_boot_got_pointer ^ ldso/ldso/ldso.c:426:6: note: in expansion of macro 'DL_GET_READY_TO_RUN_EXTRA_PARMS' DL_GET_READY_TO_RUN_EXTRA_PARMS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ldso/ldso/ldso.c:424:71: error: parameter 2 ('load_addr') has incomplete type void *_dl_get_ready_to_run(struct elf_resolve *tpnt, DL_LOADADDR_TYPE load_addr, ^~~~~~~~~ In file included from ./ldso/ldso/arm/dl-sysdep.h:135:0, from ./ldso/include/dl-defs.h:77, from ./ldso/include/dl-string.h:15, from ./ldso/include/ldso.h:53, from ldso/ldso/ldso.c:32: ldso/ldso/ldso.c: In function '_dl_get_ready_to_run': ./ldso/ldso/arm/../fdpic/dl-sysdep.h:55:44: warning: passing argument 3 of '__dl_init_loadaddr_map' from incompatible pointer type [-Wincompatible-pointer-types] (__dl_init_loadaddr_map (&(LOADADDR), 0, dl_boot_progmap)) ^ ldso/ldso/ldso.c:650:5: note: in expansion of macro 'DL_INIT_LOADADDR_PROG' DL_INIT_LOADADDR_PROG(app_tpnt->loadaddr, auxvt[AT_PHDR].a_un.a_val - phdr->p_vaddr); ^~~~~~~~~~~~~~~~~~~~~ In file included from ./ldso/ldso/arm/dl-inlines.h:1:0, from ./ldso/include/ldso.h:183, from ldso/ldso/ldso.c:32: ./ldso/ldso/arm/../fdpic/dl-inlines.h:14:1: note: expected 'struct elf32_fdpic_loadmap *' but argument is of type 'struct elf32_fdpic_loadmap *' __dl_init_loadaddr_map(struct elf32_fdpic_loadaddr *loadaddr, Elf32_Addr dl_boot_got_pointer, ^~~~~~~~~~~~~~~~~~~~~~ ldso/ldso/ldso.c:676:69: error: type of formal parameter 4 is incomplete _dl_parse_dynamic_info(dpnt, app_tpnt->dynamic_info, debug_addr, app_tpnt->loadaddr); ^~~~~~~~ ldso/ldso/ldso.c:711:52: error: type of formal parameter 2 is incomplete app_tpnt = _dl_add_elf_hash_table(_dl_progname, app_tpnt->loadaddr, ^~~~~~~~ In file included from ldso/ldso/ldso.c:1460:0: ldso/ldso/dl-hash.c: At top level: ldso/ldso/dl-hash.c:90:19: error: parameter 2 ('loadaddr') has incomplete type DL_LOADADDR_TYPE loadaddr, unsigned long *dynamic_info, unsigned long dynamic_addr, ^~~~~~~~ In file included from ldso/ldso/ldso.c:1461:0: ldso/ldso/dl-elf.c: In function '_dl_load_elf_shared_library': ldso/ldso/dl-elf.c:535:19: error: storage size of 'lib_loadaddr' isn't known DL_LOADADDR_TYPE lib_loadaddr; ^~~~~~~~~~~~ ldso/ldso/dl-elf.c:780:64: error: type of formal parameter 4 is incomplete rtld_flags = _dl_parse_dynamic_info(dpnt, dynamic_info, NULL, lib_loadaddr); ^~~~~~~~~~~~ ldso/ldso/dl-elf.c:822:41: error: type of formal parameter 2 is incomplete tpnt = _dl_add_elf_hash_table(libname, lib_loadaddr, dynamic_info, ^~~~~~~~~~~~ ldso/ldso/dl-elf.c:535:19: warning: unused variable 'lib_loadaddr' [-Wunused-variable] DL_LOADADDR_TYPE lib_loadaddr; ^~~~~~~~~~~~ In file included from ldso/ldso/ldso.c:1461:0: ldso/ldso/dl-elf.c: At top level: ldso/ldso/dl-elf.c:1186:72: error: parameter 4 ('load_off') has incomplete type void *debug_addr, DL_LOADADDR_TYPE load_off) ^~~~~~~~ ldso/ldso/dl-elf.c: In function '_dl_parse_dynamic_info': ldso/ldso/dl-elf.c:1189:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Makerules:370: recipe for target 'ldso/ldso/ldso.oS' failed make[6]: *** [ldso/ldso/ldso.oS] Error 1 Makefile:335: recipe for target '/home/wbx/embedded-test/openadk/toolchain_build_qemu-arm-versatilepb_uclibc-ng_arm926ej_s_soft_eabi_arm/w-uClibc-ng-1.0.30-1/uClibc-ng-1.0.30/.compiled' failed make[5]: *** [/home/wbx/embedded-test/openadk/toolchain_build_qemu-arm-versatilepb_uclibc-ng_arm926ej_s_soft_eabi_arm/w-uClibc-ng-1.0.30-1/uClibc-ng-1.0.30/.compiled] Error 2 Makefile:116: recipe for target 'uclibc-ng-compile' failed make[4]: *** [uclibc-ng-compile] Error 2 mk/build.mk:238: recipe for target 'toolchain/final' failed make[3]: *** [toolchain/final] Error 2 /home/wbx/embedded-test/openadk/mk/build.mk:174: recipe for target 'world' failed make[2]: *** [world] Error 2