toolchain compilation error in gcc-3.4.4-2.16.1

Jeff Haran jharan at bytemobile.com
Fri Jun 22 21:07:19 EDT 2012



From: kernelnewbies-bounces+jharan=bytemobile.com at kernelnewbies.org [mailto:kernelnewbies-bounces+jharan=bytemobile.com at kernelnewbies.org] On Behalf Of sanjay das
Sent: Friday, June 22, 2012 5:50 PM
To: kernelnewbies at kernelnewbies.org
Subject: Re: toolchain compilation error in gcc-3.4.4-2.16.1

I am trying to compile it under ubuntu 11.10
On Sat, Jun 23, 2012 at 5:47 AM, sanjay das <skddy1 at gmail.com<mailto:skddy1 at gmail.com>> wrote:
Hello everyone,

I was trying to compile toochain gcc-3.4.4-2.16.1 for Atheros AP83 board(toolchain have support for this) but after a certain point of time i get the below error
where i am stuck .Please me know if anyone knows how to get it resolved and what is the issue behind this.

================================================================================================================
make[3]: Entering directory `/home/sanjay/MYBUILD/LSDK7.3.0.435/build/gcc-3.4.4-2.16.1/toolchain_build_mips_nofpu/gcc-3.4.4-initial/gcc'
for d in libgcc; do \
 if [ -d $d ]; then true; else /bin/sh /home/sanjay/MYBUILD/LSDK7.3.0.435/build/gcc-3.4.4-2.16.1/toolchain_build_mips_nofpu/gcc-3.4.4/gcc/mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
rm -rf ./libgcc.a
mips-linux-uclibc-ar  rc ./libgcc.a libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o libgcc/./_ashrdi3.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/./_enable_execute_stack.o libgcc/./_trampoline.o libgcc/./__main.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/./_ffssi2.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_clzsi2.o libgcc/./_clzdi2.o libgcc/./_ctzsi2.o libgcc/./_ctzdi2.o libgcc/./_popcount_tab.o libgcc/./_popcountsi2.o libgcc/./_popcountdi2.o libgcc/./_paritysi2.o libgcc/./_paritydi2.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/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o libgcc/./gthr-gnat.o libgcc/./unwind-c.o libgcc/./_eprintf.o libgcc/./__gcc_bcmp.o
*** buffer overflow detected ***: mips-linux-uclibc-ar terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x45)[0x4011c8d5]
/lib/i386-linux-gnu/libc.so.6(+0xe66d7)[0x4011b6d7]
/lib/i386-linux-gnu/libc.so.6(+0xe5d35)[0x4011ad35]
/lib/i386-linux-gnu/libc.so.6(_IO_default_xsputn+0x91)[0x400a0f91]
/lib/i386-linux-gnu/libc.so.6(_IO_padn+0xc9)[0x40094c89]
/lib/i386-linux-gnu/libc.so.6(_IO_vfprintf+0x38e4)[0x40078a14]
/lib/i386-linux-gnu/libc.so.6(__vsprintf_chk+0xc9)[0x4011ae09]
/lib/i386-linux-gnu/libc.so.6(__sprintf_chk+0x2f)[0x4011ad1f]
mips-linux-uclibc-ar[0x804e928]
mips-linux-uclibc-ar[0x8050c94]
mips-linux-uclibc-ar[0x8058f82]
mips-linux-uclibc-ar[0x804c3ab]
mips-linux-uclibc-ar[0x804a277]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x4004e113]
mips-linux-uclibc-ar[0x804a865]
======= Memory map: ========
08048000-080e4000 r-xp 00000000 08:01 4243487    /export/tools-ap83fus/bin/mips-linux-uclibc-ar
080e4000-080e5000 r--p 0009b000 08:01 4243487    /export/tools-ap83fus/bin/mips-linux-uclibc-ar
080e5000-080e6000 rw-p 0009c000 08:01 4243487    /export/tools-ap83fus/bin/mips-linux-uclibc-ar
080e6000-080ea000 rw-p 00000000 00:00 0
09531000-09618000 rw-p 00000000 00:00 0          [heap]
40000000-4001e000 r-xp 00000000 08:01 1794064    /lib/i386-linux-gnu/ld-2.13.so<http://ld-2.13.so>
4001e000-4001f000 r--p 0001d000 08:01 1794064    /lib/i386-linux-gnu/ld-2.13.so<http://ld-2.13.so>
4001f000-40020000 rw-p 0001e000 08:01 1794064    /lib/i386-linux-gnu/ld-2.13.so<http://ld-2.13.so>
40020000-40021000 r-xp 00000000 00:00 0          [vdso]
40021000-40023000 rw-p 00000000 00:00 0
40023000-4002a000 r--s 00000000 08:01 3662914    /usr/lib/i386-linux-gnu/gconv/gconv-modules.cache
40035000-401ab000 r-xp 00000000 08:01 1794067    /lib/i386-linux-gnu/libc-2.13.so<http://libc-2.13.so>
401ab000-401ad000 r--p 00176000 08:01 1794067    /lib/i386-linux-gnu/libc-2.13.so<http://libc-2.13.so>
401ad000-401ae000 rw-p 00178000 08:01 1794067    /lib/i386-linux-gnu/libc-2.13.so<http://libc-2.13.so>
401ae000-401b2000 rw-p 00000000 00:00 0
401b2000-403b2000 r--p 00000000 08:01 3665681    /usr/lib/locale/locale-archive
403c4000-403e0000 r-xp 00000000 08:01 1794092    /lib/i386-linux-gnu/libgcc_s.so.1
403e0000-403e1000 r--p 0001b000 08:01 1794092    /lib/i386-linux-gnu/libgcc_s.so.1
403e1000-403e2000 rw-p 0001c000 08:01 1794092    /lib/i386-linux-gnu/libgcc_s.so.1
bfac5000-bfae8000 rw-p 00000000 00:00 0          [stack]
make[3]: *** [libgcc.a] Aborted
make[3]: *** Deleting file `libgcc.a'
make[3]: Leaving directory `/home/sanjay/MYBUILD/LSDK7.3.0.435/build/gcc-3.4.4-2.16.1/toolchain_build_mips_nofpu/gcc-3.4.4-initial/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/home/sanjay/MYBUILD/LSDK7.3.0.435/build/gcc-3.4.4-2.16.1/toolchain_build_mips_nofpu/gcc-3.4.4-initial/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/sanjay/MYBUILD/LSDK7.3.0.435/build/gcc-3.4.4-2.16.1/toolchain_build_mips_nofpu/gcc-3.4.4-initial'
make: *** [/home/sanjay/MYBUILD/LSDK7.3.0.435/build/gcc-3.4.4-2.16.1/toolchain_build_mips_nofpu/gcc-3.4.4-initial/.compiled] Error 2
======================================================================================================

Regards
Sanjay Kumar Das

Just a suggestion, but I think you'll get more response if you post this to a gcc email list. It doesn't seem to have anything to do with the kernel.

Jeff Haran

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120623/1d6b8746/attachment-0001.html 


More information about the Kernelnewbies mailing list