This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

*** buffer overflow detected ***: powerpc-405-linux-gnu-ar terminated


Hi all, 

I am building a cross-compiler for powerpc-405, using cross-tool 0.43. I can
successfully build gcc-3.4.5-glibc-2.3.6. However, when I try gcc-4.4.3, I
get the following error: 

rm -rf ./libgcc.a
powerpc-405-linux-gnu-ar  rc ./libgcc.a libgcc/./_muldi3.o
libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o
libgcc/./_ashrdi3.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_cmpdi2.o
libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o
libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o
libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o
libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o
libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o
libgcc/./_floatditf.o libgcc/./_clear_cache.o libgcc/./_trampoline.o
libgcc/./__main.o libgcc/./_exit.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o
libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o
libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o
libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./_divdi3.o
libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o
libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o libgcc/./_pack_sf.o
libgcc/./_unpack_sf.o libgcc/./_addsub_sf.o libgcc/./_mul_sf.o
libgcc/./_div_sf.o libgcc/./_fpcmp_parts_sf.o libgcc/./_compare_sf.o
libgcc/./_eq_sf.o libgcc/./_ne_sf.o libgcc/./_gt_sf.o libgcc/./_ge_sf.o
libgcc/./_lt_sf.o libgcc/./_le_sf.o libgcc/./_unord_sf.o
libgcc/./_si_to_sf.o libgcc/./_sf_to_si.o libgcc/./_negate_sf.o
libgcc/./_make_sf.o libgcc/./_sf_to_df.o libgcc/./_sf_to_tf.o
libgcc/./_thenan_sf.o libgcc/./_sf_to_usi.o libgcc/./_usi_to_sf.o
libgcc/./_pack_df.o libgcc/./_unpack_df.o libgcc/./_addsub_df.o
libgcc/./_mul_df.o libgcc/./_div_df.o libgcc/./_fpcmp_parts_df.o
libgcc/./_compare_df.o libgcc/./_eq_df.o libgcc/./_ne_df.o libgcc/./_gt_df.o
libgcc/./_ge_df.o libgcc/./_lt_df.o libgcc/./_le_df.o libgcc/./_unord_df.o
libgcc/./_si_to_df.o libgcc/./_df_to_si.o libgcc/./_negate_df.o
libgcc/./_make_df.o libgcc/./_df_to_sf.o libgcc/./_df_to_tf.o
libgcc/./_thenan_df.o libgcc/./_df_to_usi.o libgcc/./_usi_to_df.o
libgcc/./tramp.o libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde-glibc.o
libgcc/./unwind-sjlj.o libgcc/./unwind-c.o libgcc/./_eprintf.o
libgcc/./_bb.o libgcc/./__gcc_bcmp.o libgcc/./eabi.o
*** buffer overflow detected ***: powerpc-405-linux-gnu-ar terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x2b9390a76217]
/lib/libc.so.6(+0xfe0d0)[0x2b9390a750d0]
/lib/libc.so.6(+0xfd539)[0x2b9390a74539]
/lib/libc.so.6(_IO_default_xsputn+0xcc)[0x2b93909ecd1c]
/lib/libc.so.6(_IO_padn+0xe8)[0x2b93909e07f8]
/lib/libc.so.6(_IO_vfprintf+0x2afc)[0x2b93909bee9c]
/lib/libc.so.6(__vsprintf_chk+0x99)[0x2b9390a745d9]
/lib/libc.so.6(__sprintf_chk+0x7f)[0x2b9390a7451f]
......

I have tried gcc-4.1.0 and other versions, but none of them works. I am
using Ubuntu 10.04, 64-bit system.

Can anyone help me please? Thanks in advance!

Lin


-- 
View this message in context: http://old.nabble.com/***-buffer-overflow-detected-***%3A-powerpc-405-linux-gnu-ar-terminated-tp30606353p30606353.html
Sent from the Sourceware - crossgcc list mailing list archive at Nabble.com.


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]