RE: -static-libstdc++ ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If I use

$CXX -D_POSIX_C_SOURCE=199506L -DSGI -D_PTHREADS -D__STDC_CONSTANT_MACROS -o ffmeta_s ffmeta_main.cc -B/home/users/tovrea/local/sgi6/bin $CPPFLAGS $LDFLAGS -lnsl -lxnet /home/users/tovrea/local/sgi6/lib/libavformat.a /home/users/tovrea/local/sgi6/lib/libavcodec.a /home/users/tovrea/local/sgi6/lib/libavutil.a /home/users/tovrea/local/sgi6/lib/libx264.a /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a -lpthread -lbz2 -lz /home/users/tovrea/local/sgi6/lib/libxerces-c.a

I get

/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(globals_io.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(globals_io.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ios_init.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ios_init.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(locale.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(locale.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(locale_init.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(locale_init.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(math_stubs_float.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(math_stubs_float.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ext-inst.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ext-inst.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ios-inst.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ios-inst.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(istream-inst.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(istream-inst.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(istream.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(istream.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(locale-inst.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(locale-inst.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(misc-inst.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(misc-inst.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ostream-inst.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ostream-inst.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(streambuf-inst.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(streambuf-inst.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(streambuf.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(streambuf.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(string-inst.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(string-inst.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(collate_members.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(collate_members.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(messages_members.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(messages_members.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(monetary_members.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(monetary_members.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(numeric_members.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(numeric_members.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(time_members.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(time_members.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(basic_file.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(basic_file.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(c++locale.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(c++locale.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(class_type_info.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(class_type_info.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(del_op.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(del_op.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(del_opv.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(del_opv.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(dyncast.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(dyncast.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_alloc.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_alloc.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_aux_runtime.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_aux_runtime.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_catch.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_catch.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_exception.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_exception.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_globals.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_globals.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_personality.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_personality.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_terminate.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_terminate.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_throw.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_throw.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_unex_handler.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_unex_handler.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(guard.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(guard.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(new_op.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(new_op.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(new_opv.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(new_opv.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(pure.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(pure.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(si_class_type_info.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(si_class_type_info.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(tinfo.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(tinfo.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(vmi_class_type_info.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(vmi_class_type_info.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(codecvt.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(codecvt.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(compatibility.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(compatibility.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ctype.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ctype.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(functexcept.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(functexcept.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ios.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ios.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ios_failure.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ios_failure.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ios_locale.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ios_locale.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(locale_facets.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(locale_facets.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(stdexcept.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(stdexcept.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(system_error.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(system_error.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(fstream-inst.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(fstream-inst.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(iostream-inst.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(iostream-inst.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(bad_cast.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(bad_cast.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(bad_typeid.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(bad_typeid.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_call.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_call.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_term_handler.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_term_handler.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(new_handler.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(new_handler.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(vterminate.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(vterminate.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(cp-demangle.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(cp-demangle.o)
/home/users/tovrea/local/sgi6/bin/ld: /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_type.o): ABI is incompatible with that of the selected emulation
/home/users/tovrea/local/sgi6/bin/ld: failed to merge target specific data of file /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(eh_type.o)
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3108
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3108
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3112
/home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ios_init.o): In function `__exchange_and_add_dispatch':
/home/users/tovrea/GCC_SGI6/build_gcc/mips-sgi-irix6.5/32/libstdc++-v3/include/ext/atomicity.h:78: relocation truncated to fit: R_MIPS_GOT16 against `std::ios_base::Init::_S_refcount'
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3108
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3112
/home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ios_init.o): In function `__exchange_and_add':
/home/users/tovrea/GCC_SGI6/build_gcc/mips-sgi-irix6.5/32/libstdc++-v3/include/ext/atomicity.h:46: relocation truncated to fit: R_MIPS_GOT16 against `std::ios_base::Init::_S_refcount'
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3108
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3112
/home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ios_init.o): In function `~Init':
/home/users/tovrea/GCC_SGI6/gcc-4.4.0/libstdc++-v3/src/ios_init.cc:131: relocation truncated to fit: R_MIPS_GOT16 against `std::cout'
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3108
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3112
/home/users/tovrea/GCC_SGI6/gcc-4.4.0/libstdc++-v3/src/ios_init.cc:131: relocation truncated to fit: R_MIPS_CALL16 against `std::basic_ostream<char, std::char_traits<char> >::flush()'
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3108
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3112
/home/users/tovrea/GCC_SGI6/gcc-4.4.0/libstdc++-v3/src/ios_init.cc:132: relocation truncated to fit: R_MIPS_CALL16 against `std::basic_ostream<char, std::char_traits<char> >::flush()'
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3108
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3112
/home/users/tovrea/GCC_SGI6/gcc-4.4.0/libstdc++-v3/src/ios_init.cc:133: relocation truncated to fit: R_MIPS_GOT16 against `std::clog'
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3108
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3112
/home/users/tovrea/GCC_SGI6/gcc-4.4.0/libstdc++-v3/src/ios_init.cc:133: relocation truncated to fit: R_MIPS_CALL16 against `std::basic_ostream<char, std::char_traits<char> >::flush()'
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3108
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3108
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3112
/home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ios_init.o): In function `__exchange_and_add_dispatch':
/home/users/tovrea/GCC_SGI6/build_gcc/mips-sgi-irix6.5/32/libstdc++-v3/include/ext/atomicity.h:78: relocation truncated to fit: R_MIPS_GOT16 against `std::ios_base::Init::_S_refcount'
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3108
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3112
/home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ios_init.o): In function `__exchange_and_add':
/home/users/tovrea/GCC_SGI6/build_gcc/mips-sgi-irix6.5/32/libstdc++-v3/include/ext/atomicity.h:46: relocation truncated to fit: R_MIPS_GOT16 against `std::ios_base::Init::_S_refcount'
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3108
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3112
/home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/32/libstdc++.a(ios_init.o): In function `~Init':
/home/users/tovrea/GCC_SGI6/gcc-4.4.0/libstdc++-v3/src/ios_init.cc:131: relocation truncated to fit: R_MIPS_GOT16 against `std::cout'
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3108
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3112
/home/users/tovrea/GCC_SGI6/gcc-4.4.0/libstdc++-v3/src/ios_init.cc:131: additional relocation overflows omitted from the output
****followed by a boatload of these****
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3108
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3112
/home/users/tovrea/local/sgi6/bin/ld: BFD (GNU Binutils) 2.19.1 assertion fail elfxx-mips.c:3108

If I use

$CXX -D_POSIX_C_SOURCE=199506L -DSGI -D_PTHREADS -D__STDC_CONSTANT_MACROS -o ffmeta_s ffmeta_main.cc -B/home/users/tovrea/local/sgi6/bin $CPPFLAGS $LDFLAGS -lnsl -lxnet /home/users/tovrea/local/sgi6/lib/libavformat.a /home/users/tovrea/local/sgi6/lib/libavcodec.a /home/users/tovrea/local/sgi6/lib/libavutil.a /home/users/tovrea/local/sgi6/lib/libx264.a /home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.4.0/libstdc++.a -lpthread -lbz2 -lz /home/users/tovrea/local/sgi6/lib/libxerces-c.a

It compiles but the executable cores with

Core from signal SIGSEGV: Segmentation violation
(dbx) t
>  0 pthread_key_create(0x600eb490, 0x600a15c0, 0x18248, 0x0, 0x0, 0x0, 0x65, 0x600a153c) ["/xlv51/patches/7042/work/eoe/lib/libpthread/libpthread_n32_M3/key.c":68, 0xc058730]
   1 __static_initialization_and_destruction_0(__initialize_p = <illegal>, __priority = <illegal>) ["/home/users/tovrea/GCC_SGI2/gcc-4.3.0/libstdc++-v3/libsupc++/eh_globals.cc":10, 0x600a1534]
   2 <Unknown>() [< unknown >, 0x600aa588]



-----Original Message-----
From: Ian Lance Taylor [mailto:iant@xxxxxxxxxx]
Sent: Wednesday, September 23, 2009 11:09 PM
To: Tovrea, George W (US SSA)
Cc: gcc-help@xxxxxxxxxxx
Subject: Re: -static-libstdc++ ??

"Tovrea, George W (US SSA)" <george.tovrea@xxxxxxxxxxxxxx> writes:

> The option -static-libstdc++ result in "undefined option" and trying to link in .../libstdc++.a fails with tons of undefined references.

-static-libstdc++ will be a new option in gcc 4.5.  It is not
supported in gcc 4.4 or earlier.

What sort of undefined references do you see?

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux