Modify

Opened 3 years ago

Closed 2 years ago

#20024 closed defect (fixed)

uClibc++ compilation error (uclibc, ar71xx)

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: uClibc++ Cc:

Description

mips-openwrt-linux-uclibc-gcc-ar rcs libuClibc++.a algorithm.o associative_base.o bitset.o char_traits.o complex.o del_op.o del_opnt.o del_opv.o del_opvnt.o deque.o eh_alloc.o eh_globals.o exception.o fstream.o func_exception.o iomanip.o ios.o iostream.o istream.o iterator.o limits.o list.o locale.o map.o new_handler.o new_op.o new_opnt.o new_opv.o new_opvnt.o numeric.o ostream.o queue.o set.o sstream.o stack.o stdexcept.o streambuf.o string.o utility.o valarray.o vector.o abi/abi.o  abi/libsupc/array_type_info.o abi/libsupc/atexit_arm.o abi/libsupc/atexit_thread.o abi/libsupc/bad_alloc.o abi/libsupc/bad_cast.o abi/libsupc/bad_typeid.o abi/libsupc/class_type_info.o abi/libsupc/cp-demangle.o abi/libsupc/dyncast.o abi/libsupc/eh_arm.o abi/libsupc/eh_aux_runtime.o abi/libsupc/eh_call.o abi/libsupc/eh_catch.o abi/libsupc/eh_exception.o abi/libsupc/eh_personality.o abi/libsupc/eh_ptr.o abi/libsupc/eh_term_handler.o abi/libsupc/eh_terminate.o abi/libsupc/eh_throw.o abi/libsupc/eh_tm.o abi/libsupc/eh_type.o abi/libsupc/eh_unex_handler.o abi/libsupc/enum_type_info.o abi/libsupc/function_type_info.o abi/libsupc/fundamental_type_info.o abi/libsupc/guard.o abi/libsupc/guard_error.o abi/libsupc/hash_bytes.o abi/libsupc/nested_exception.o abi/libsupc/pbase_type_info.o abi/libsupc/pmem_type_info.o abi/libsupc/pointer_type_info.o abi/libsupc/si_class_type_info.o abi/libsupc/tinfo.o abi/libsupc/tinfo2.o abi/libsupc/vec.o abi/libsupc/vmi_class_type_info.o abi/libsupc/vterminate.o
mips-openwrt-linux-uclibc-gcc-ranlib libuClibc++.a
mips-openwrt-linux-uclibc-gcc -Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc -Wl,-z,defs -L/home/development/src/openwrt-trunk/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/home/development/src/openwrt-trunk/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/home/development/src/openwrt-trunk/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/development/src/openwrt-trunk/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib -znow -zrelro -nodefaultlibs -shared -Wl,-soname,libuClibc++.so.0  -Wl,-s -o libuClibc++-0.2.4.so algorithm.o associative_base.o bitset.o char_traits.o complex.o del_op.o del_opnt.o del_opv.o del_opvnt.o deque.o eh_alloc.o eh_globals.o exception.o fstream.o func_exception.o iomanip.o ios.o iostream.o istream.o iterator.o limits.o list.o locale.o map.o new_handler.o new_op.o new_opnt.o new_opv.o new_opvnt.o numeric.o ostream.o queue.o set.o sstream.o stack.o stdexcept.o streambuf.o string.o utility.o valarray.o vector.o abi/abi.o abi/libsupc/array_type_info.o abi/libsupc/atexit_arm.o abi/libsupc/atexit_thread.o abi/libsupc/bad_alloc.o abi/libsupc/bad_cast.o abi/libsupc/bad_typeid.o abi/libsupc/class_type_info.o abi/libsupc/cp-demangle.o abi/libsupc/dyncast.o abi/libsupc/eh_arm.o abi/libsupc/eh_aux_runtime.o abi/libsupc/eh_call.o abi/libsupc/eh_catch.o abi/libsupc/eh_exception.o abi/libsupc/eh_personality.o abi/libsupc/eh_ptr.o abi/libsupc/eh_term_handler.o abi/libsupc/eh_terminate.o abi/libsupc/eh_throw.o abi/libsupc/eh_tm.o abi/libsupc/eh_type.o abi/libsupc/eh_unex_handler.o abi/libsupc/enum_type_info.o abi/libsupc/function_type_info.o abi/libsupc/fundamental_type_info.o abi/libsupc/guard.o abi/libsupc/guard_error.o abi/libsupc/hash_bytes.o abi/libsupc/nested_exception.o abi/libsupc/pbase_type_info.o abi/libsupc/pmem_type_info.o abi/libsupc/pointer_type_info.o abi/libsupc/si_class_type_info.o abi/libsupc/tinfo.o abi/libsupc/tinfo2.o abi/libsupc/vec.o abi/libsupc/vmi_class_type_info.o abi/libsupc/vterminate.o  -lc -L/home/development/src/openwrt-trunk/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib -lgcc_s -lssp_nonshared
/home/development/src/openwrt-trunk/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.8.3/../../../../mips-openwrt-linux-uclibc/bin/ld: cannot find -lssp_nonshared
collect2: error: ld returned 1 exit status
make[5]: *** [libuClibc++-0.2.4.so] Error 1
make[5]: Leaving directory `/home/development/src/openwrt-trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/uClibc++-0.2.4/src'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/development/src/openwrt-trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/uClibc++-0.2.4'
make[3]: *** [/home/development/src/openwrt-trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/uClibc++-0.2.4/.built] Error 2
make[3]: Leaving directory `/home/development/src/openwrt-trunk/openwrt/package/libs/uclibc++'
make[2]: *** [package/libs/uclibc++/compile] Error 2
make[2]: Leaving directory `/home/development/src/openwrt-trunk/openwrt'
make[1]: *** [/home/development/src/openwrt-trunk/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/development/src/openwrt-trunk/openwrt'
make: *** [world] Error 2

Attachments (0)

Change History (5)

comment:1 Changed 3 years ago by anonymous

make dirclean
git pull
make package/symlinks V=s
...
;)

comment:2 Changed 3 years ago by anonymous

I tried your suggestion, compilation bombed with the same error ...

comment:3 Changed 3 years ago by anonymous

my buid witch last patch r46162, r46163, r46164 and witchout - labamba... :D
Sugestion - your system,libs,programs,etc. is incompatibility for source,builds,etc. openwrt...
;)

comment:4 Changed 3 years ago by anonymous

Since r46192 uClibc++ seems to compile correctly once again.

Please close this ticket.

comment:5 Changed 2 years ago by rmilecki

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.