From owner-freebsd-arm@FreeBSD.ORG Thu Feb 28 12:54:07 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1F259508 for ; Thu, 28 Feb 2013 12:54:07 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-ia0-x22e.google.com (mail-ia0-x22e.google.com [IPv6:2607:f8b0:4001:c02::22e]) by mx1.freebsd.org (Postfix) with ESMTP id C1A98267 for ; Thu, 28 Feb 2013 12:54:06 +0000 (UTC) Received: by mail-ia0-f174.google.com with SMTP id u20so1457876iag.5 for ; Thu, 28 Feb 2013 04:54:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=CQ/bdeAllddFoIA/DiGNSemZSnxMIDH/XjvseFPHYK4=; b=IG/SwfTQEld59GdJ/V4N3m96mAIoa0dzxjrl1IMW/vwF44cF1Ngq019j/N/F+VXlCT yeW0NEKGNvvqXeD6Qk5QNkQn9R1szuNn2ykN6hHT0ZrH4AncDpFAlJ5ei3Dyn95fVPTV VEdB17K1eC9iijJl5QeggKffLZw9pbQs6uWE8BrlZZ7Gixcfx7JoAHcBSEwUBIG95jcG 2/t4pD2uZALkvIFmtXmKLzy6ysPC+kMTenadizCzPD4Xby0kpXdcuh7an4Fcoff/jLJW 9uiYVvklO16jpZmPhASrpgwfTAh7sl2u2DwL3kkTliu/KN/02UGOTbSX6ozgyC9xOUCY MiPw== MIME-Version: 1.0 X-Received: by 10.50.196.169 with SMTP id in9mr2012528igc.47.1362056045785; Thu, 28 Feb 2013 04:54:05 -0800 (PST) Received: by 10.64.6.230 with HTTP; Thu, 28 Feb 2013 04:54:05 -0800 (PST) In-Reply-To: References: Date: Thu, 28 Feb 2013 20:54:05 +0800 Message-ID: Subject: Re: I u-boot fails to compile From: Ganbold Tsagaankhuu To: XiaoQI Ge Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2013 12:54:07 -0000 On Thu, Feb 28, 2013 at 8:07 PM, XiaoQI Ge wrote: > I tried to compile U-BOOT (https://github.com/linux-sunxi/u-boot-sunxi), > but failed, suggesting: > > gmake [1]: *** [u-boot] Segmentation fault: 11 > > I do not know how to solve. > === > > cat /dev/null .depend.board >.depend > gmake[2]: Leaving directory > `/home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/board/allwinner/a10-evb' > gmake[2]: Entering directory > `/home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/board/allwinner/a10-evb' > arm-freebsd-gcc -g -Os -fno-common -ffixed-r8 -msoft-float > -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x4A000000 -DCONFIG_SPL_TEXT_BASE=0x30 > -I/home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/include -fno-builtin > -ffreestanding -nostdinc -isystem /usr/arm-freebsd/usr/include -pipe > -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux > -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector > -Wno-format-nonliteral -Wno-format-security -o board.o board.c -c > In file included from > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/include/common.h:840, > from board.c:27: > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/include/net.h:359: warning: > declaration does not declare anything > arm-freebsd-ld -r -o liba10-evb.o board.o > gmake[2]: Leaving directory > `/home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/board/allwinner/a10-evb' > gmake -C /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/arch/arm/cpu/ u-boot.lds > gmake[2]: Entering directory > `/home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/arch/arm/cpu' > gmake[2]: Nothing to be done for `u-boot.lds'. > gmake[2]: Leaving directory > `/home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/arch/arm/cpu' > arm-freebsd-gcc -E -g -Os -fno-common -ffixed-r8 -msoft-float > -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x4A000000 -DCONFIG_SPL_TEXT_BASE=0x30 > -I/home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/include -fno-builtin > -ffreestanding -nostdinc -isystem /usr/arm-freebsd/usr/include -pipe > -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux > -march=armv5 -include > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/include/u-boot/u-boot.lds.h > -DCPUDIR=arch/arm/cpu/armv7 -ansi -D__ASSEMBLY__ -P - > >u-boot.lds > UNDEF_SYM=`arm-freebsd-objdump -x board/allwinner/a10-evb/liba10-evb.o > api/libapi.o arch/arm/cpu/armv7/libarmv7.o > arch/arm/cpu/armv7/sunxi/libsunxi.o arch/arm/lib/libarm.o > board/allwinner/common/liballwinner.o common/libcommon.o disk/libdisk.o > drivers/bios_emulator/libatibiosemu.o drivers/block/libblock.o > drivers/dfu/libdfu.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/ext4/libext4fs.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 > fs/zfs/libzfs.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 test/libtest.o > | sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`; cd > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi && arm-freebsd-ld -pie -T > u-boot.lds -Bstatic -Ttext 0x4A000000 $UNDEF_SYM arch/arm/cpu/armv7/start.o > --start-group api/libapi.o arch/arm/cpu/armv7/libarmv7.o > arch/arm/cpu/armv7/sunxi/libsunxi.o arch/arm/lib/libarm.o > board/allwinner/common/liballwinner.o common/libcommon.o disk/libdisk.o > drivers/bios_emulator/libatibiosemu.o drivers/block/libblock.o > drivers/dfu/libdfu.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/ext4/libext4fs.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 > fs/zfs/libzfs.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 test/libtest.o > board/allwinner/a10-evb/liba10-evb.o --end-group > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/arch/arm/lib/eabi_compat.o -L > /usr/arm-freebsd/usr/lib -lgcc -L /usr/arm-freebsd/usr/lib -lgcc -Map > u-boot.map -o u-boot > arch/arm/cpu/armv7/sunxi/libsunxi.o: In function `get_timer_masked': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/arch/arm/cpu/armv7/sunxi/timer.c:70: > undefined reference to `__udivsi3' > arch/arm/cpu/armv7/sunxi/libsunxi.o: In function `__udelay': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/arch/arm/cpu/armv7/sunxi/timer.c:83: > undefined reference to `__udivsi3' > arch/arm/cpu/armv7/sunxi/libsunxi.o: In function `mctl_setup_dram_clock': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/arch/arm/cpu/armv7/sunxi/dram.c:279: > undefined reference to `__udivsi3' > common/libcommon.o: In function `do_mem_md': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/common/cmd_mem.c:139: undefined > reference to `__divsi3' > common/libcommon.o: In function `memalign': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/common/dlmalloc.c:2805: undefined > reference to `__umodsi3' > common/libcommon.o: In function `read_env': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/common/env_mmc.c:163: undefined > reference to `__udivsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/common/env_mmc.c:165: undefined > reference to `__udivsi3' > common/libcommon.o: In function `write_env': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/common/env_mmc.c:107: undefined > reference to `__udivsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/common/env_mmc.c:109: undefined > reference to `__udivsi3' > disk/libdisk.o: In function `dev_print': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/disk/part.c:213: undefined > reference to `__udivsi3' > disk/libdisk.o:/home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/disk/part.c:217: > more undefined references to `__udivsi3' follow > drivers/mmc/libmmc.o: In function `mmc_berase': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/drivers/mmc/mmc.c:337: undefined > reference to `__umodsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/drivers/mmc/mmc.c:337: undefined > reference to `__umodsi3' > drivers/mmc/libmmc.o: In function `mmc_config_clock': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/drivers/mmc/sunxi_mmc.c:282: > undefined reference to `__udivsi3' > drivers/mmc/libmmc.o: In function `mmc_clk_io_on': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/drivers/mmc/sunxi_mmc.c:236: > undefined reference to `__udivsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/drivers/mmc/sunxi_mmc.c:242: > undefined reference to `__udivsi3' > drivers/power/libpower.o: In function `axp209_set_ldo3': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/drivers/power/axp209.c:107: > undefined reference to `__divsi3' > drivers/power/libpower.o: In function `axp209_set_ldo2': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/drivers/power/axp209.c:87: > undefined reference to `__divsi3' > drivers/power/libpower.o: In function `axp209_set_dcdc3': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/drivers/power/axp209.c:72: > undefined reference to `__divsi3' > drivers/power/libpower.o: In function `axp209_set_dcdc2': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/drivers/power/axp209.c:48: > undefined reference to `__divsi3' > drivers/serial/libserial.o: In function `calc_divisor': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/drivers/serial/serial.c:149: > undefined reference to `__udivsi3' > fs/ext4/libext4fs.o: In function `ext4fs_read_file': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/ext4/ext4fs.c:84: undefined > reference to `__udivsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/ext4/ext4fs.c:86: undefined > reference to `__divsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/ext4/ext4fs.c:99: undefined > reference to `__umodsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/ext4/ext4fs.c:88: undefined > reference to `__modsi3' > fs/ext4/libext4fs.o: In function `ext4fs_read_inode': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/ext4/ext4_common.c:1482: > undefined reference to `__udivsi3' > fs/ext4/libext4fs.o: In function `ext4fs_blockgroup': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/ext4/ext4_common.c:1466: > undefined reference to `__udivsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/ext4/ext4_common.c:1466: > undefined reference to `__umodsi3' > fs/ext4/libext4fs.o: In function `ext4fs_read_inode': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/ext4/ext4_common.c:1487: > undefined reference to `__udivsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/ext4/ext4_common.c:1492: > undefined reference to `__umodsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/ext4/ext4_common.c:1492: > undefined reference to `__udivsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/ext4/ext4_common.c:1492: > undefined reference to `__modsi3' > fs/ext4/libext4fs.o: In function `read_allocated_block': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/ext4/ext4_common.c:1676: > undefined reference to `__divsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/ext4/ext4_common.c:1695: > undefined reference to `__modsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/ext4/ext4_common.c:1766: > undefined reference to `__divsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/ext4/ext4_common.c:1810: > undefined reference to `__divsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/ext4/ext4_common.c:1814: > undefined reference to `__modsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/ext4/ext4_common.c:1833: > undefined reference to `__modsi3' > fs/fat/libfat.o: In function `get_fatent': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/fat/fat.c:191: undefined > reference to `__udivsi3' > fs/fat/libfat.o: In function `check_overflow': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/fat/fat_write.c:792: undefined > reference to `__udivsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/fat/fat_write.c:793: undefined > reference to `__umodsi3' > fs/fat/libfat.o: In function `set_fatent_value': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/fat/fat_write.c:486: undefined > reference to `__udivsi3' > fs/fat/libfat.o: In function `get_fatent_value': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/fat/fat_write.c:168: undefined > reference to `__udivsi3' > fs/fat/libfat.o: In function `set_cluster': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/fat/fat_write.c:574: undefined > reference to `__udivsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/fat/fat_write.c:579: undefined > reference to `__umodsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/fat/fat_write.c:582: undefined > reference to `__udivsi3' > fs/fat/libfat.o: In function `get_cluster': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/fat/fat.c:304: undefined > reference to `__udivsi3' > fs/fat/libfat.o: In function `do_fat_write': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/fat/fat_write.c:968: undefined > reference to `__udivsi3' > fs/fat/libfat.o: In function `find_directory_entry': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/fat/fat_write.c:826: undefined > reference to `__divsi3' > fs/fat/libfat.o: In function `do_fat_read_at': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/fat/fat.c:873: undefined > reference to `__udivsi3' > fs/zfs/libzfs.o: In function `fzap_iterate': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/zfs/zfs.c:1004: undefined > reference to `__divsi3' > fs/zfs/libzfs.o: In function `zap_leaf_lookup': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/zfs/zfs.c:850: undefined > reference to `__divsi3' > fs/zfs/libzfs.o: In function `zfs_read': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/fs/zfs/zfs.c:2163: undefined > reference to `__umodsi3' > lib/libgeneric.o: In function `print_buffer': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/display_options.c:112: > undefined reference to `__udivsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/display_options.c:114: > undefined reference to `__udivsi3' > lib/libgeneric.o: In function `__div64_32': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/div64.c:31: undefined > reference to `__udivsi3' > lib/libgeneric.o: In function `isprime': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/hashtable.c:91: undefined > reference to `__umodsi3' > lib/libgeneric.o: In function `hcreate_r': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/hashtable.c:120: undefined > reference to `__umodsi3' > lib/libgeneric.o: In function `hsearch_r': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/hashtable.c:274: undefined > reference to `__umodsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/hashtable.c:314: undefined > reference to `__umodsi3' > lib/libgeneric.o: In function `ldiv': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/ldiv.c:29: undefined reference > to `__divsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/ldiv.c:30: undefined reference > to `__modsi3' > lib/libgeneric.o: In function `qsort': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/qsort.c:35: undefined > reference to `__udivsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/qsort.c:63: undefined > reference to `__udivsi3' > lib/libgeneric.o: In function `strmhz': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/strmhz.c:30: undefined > reference to `__udivsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/strmhz.c:34: undefined > reference to `__udivsi3' > lib/libgeneric.o: In function `simple_itoa': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/vsprintf.c:813: undefined > reference to `__umodsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/vsprintf.c:814: undefined > reference to `__udivsi3' > lib/libgeneric.o: In function `put_dec': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/vsprintf.c:258: undefined > reference to `__umodsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/vsprintf.c:258: undefined > reference to `__udivsi3' > lib/zlib/libz.o: In function `adler32': > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/zlib/adler32.c:93: undefined > reference to `__umodsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/zlib/adler32.c:104: undefined > reference to `__umodsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/zlib/adler32.c:105: undefined > reference to `__umodsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/zlib/adler32.c:119: undefined > reference to `__umodsi3' > /home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/zlib/adler32.c:120: undefined > reference to `__umodsi3' > lib/zlib/libz.o:/home/ghw/CNPROJ/CubieBoard/u-boot-sunxi/lib/zlib/inflate.c:390: > more undefined references to `__umodsi3' follow > arm-freebsd-ld: BFD 2.17.50 [FreeBSD] 2007-07-03 assertion fail > /home/freebsd-head/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/elf32-arm.c:8911 > arm-freebsd-ld: BFD 2.17.50 [FreeBSD] 2007-07-03 assertion fail > /home/freebsd-head/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/elf32-arm.c:8911 > arm-freebsd-ld: BFD 2.17.50 [FreeBSD] 2007-07-03 assertion fail > /home/freebsd-head/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/elf32-arm.c:8911 > arm-freebsd-ld: BFD 2.17.50 [FreeBSD] 2007-07-03 assertion fail > /home/freebsd-head/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/elf32-arm.c:8911 > arm-freebsd-ld: BFD 2.17.50 [FreeBSD] 2007-07-03 assertion fail > /home/freebsd-head/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/elf32-arm.c:9138 > gmake[1]: *** [u-boot] Segmentation fault: 11 > gmake[1]: *** Deleting file `u-boot' > gmake[1]: Leaving directory `/home/ghw/CNPROJ/CubieBoard/u-boot-sunxi' > gmake: *** [sun4i] Error 2 > [ghw@7axu.pts/5] ~/CNPROJ/CubieBoard/u-boot-sunxi % I think you can check Tim's repo for uboot patches: https://github.com/kientzle/freebsd-beaglebone Specially like: https://github.com/kientzle/freebsd-beaglebone/blob/master/board/BeagleBone/files/uboot_patch1_add_libc_to_link_on_FreeBSD.patch Ganbold > > > Thanks > > === > Welcome to Ge, XiaoQI's Homepage! > Gtalk/E-Mail :ghw@7axu.com > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"