#20687: Trying to compiling error undefined reference to `__aeabi_unwind_cpp_pr0
-----------------------+------------------------
 Reporter:  anonymous  |      Owner:  developers
     Type:  defect     |     Status:  new
 Priority:  normal     |  Milestone:
Component:  packages   |    Version:  Trunk
 Keywords:             |
-----------------------+------------------------
 Hello, I'm trying to compile a program in .c with the toolchain for arm7.

 If I set a statical compilation it throws me this error:


 {{{
 /home/openwrt/staging_dir/toolchain-
 arm_cortex-a7+vfp_gcc-4.8-linaro_musl-1.1.11_eabi/lib/gcc/arm-openwrt-
 linux-muslgnueabi/4.8.3/../../../../arm-openwrt-linux-
 muslgnueabi/lib/libstdc++.a(eh_ptr.o): In function
 `std::rethrow_exception(std::__exception_ptr::exception_ptr)':
 
eh_ptr.cc:(.text._ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE+0xa8):
 undefined reference to `_Unwind_RaiseException'
 /home/openwrt/staging_dir/toolchain-
 arm_cortex-a7+vfp_gcc-4.8-linaro_musl-1.1.11_eabi/lib/gcc/arm-openwrt-
 linux-muslgnueabi/4.8.3/../../../../arm-openwrt-linux-
 
muslgnueabi/lib/libstdc++.a(eh_ptr.o):(.ARM.exidx.text._ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE+0x0):
 undefined reference to `__aeabi_unwind_cpp_pr0'

 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/20687>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to