Forum Linux.embarqué uclinux-dist build kernel

Posté par  .
Étiquettes : aucune
-2
17
mar.
2009
Hi everyone,

I have an error when i build the kernel

cd uClinux-dist
make menuconfig
make vendor_hwselect SYSPTF=
make

compilation :

CODE

...
CC lib/vsprintf.o
AR lib/lib.a
*** buffer overflow detected ***: nios2-linux-uclibc-ar terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x4012b558]
/lib/tls/i686/cmov/libc.so.6[0x40129680]
/lib/tls/i686/cmov/libc.so.6[0x40128d68]
/lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0xc8)[0x4009ea18]
/lib/tls/i686/cmov/libc.so.6(_IO_padn+0xed)[0x40091e0d]
/lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x27cf)[0x4007315f]
/lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa7)[0x40128e17]
/lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0x40128d5d]
nios2-linux-uclibc-ar[0x8050832]
nios2-linux-uclibc-ar[0x804ea2b]
nios2-linux-uclibc-ar[0x80514f8]
nios2-linux-uclibc-ar[0x8054f48]
nios2-linux-uclibc-ar[0x804b5b5]
nios2-linux-uclibc-ar[0x804c250]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0x40047685]
nios2-linux-uclibc-ar[0x8049611]
======= Memory map: ========
08048000-08091000 r-xp 00000000 08:01 1168048 /home/hayder/nios2-linux/toolchain-build/build/nios2/bin/nios2-linux-uclibc-ar
08091000-08092000 r--p 00048000 08:01 1168048 /home/hayder/nios2-linux/toolchain-build/build/nios2/bin/nios2-linux-uclibc-ar
08092000-08093000 rw-p 00049000 08:01 1168048 /home/hayder/nios2-linux/toolchain-build/build/nios2/bin/nios2-linux-uclibc-ar
08093000-08097000 rw-p 08093000 00:00 0
08fe9000-090b5000 rw-p 08fe9000 00:00 0 [heap]
40000000-4001a000 r-xp 00000000 08:01 1114131 /lib/ld-2.8.90.so
4001a000-4001b000 r-xp 4001a000 00:00 0 [vdso]
4001b000-4001c000 r--p 0001a000 08:01 1114131 /lib/ld-2.8.90.so
4001c000-4001d000 rw-p 0001b000 08:01 1114131 /lib/ld-2.8.90.so
4001d000-4001f000 rw-p 4001d000 00:00 0
4001f000-40020000 r--p 00000000 08:01 1220611 /usr/lib/locale/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
40020000-40027000 r--s 00000000 08:01 311539 /usr/lib/gconv/gconv-modules.cache
40027000-40031000 rw-p 40027000 00:00 0
40031000-40189000 r-xp 00000000 08:01 1131515 /lib/tls/i686/cmov/libc-2.8.90.so
40189000-4018b000 r--p 00158000 08:01 1131515 /lib/tls/i686/cmov/libc-2.8.90.so
4018b000-4018c000 rw-p 0015a000 08:01 1131515 /lib/tls/i686/cmov/libc-2.8.90.so
4018c000-40190000 rw-p 4018c000 00:00 0
40190000-401cf000 r--p 00000000 08:01 1205393 /usr/lib/locale/fr_FR.utf8/LC_CTYPE
401e1000-401ee000 r-xp 00000000 08:01 1114174 /lib/libgcc_s.so.1
401ee000-401ef000 r--p 0000c000 08:01 1114174 /lib/libgcc_s.so.1
401ef000-401f0000 rw-p 0000d000 08:01 1114174 /lib/libgcc_s.so.1
bf802000-bf81a000 rw-p bffe8000 00:00 0 [stack]
/bin/sh: line 1: 29224 Abandon nios2-linux-uclibc-ar rcs lib/lib.a lib/argv_split.o lib/cmdline.o lib/ctype.o lib/dec_and_lock.o lib/dump_stack.o lib/extable.o lib/find_next_bit.o lib/idr.o lib/int_sqrt.o lib/irq_regs.o lib/klist.o lib/kobject.o lib/kref.o lib/prio_heap.o lib/prio_tree.o lib/proportions.o lib/radix-tree.o lib/ratelimit.o lib/rbtree.o lib/reciprocal_div.o lib/rwsem-spinlock.o lib/sha1.o lib/string.o lib/vsprintf.o
make[3]: *** [lib/lib.a] Erreur 134
make[2]: *** [lib] Erreur 2
make[1]: *** [sub-make] Erreur 2
make[1]: quittant le répertoire « /home/hayder/nios2-linux/linux-2.6 »
make: *** [linux] Erreur 1
hayder@gregory-desktop:~/nios2-linux/uClinux-dist$



can any one help me ?
Thanks

Suivre le flux des commentaires

Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.