Fwd: Installing Nios2 Gcc (problem in libgcc.a)

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

 



Hi, Thomas and Jonathan!

I'm trying to send the whole message here in the body, but it's returning me that something in my message makes it seems a spam. Now I'm trying to send it attached. Let's see...

Kiehn
lcr@lcr01:~/cross/build$ make
make[1]: Entering directory `/home/lcr/cross/build/libiberty'
make[2]: Entering directory `/home/lcr/cross/build/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/lcr/cross/build/libiberty/testsuite'
make[1]: Leaving directory `/home/lcr/cross/build/libiberty'
make[1]: Entering directory `/home/lcr/cross/build/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/lcr/cross/build/intl'
make[1]: Entering directory `/home/lcr/cross/build/gcc'
echo "/* This file is machine generated. Do not edit. */" > tmp-gtyp.h
echo "static const char *const srcdir = " >> tmp-gtyp.h
echo "\"../../src/gcc/gcc\"" >> tmp-gtyp.h
echo ";" >> tmp-gtyp.h
echo "static const char *const lang_files[] = {" >> tmp-gtyp.h
ll="../../src/gcc/gcc/cp/mangle.c ../../src/gcc/gcc/cp/name-lookup.h ../../src/gcc/gcc/cp/name-lookup.c ../../src/gcc/gcc/cp/cp-tree.h ../../src/gcc/gcc/cp/decl.h ../../src/gcc/gcc/cp/lex.h ../../src/gcc/gcc/cp/call.c ../../src/gcc/gcc/cp/decl.c ../../src/gcc/gcc/cp/decl2.c ../../src/gcc/gcc/cp/pt.c ../../src/gcc/gcc/cp/repo.c ../../src/gcc/gcc/cp/semantics.c ../../src/gcc/gcc/cp/tree.c ../../src/gcc/gcc/cp/parser.c ../../src/gcc/gcc/cp/method.c ../../src/gcc/gcc/c-common.c ../../src/gcc/gcc/c-common.h ../../src/gcc/gcc/c-pragma.c ../../src/gcc/gcc/c-lang.c ../../src/gcc/gcc/c-parse.in ../../src/gcc/gcc/c-tree.h ../../src/gcc/gcc/c-decl.c ../../src/gcc/gcc/c-common.c ../../src/gcc/gcc/c-common.h ../../src/gcc/gcc/c-pragma.c ../../src/gcc/gcc/c-objc-common.c "; \
for f in $ll; do \
echo "\"$f\", "; done >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
echo "static const char *const langs_for_lang_files[] = {" >> tmp-gtyp.h
ff="cp cp cp cp cp cp cp cp cp cp cp cp cp cp cp cp cp cp c c c c c c c c "; \
for f in $ff; do \
echo "\"$f\", " ; done >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
echo "static const char *const all_files[] = {" >> tmp-gtyp.h
gf="../../src/gcc/gcc/input.h ../../src/gcc/gcc/coretypes.h ../../src/gcc/gcc/cpplib.h auto-host.h ../../src/gcc/gcc/../include/ansidecl.h ../../src/gcc/gcc/config/elfos.h ../../src/gcc/gcc/config/nios2/nios2.h ../../src/gcc/gcc/defaults.h ../../src/gcc/gcc/../include/hashtab.h ../../src/gcc/gcc/../include/splay-tree.h ../../src/gcc/gcc/bitmap.h ../../src/gcc/gcc/coverage.c ../../src/gcc/gcc/function.h ../../src/gcc/gcc/rtl.h ../../src/gcc/gcc/optabs.h ../../src/gcc/gcc/tree.h ../../src/gcc/gcc/libfuncs.h ../../src/gcc/gcc/hashtable.h ../../src/gcc/gcc/real.h ../../src/gcc/gcc/varray.h ../../src/gcc/gcc/insn-addr.h ../../src/gcc/gcc/cselib.h ../../src/gcc/gcc/basic-block.h ../../src/gcc/gcc/cgraph.h ../../src/gcc/gcc/c-common.h ../../src/gcc/gcc/c-tree.h ../../src/gcc/gcc/alias.c ../../src/gcc/gcc/bitmap.c ../../src/gcc/gcc/cselib.c ../../src/gcc/gcc/cgraph.c ../../src/gcc/gcc/dbxout.c ../../src/gcc/gcc/dwarf2out.c ../../src/gcc/gcc/dwarf2asm.c ../../src/gcc/gcc/dojump.c ../../src/gcc/gcc/emit-rtl.c ../../src/gcc/gcc/except.c ../../src/gcc/gcc/explow.c ../../src/gcc/gcc/expr.c ../../src/gcc/gcc/fold-const.c ../../src/gcc/gcc/function.c ../../src/gcc/gcc/gcse.c ../../src/gcc/gcc/integrate.c ../../src/gcc/gcc/lists.c ../../src/gcc/gcc/optabs.c ../../src/gcc/gcc/profile.c ../../src/gcc/gcc/ra-build.c ../../src/gcc/gcc/regclass.c ../../src/gcc/gcc/reg-stack.c ../../src/gcc/gcc/cfglayout.c ../../src/gcc/gcc/langhooks.c ../../src/gcc/gcc/sdbout.c ../../src/gcc/gcc/stmt.c ../../src/gcc/gcc/stor-layout.c ../../src/gcc/gcc/stringpool.c ../../src/gcc/gcc/tree.c ../../src/gcc/gcc/varasm.c ../../src/gcc/gcc/config/nios2/nios2.c ../../src/gcc/gcc/cp/mangle.c ../../src/gcc/gcc/cp/name-lookup.h ../../src/gcc/gcc/cp/name-lookup.c ../../src/gcc/gcc/cp/cp-tree.h ../../src/gcc/gcc/cp/decl.h ../../src/gcc/gcc/cp/lex.h ../../src/gcc/gcc/cp/call.c ../../src/gcc/gcc/cp/decl.c ../../src/gcc/gcc/cp/decl2.c ../../src/gcc/gcc/cp/pt.c ../../src/gcc/gcc/cp/repo.c ../../src/gcc/gcc/cp/semantics.c ../../src/gcc/gcc/cp/tree.c ../../src/gcc/gcc/cp/parser.c ../../src/gcc/gcc/cp/method.c ../../src/gcc/gcc/c-common.c ../../src/gcc/gcc/c-common.h ../../src/gcc/gcc/c-pragma.c ../../src/gcc/gcc/c-lang.c ../../src/gcc/gcc/c-parse.in ../../src/gcc/gcc/c-tree.h ../../src/gcc/gcc/c-decl.c ../../src/gcc/gcc/c-common.c ../../src/gcc/gcc/c-common.h ../../src/gcc/gcc/c-pragma.c ../../src/gcc/gcc/c-objc-common.c"; \
for f in $gf; do \
echo "\"$f\", "; done >> tmp-gtyp.h
echo " NULL};" >> tmp-gtyp.h
echo "static const char *const lang_dir_names[] = { \"c\", " >> tmp-gtyp.h
gf="cp"; \
for l in $gf; do \
echo "\"$l\", "; done >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
/bin/sh ../../src/gcc/gcc/move-if-change tmp-gtyp.h gtyp-gen.h
gtyp-gen.h is unchanged
AWK=mawk /bin/sh ../../src/gcc/gcc/opts.sh \
'/bin/sh ../../src/gcc/gcc/move-if-change' \
options.c options.h ../../src/gcc/gcc/c.opt ../../src/gcc/gcc/common.opt
options.h is unchanged
options.c is unchanged
if [ -f specs.ready ] ; then \
true; \
else \
echo timestamp > specs.ready; \
fi
make \
CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long " \
CONFIG_H="tconfig.h ../../src/gcc/gcc/../include/ansidecl.h" TM_H="tm.h ../../src/gcc/gcc/config/elfos.h ../../src/gcc/gcc/config/nios2/nios2.h ../../src/gcc/gcc/defaults.h insn-constants.h insn-flags.h" \
INCLUDES="-I. -I. -I../../src/gcc/gcc -I../../src/gcc/gcc/. -I../../src/gcc/gcc/../include " \
MAKEOVERRIDES= \
-f libgcc.mk all
make[2]: Entering directory `/home/lcr/cross/build/gcc'
for d in libgcc; do \
if [ -d $d ]; then true; else /bin/sh ../../src/gcc/gcc/mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
rm -rf ./libgcc.a
/home/lcr/cross/build/binutils/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/./lib2-divmod.o libgcc/./lib2-divmod-hi.o libgcc/./lib2-divtable.o libgcc/./lib2-mul.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 ***: /home/lcr/cross/build/binutils/ar terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x2b255416a537]
/lib/libc.so.6(+0xfe3f0)[0x2b25541693f0]
/lib/libc.so.6(+0xfd859)[0x2b2554168859]
/lib/libc.so.6(_IO_default_xsputn+0xcc)[0x2b25540e0c2c]
/lib/libc.so.6(_IO_padn+0xe8)[0x2b25540d46e8]
/lib/libc.so.6(_IO_vfprintf+0x2af3)[0x2b25540b3133]
/lib/libc.so.6(__vsprintf_chk+0x99)[0x2b25541688f9]
/lib/libc.so.6(__sprintf_chk+0x7f)[0x2b255416883f]
/home/lcr/cross/build/binutils/ar[0x408e84]
/home/lcr/cross/build/binutils/ar[0x4070c1]
/home/lcr/cross/build/binutils/ar[0x409715]
/home/lcr/cross/build/binutils/ar[0x40cd87]
/home/lcr/cross/build/binutils/ar[0x403d4f]
/home/lcr/cross/build/binutils/ar[0x40421f]
/home/lcr/cross/build/binutils/ar[0x404c49]
/lib/libc.so.6(__libc_start_main+0xfe)[0x2b2554089d8e]
/home/lcr/cross/build/binutils/ar[0x401bc9]
======= Memory map: ========
00400000-00452000 r-xp 00000000 08:06 2893092 /home/lcr/cross/build/binutils/ar
00651000-00652000 r--p 00051000 08:06 2893092 /home/lcr/cross/build/binutils/ar
00652000-00653000 rw-p 00052000 08:06 2893092 /home/lcr/cross/build/binutils/ar
00653000-00657000 rw-p 00000000 00:00 0
00e3a000-01356000 rw-p 00000000 00:00 0 [heap]
2b2553e48000-2b2553e68000 r-xp 00000000 08:06 13631733 /lib/ld-2.12.1.so
2b2553e68000-2b2553e6a000 rw-p 00000000 00:00 0
2b2554068000-2b2554069000 r--p 00020000 08:06 13631733 /lib/ld-2.12.1.so
2b2554069000-2b255406a000 rw-p 00021000 08:06 13631733 /lib/ld-2.12.1.so
2b255406a000-2b255406b000 rw-p 00000000 00:00 0
2b255406b000-2b25541e5000 r-xp 00000000 08:06 13631725 /lib/libc-2.12.1.so
2b25541e5000-2b25543e4000 ---p 0017a000 08:06 13631725 /lib/libc-2.12.1.so
2b25543e4000-2b25543e8000 r--p 00179000 08:06 13631725 /lib/libc-2.12.1.so
2b25543e8000-2b25543e9000 rw-p 0017d000 08:06 13631725 /lib/libc-2.12.1.so
2b25543e9000-2b25543f0000 rw-p 00000000 00:00 0
2b25543f0000-2b25546d0000 r--p 00000000 08:06 6424927 /usr/lib/locale/locale-archive
2b25546d0000-2b25546d7000 r--s 00000000 08:06 6424240 /usr/lib/gconv/gconv-modules.cache
2b25546d7000-2b25546e1000 rw-p 00000000 00:00 0
2b25546fb000-2b2554710000 r-xp 00000000 08:06 13631567 /lib/libgcc_s.so.1
2b2554710000-2b255490f000 ---p 00015000 08:06 13631567 /lib/libgcc_s.so.1
2b255490f000-2b2554910000 r--p 00014000 08:06 13631567 /lib/libgcc_s.so.1
2b2554910000-2b2554911000 rw-p 00015000 08:06 13631567 /lib/libgcc_s.so.1
7fff57222000-7fff57245000 rw-p 00000000 00:00 0 [stack]
7fff573c0000-7fff573c1000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
make[2]: *** [libgcc.a] Aborted
make[2]: *** Deleting file `libgcc.a'
make[2]: Leaving directory `/home/lcr/cross/build/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/lcr/cross/build/gcc'
make: *** [all-gcc] Error 2


[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