From: Ash C. <as...@gu...> - 2011-03-14 05:44:40
|
Hi Kees, Interesting find. So I tried the both the 4.4.0 and 4.4.3 versions of gcc shipping with Android on i686 and x86_64 bit and discovered that the 4.4.3 compiler doesn't work properly but the 4.4.0 does. The gumcompile script uses the 4.4.0 compiler version by default hence why I'd not seen this issue. Did you change the compiler version and does 4.4.0 work for you? -Ash On Sun, Mar 13, 2011 at 4:37 AM, Kees Jongenburger <kee...@gm...> wrote: > Hi > > On Thu, Mar 10, 2011 at 6:57 PM, Ash Charles <as...@gu...> wrote: >> Hi. >> >> http://wiki.gumstix.org/index.php?title=Android_Gingerbread >> Finally, I put scripts I created along the way into a repository in >> hopes that this speeds development for others. I certainly welcome >> contributions :). > > Hi, > > The utils/gumcompile uses defines the android toolchain to perform > compilation. For me that toolchain can not compile u-boot (I need to > use the CS toolchain). > > at-gingerbread/uboot/arch/arm/lib/eabi_compat.o -L > /home/kejo/projects/gumstix/rowboat-gingerbread/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3 > -lgcc -Map u-boot.map -o u-boot > arm-eabi-ld: error: u-boot.lds:34:24: OVERLAY section type is unsupported > /bin/sh: line 1: 23411 Segmentation fault arm-eabi-ld -pie > -Bstatic -T u-boot.lds -Ttext 0x80008000 $UNDEF_SYM > arch/arm/cpu/armv7/start.o --start-group api/libapi.o > arch/arm/cpu/armv7/libarmv7.o > arch/arm/cpu/armv7/omap-common/libomap-common.o > arch/arm/cpu/armv7/omap3/libomap3.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.a > 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/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 net/libnet.o > post/libpost.o board/overo/libovero.o --end-group > /home/kejo/projects/gumstix/rowboat-gingerbread/uboot/arch/arm/lib/eabi_compat.o > -L /home/kejo/projects/gumstix/rowboat-gingerbread/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3 > -lgcc -Map u-boot.map -o u-boot > make: *** [u-boot] Error 139 > make: Leaving directory `/home/kejo/projects/gumstix/rowboat-gingerbread/uboot' > cp: cannot stat `uboot/u-boot.bin': No such file or directory > > As mentioned switching toolchain fixes the problem for me. > > Greetings > |