Hi,
I would like to build uClibc-ng with DODEBUG=y, to analyze a problem with Kodi on Raspberry PI2. But the compile fails:
/home/wbx/kodi-uclibc/toolchain_raspberry-pi2_uclibc-ng_arm_hard_eabihf/usr/bin/arm-openadk-linux-uclibceabihf-gcc -Wl,-EL -shared -Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -L/home/wbx/kodi-uclibc/target_raspberry-pi2_uclibc-ng_arm_hard_eabihf/lib -L/home/wbx/kodi-uclibc/target_raspberry-pi2_uclibc-ng_arm_hard_eabihf/usr/lib -Wl,-O1 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/home/wbx/kodi-uclibc/target_raspberry-pi2_uclibc-ng_arm_hard_eabihf/usr/lib -Wl,-e,_start -Wl,-z,now -Wl,-Bsymbolic -Wl,--export-dynamic -Wl,--sort-common -Wl,--discard-locals -Wl,--discard-all -Wl,--no-undefined -Wl,-soname=ld-uClibc.so.1 -nostdlib -nostartfiles -o lib/ld-uClibc-1.0.11.so -Wl,--whole-archive ldso/ldso/ld-uClibc_so.a -Wl,--no-whole-archive /home/wbx/kodi-uclibc/toolchain_raspberry-pi2_uclibc-ng_arm_hard_eabihf/usr/lib/gcc/arm-openadk-linux-uclibceabihf/5.3.0/libgcc.a /home/wbx/kodi-uclibc/toolchain_raspberry-pi2_uclibc-ng_arm_hard_eabihf/usr/lib/gcc/arm-openadk-linux-uclibceabihf/5.3.0/libgcc.a(unwind-arm.o): In function `unwind_phase2': /home/wbx/kodi-uclibc/toolchain_build_raspberry-pi2_uclibc-ng_arm_hard_eabihf/w-gcc-5.3.0-1/gcc-5.3.0/libgcc/unwind-arm-common.inc:289: undefined reference to `abort' /home/wbx/kodi-uclibc/toolchain_raspberry-pi2_uclibc-ng_arm_hard_eabihf/usr/lib/gcc/arm-openadk-linux-uclibceabihf/5.3.0/libgcc.a(unwind-arm.o): In function `unwind_phase2_forced': /home/wbx/kodi-uclibc/toolchain_build_raspberry-pi2_uclibc-ng_arm_hard_eabihf/w-gcc-5.3.0-1/gcc-5.3.0/libgcc/unwind-arm-common.inc:346: undefined reference to `memcpy' collect2: error: ld returned 1 exit status make[6]: *** [lib/ld-uClibc.so] Error 1 make[5]: *** [/home/wbx/kodi-uclibc/toolchain_build_raspberry-pi2_uclibc-ng_arm_hard_eabihf/w-uClibc-ng-1.0.11-1/uClibc-ng-1.0.11/.compiled] Error 2 make[4]: *** [uclibc-ng-compile] Error 2 make[3]: *** [toolchain/final] Error 2 make[2]: *** [world] Error 2
Does anybody have an idea what could be going wrong here? It is a two-stage toolchain build, so only a gcc with --disabled-shared is used to compile the C library.
best regards Waldemar