Chinaunix首页 | 论坛 | 博客
  • 博客访问: 38395
  • 博文数量: 9
  • 博客积分: 125
  • 博客等级: 入伍新兵
  • 技术积分: 83
  • 用 户 组: 普通用户
  • 注册时间: 2011-06-07 16:17
文章分类

全部博文(9)

文章存档

2012年(9)

我的朋友

分类: LINUX

2012-06-20 17:17:13

最近下了最新版本u-boot2012.4,最后链接时出错:
/bin/sh: line 1: 23178 Segmentation fault      arm-linux-ld -pie -T u-boot.lds -Bstatic -Ttext 0x33f80000 $UNDEF_SYM arch/arm/cpu/arm920t/start.o --start-group api/libapi.o arch/arm/cpu/arm920t/libarm920t.o arch/arm/cpu/arm920t/s3c24x0/libs3c24x0.o arch/arm/lib/libarm.o common/libcommon.o disk/libdisk.o drivers/bios_emulator/libatibiosemu.o drivers/block/libblock.o drivers/dma/libdma.o drivers/fpga/libfpga.o drivers/gpio/libgpio.o drivers/hwmon/libhwmon.o drivers/i2c/libi2c.o drivers/input/libinput.o drivers/misc/libmisc.o drivers/mmc/libmmc.o drivers/mtd/libmtd.o drivers/mtd/nand/libnand.o drivers/mtd/onenand/libonenand.o drivers/mtd/spi/libspi_flash.o drivers/mtd/ubi/libubi.o drivers/net/libnet.o drivers/net/phy/libphy.o drivers/pci/libpci.o drivers/pcmcia/libpcmcia.o drivers/power/libpower.o drivers/rtc/librtc.o drivers/serial/libserial.o drivers/spi/libspi.o drivers/twserial/libtws.o drivers/usb/eth/libusb_eth.o drivers/usb/gadget/libusb_gadget.o drivers/usb/host/libusb_host.o drivers/usb/musb/libusb_musb.o drivers/usb/phy/libusb_phy.o drivers/usb/ulpi/libusb_ulpi.o drivers/video/libvideo.o drivers/watchdog/libwatchdog.o fs/cramfs/libcramfs.o fs/ext2/libext2fs.o fs/fat/libfat.o fs/fdos/libfdos.o fs/jffs2/libjffs2.o fs/reiserfs/libreiserfs.o fs/ubifs/libubifs.o fs/yaffs2/libyaffs2.o lib/libfdt/libfdt.o lib/libgeneric.o lib/lzma/liblzma.o lib/lzo/liblzo.o lib/zlib/libz.o net/libnet.o post/libpost.o board/ddx/binbin/libbinbin.o --end-group /work/tmp/u-boot-2012.04.01/arch/arm/lib/eabi_compat.o -L /work/system/arm-bin/bin/../lib/gcc/arm-angstrom-linux-gnueabi/4.1.2 -lgcc -Map u-boot.map -o u-boot
make: *** [u-boot] Error 139
 
此问题是编译器版本太低了的原因:
更新arm-linux-gcc版本到4.3以上就行。。。
阅读(7212) | 评论(1) | 转发(0) |
1

上一篇:一个关于dlopen的使用警告

下一篇:没有了

给主人留下些什么吧!~~

zgj2242013-12-20 18:03:11

更新比4.3高的就能编译通过吗?我也遇到这个问题!!!