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

Prafulla Wadaskar prafulla at marvell.com
Thu May 13 06:02:02 CEST 2010


Hi 

I tried build using below compiler and it builds properly on my host.
Try the same one of later

[prafulla at pe-dt061 u-boot-marvell.git]$ /data/toolchain/arm-2009q3/bin/arm-none-eabi-gcc -v
Using built-in specs.
Target: arm-none-eabi
Configured with: /scratch/julian/2009q3-respin-eabi-lite/src/gcc-4.4/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-none-eabi --enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --enable-extra-sgxxlite-multilibs --with-gnu-as --with-gnu-ld --with-specs='%{O2:%{!fno-remove-local-statics: -fremove-local-statics}} %{O*:%{O|O0|O1|O2|Os:;:%{!fno-remove-local-statics: -fremove-local-statics}}}' --enable-languages=c,c++ --disable-shared --disable-lto --with-newlib --with-pkgversion='Sourcery G++ Lite 2009q3-68' --with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls --prefix=/opt/codesourcery --with-headers=yes --with-sysroot=/opt/codesourcery/arm-none-eabi --with-build-sysroot=/scratch/julian/2009q3-respin-eabi-lite/install/arm-none-eabi --with-gmp=/scratch/julian/2009q3-respin-eabi-lite/obj/host-libs-2009q3-68-arm-none-eabi-i686-pc-linux-gnu/usr --with-mpfr=/scratch/julian/2009q3-respin-eabi-lite/obj/host-libs-2009q3-68-arm-none-eabi-i686-pc-linux-gnu/usr --with-ppl=/scratch/julian/2009q3-respin-eabi-lite/obj/host-libs-2009q3-68-arm-none-eabi-i686-pc-linux-gnu/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-cloog=/scratch/julian/2009q3-respin-eabi-lite/obj/host-libs-2009q3-68-arm-none-eabi-i686-pc-linux-gnu/usr --disable-libgomp --enable-poison-system-directories --with-build-time-tools=/scratch/julian/2009q3-respin-eabi-lite/install/arm-none-eabi/bin --with-build-time-tools=/scratch/julian/2009q3-respin-eabi-lite/install/arm-none-eabi/bin
Thread model: single
gcc version 4.4.1 (Sourcery G++ Lite 2009q3-68) 

May I know the build command that you are using and also gcc version 

Regards..
Prafulla . .

> -----Original Message-----
> From: u-boot-bounces at lists.denx.de 
> [mailto:u-boot-bounces at lists.denx.de] On Behalf Of M.A.E.M. Hanson
> Sent: Thursday, May 13, 2010 7:40 AM
> To: u-boot at lists.denx.de
> Subject: [U-Boot] u-boot guruplug fails to compile - 
> __aeabi_unwind_cpp_pr0
> 
> 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.g
it/arch/arm/lib/eabi_compat.o 
> -L 
> /home/mihanson/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/a
> rm-none-linux-gnueabi/4.4.1 
> -lgcc -Map u-boot.map -o u-boot
> /home/mihanson/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/a
> rm-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/a
> rm-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/a
> rm-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
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 


More information about the U-Boot mailing list