用crosstool制作编译链
在用crosstool制作编译链时遇到
buffer overflow detected ***: armeb-unknown-linux-gnu-ar terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x4[0x4012bda8]
/lib/tls/i686/cmov/libc.so.6[0x40129eb0]
/lib/tls/i686/cmov/libc.so.6[0x401295a8]
/lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0xc[0x4009bbb8]
/lib/tls/i686/cmov/libc.so.6(_IO_padn+0xed)[0x4008eded]
/lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x27bf)[0x4006ffef]
/lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa4)[0x40129654]
/lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0x4012959d]
armeb-unknown-linux-gnu-ar[0x8050832]
armeb-unknown-linux-gnu-ar[0x804ea2b]
armeb-unknown-linux-gnu-ar[0x80514f8]
armeb-unknown-linux-gnu-ar[0x8054f48]
armeb-unknown-linux-gnu-ar[0x804b5b5]
armeb-unknown-linux-gnu-ar[0x804c250]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0x40044775]
armeb-unknown-linux-gnu-ar[0x8049611]
======= Memory map: ========
08048000-08096000 r-xp 00000000 08:09 719533 /home/von/crosstool/toolchain/armeb-linux/gcc-4.1.0-glibc-2.3.6/armeb-unknown-linux-gnu/bin/armeb-unknown-linux-gnu-ar
08096000-08097000 r--p 0004d000 08:09 719533 /home/von/crosstool/toolchain/armeb-linux/gcc-4.1.0-glibc-2.3.6/armeb-unknown-linux-gnu/bin/armeb-unknown-linux-gnu-ar
08097000-08098000 rw-p 0004e000 08:09 719533 /home/von/crosstool/toolchain/armeb-linux/gcc-4.1.0-glibc-2.3.6/armeb-unknown-linux-gnu/bin/armeb-unknown-linux-gnu-ar
08098000-0809c000 rw-p 08098000 00:00 0
09984000-0a416000 rw-p 09984000 00:00 0 [heap]
40000000-4001c000 r-xp 00000000 08:09 735863 /lib/ld-2.9.so
4001c000-4001d000 r--p 0001b000 08:09 735863 /lib/ld-2.9.so
4001d000-4001e000 rw-p 0001c000 08:09 735863 /lib/ld-2.9.so
4001e000-4001f000 r-xp 4001e000 00:00 0 [vdso]
4001f000-40021000 rw-p 4001f000 00:00 0
40021000-40022000 r--p 00000000 08:09 1786998 /usr/lib/locale/zh_CN.utf8/LC_MESSAGES/SYS_LC_MESSAGES
40022000-40029000 r--s 00000000 08:09 1243025 /usr/lib/gconv/gconv-modules.cache
40029000-4002e000 rw-p 40029000 00:00 0
4002e000-4018a000 r-xp 00000000 08:09 785287 /lib/tls/i686/cmov/libc-2.9.so
4018a000-4018b000 ---p 0015c000 08:09 785287 /lib/tls/i686/cmov/libc-2.9.so
4018b000-4018d000 r--p 0015c000 08:09 785287 /lib/tls/i686/cmov/libc-2.9.so
4018d000-4018e000 rw-p 0015e000 08:09 785287 /lib/tls/i686/cmov/libc-2.9.so
4018e000-40192000 rw-p 4018e000 00:00 0
40192000-401d1000 r--p 00000000 08:09 1786993 /usr/lib/locale/zh_CN.utf8/LC_CTYPE
401d1000-401d6000 rw-p 401d1000 00:00 0
401e3000-401f0000 r-xp 00000000 08:09 735905 /lib/libgcc_s.so.1
401f0000-401f1000 r--p 0000c000 08:09 735905 /lib/libgcc_s.so.1
401f1000-401f2000 rw-p 0000d000 08:09 735905 /lib/libgcc_s.so.1
bfc8c000-bfca4000 rw-p bffe8000 00:00 0 [stack]
make[2]: *** [libgcc.a] Aborted
make[2]: *** Deleting file `libgcc.a'
make[2]: Leaving directory `/home/von/crosstool/crosstool-0.43/build/armeb-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.6/build-gcc-core/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/von/crosstool/crosstool-0.43/build/armeb-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.6/build-gcc-core/gcc'
make: *** [all-gcc] Error 2
buffer overflow detected
哪位大虾能给解释下?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
可以向crosstool的mailing list上发个邮件问问。
楼主可以下个最新版本的试试看。
http://ymorin.is-a-geek.org/projects/crosstool