On 26 June 2014 13:12:19 Waldemar Brodkorb <w...@openadk.org> wrote:
Hi, I recently switched my toolchain to use a static libgcc. Gcc is build with --enable-shared='libstdc++', so there is no libgcc_eh.a, because exception handling code is included in libgcc.a. Build fails with: /adk/uclibc/toolchain_qemu-arm_uclibc/usr/bin/arm-openadk-linux-uclibcgnueabihf-gcc -Wl,-EL -shared -Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc -Wl,-z,relro -Wl,-z,now -Wl,--hash-style=gnu -Wl,-z,defs -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.0 -nostdlib -o lib/ld-uClibc-0.9.34-git.so -Wl,--whole-archive ldso/ldso/ld-uClibc_so.a -Wl,--no-whole-archive /adk/uclibc/toolchain_qemu-arm_uclibc/usr/lib/gcc/arm-openadk-linux-uclibcgnueabihf/4.8.3/libgcc.a libgcc_eh.a arm-openadk-linux-uclibcgnueabihf-gcc: error: libgcc_eh.a: No such file or directory
This is guarded by CONFIG_DEBUG, isn't it? Thanks,
When removing the libgcc_eh stuff from the Makefile, I get: toolchain_build_qemu-arm_uclibc/w-gcc-4.8.3-1/gcc-4.8.3/libgcc/config/arm/unwind-arm.c:494: multiple definition of `__aeabi_unwind_cpp_pr0' It conflicts with the stubs in libc/sysdeps/linux/arm/aeabi_unwind_cpp_pr1.c. So what is the right thing to fix this issue? best regards Waldemar _______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc
Sent with AquaMail for Android http://www.aqua-mail.com _______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc