[U-Boot] u-boot guruplug fails to compile - __aeabi_unwind_cpp_pr0

M.A.E.M. Hanson hansonorders at verizon.net
Thu May 13 04:09:37 CEST 2010


Hello,
	This is my first time compiling u-boot for my guruplug server plus and 
I am new to cross compiling as well.  My host machine is:

Arch Linux
Linux desktop 2.6.33-ARCH #1 SMP PREEMPT Sun May 2 10:40:03 CEST 2010 
x86_64 AMD Athlon(tm) Dual Core Processor 4850e AuthenticAMD GNU/Linux

4 GB DDR2 800 RAM (non-ECC, unregistered)


I have tried compiling u-boot from git and it fails while following the 
howto for ELDK.  I then tried using CodeSourcery toolchans and found it 
fails in the same place.  The last bit of output before the failure is:

.a drivers/misc/libmisc.a drivers/mmc/libmmc.a drivers/mtd/libmtd.a 
drivers/mtd/nand/libnand.a drivers/mtd/onenand/libonenand.a 
drivers/mtd/ubi/libubi.a drivers/mtd/spi/libspi_flash.a 
drivers/net/libnet.a drivers/net/phy/libphy.a drivers/pci/libpci.a 
drivers/pcmcia/libpcmcia.a drivers/power/libpower.a drivers/spi/libspi.a 
drivers/rtc/librtc.a drivers/serial/libserial.a 
drivers/twserial/libtws.a drivers/usb/gadget/libusb_gadget.a 
drivers/usb/host/libusb_host.a drivers/usb/musb/libusb_musb.a 
drivers/usb/phy/libusb_phy.a drivers/video/libvideo.a 
drivers/watchdog/libwatchdog.a common/libcommon.a lib/libfdt/libfdt.a 
api/libapi.a post/libpost.a board/Marvell/guruplug/libguruplug.a 
--end-group 
/home/mihanson/CodeSourcery/Sourcery_G++_Lite/u-boot-marvell.git/arch/arm/lib/eabi_compat.o 
-L 
/home/mihanson/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1 
-lgcc -Map u-boot.map -o u-boot
/home/mihanson/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/libgcc.a(bpabi.o):(.ARM.exidx+0x0): 
undefined reference to `__aeabi_unwind_cpp_pr0'
/home/mihanson/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/libgcc.a(_divdi3.o):(.ARM.exidx+0x0): 
undefined reference to `__aeabi_unwind_cpp_pr0'
/home/mihanson/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/libgcc.a(_udivdi3.o):(.ARM.exidx+0x0): 
undefined reference to `__aeabi_unwind_cpp_pr0'
make: *** [u-boot] Error 1

Being new to cross-compiling, I'm not sure if this is an issue on my end 
or if it is a problem with the u-boot code.  Can anyone help?

Thank you,
Mike


More information about the U-Boot mailing list