ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Toolchain issue on LPC3250 (was Re: [Ltib] Building problems)


From: Paolo Cremonese
Subject: Re: Toolchain issue on LPC3250 (was Re: [Ltib] Building problems)
Date: Thu, 19 Nov 2009 13:17:17 +0100

Hi Stuart,
I did:

$./ltib -m config
        [here I change the toolchain]
        [save]

$./ltib
        [ to build all.(and I get the error)]

is it correct ?

Regards,
Paolo


On gio, 2009-11-19 at 12:06 +0000, Stuart Hughes wrote:
> Hi Paolo,
> 
> I would not suggest building any host toolchains.  Please just make the 
> selection in ./ltib -m config and allow LTIB to download and install the 
> binary cross toolchain.
> 
> You need to clean up whatever you did for this failed attempt first.
> 
> Regards, Stuart
> 
> Paolo Cremonese wrote:
> > Hi Stuart,
> > I try tu build with the toolchain you suggest, but I get the error
> > below.
> > Any suggestion?
> > Best regards,
> > Paolo
> > 
> > 
> > /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.2/libgcc.a(_udivdi3.o):(.ARM.exidx+0x0):
> >  undefined reference to `__aeabi_unwind_cpp_pr0'
> > make: *** [u-boot] Error 1
> > error: Bad exit status from /home/paolo/LPC3250/ltib/tmp/rpm-tmp.69911
> > (%build)
> > 
> > 
> > RPM build errors:
> >     Bad exit status from /home/paolo/LPC3250/ltib/tmp/rpm-tmp.69911 (%
> > build)
> > Build time for u-boot-1.3.3-lpc32xx: 57 seconds
> > 
> > Failed building u-boot-1.3.3-lpc32xx
> > 
> > 
> > f_buildrpms() returned an error, exiting
> > traceback:
> >  main:561
> > 
> > 
> > Started: Thu Nov 19 12:36:20 2009
> > Ended:   Thu Nov 19 12:44:18 2009
> > Elapsed: 478 seconds
> > 
> > These packages failed to build:
> > u-boot-1.3.3-lpc32xx 
> > 
> > Build Failed
> > 
> > Exiting on error or interrupt
> > 
> > 
> > On gio, 2009-11-19 at 11:13 +0000, Stuart Hughes wrote:
> >> Hi Paolo,
> >>
> >> Normally this indicates a real problem with the cross-toolchain. 
> >> Looking at the defconfig for this package it's: 
> >> tc-nxp-lnx-arm-3.4.5-1.i386.rpm.  If you want to use this toolchain, 
> >> you'll need help from the BSP packager for this toolchain.
> >>
> >> Alternatively you could try the first one in the list (./ltib -m 
> >> config): "ARMv5te gcc-4.1.2,Multi-lib,gnueabi/glibc-2.5-nptl-3"
> >> I've never tried on this BSP but it may work.  It certainly has worked 
> >> on other ARM platforms.
> >>
> >> Regards, Stuart
> >>
> >> Paolo Cremonese wrote:
> >>> Hi Rogerio,
> >>> Thank you.
> >>> I have installed the suggested package, and now the error is different:
> >>> Do you have another suggestion?
> >>>
> >>> Best Regards,
> >>> Paolo
> >>>
> >>> Executing(%build): /bin/sh -e /home/paolo/LPC3250/ltib/tmp/rpm-tmp.90397
> >>> + umask 022
> >>> + cd /home/paolo/LPC3250/ltib/rpm/BUILD
> >>> + cd libpng-1.2.8
> >>> + make prefix=/usr -f scripts/makefile.linux
> >>> gcc -I../zlib -Wall -O3 -funroll-loops     -c -o png.o png.c
> >>> gcc -I../zlib -Wall -O3 -funroll-loops     -c -o pngset.o pngset.c
> >>> gcc -I../zlib -Wall -O3 -funroll-loops     -c -o pngget.o pngget.c
> >>> gcc -I../zlib -Wall -O3 -funroll-loops     -c -o pngrutil.o pngrutil.c
> >>> gcc -I../zlib -Wall -O3 -funroll-loops     -c -o pngtrans.o pngtrans.c
> >>> gcc -I../zlib -Wall -O3 -funroll-loops     -c -o pngwutil.o pngwutil.c
> >>> gcc -I../zlib -Wall -O3 -funroll-loops     -c -o pngread.o pngread.c
> >>> gcc -I../zlib -Wall -O3 -funroll-loops     -c -o pngrio.o pngrio.c
> >>> gcc -I../zlib -Wall -O3 -funroll-loops     -c -o pngwio.o pngwio.c
> >>> pngrutil.c: In function 'png_get_uint_31':
> >>> pngrutil.c:47: internal compiler error: Segmentation fault
> >>> Please submit a full bug report,
> >>> with preprocessed source if appropriate.
> >>> See <http://gcc.gnu.org/bugs.html> for instructions.
> >>> make: *** [pngrutil.o] Error 1
> >>> make: *** Waiting for unfinished jobs....
> >>> error: Bad exit status from /home/paolo/LPC3250/ltib/tmp/rpm-tmp.90397
> >>> (%build)
> >>>
> >>>
> >>> RPM build errors:
> >>>     Bad exit status from /home/paolo/LPC3250/ltib/tmp/rpm-tmp.90397 (%
> >>> build)
> >>> Build time for libpng: 7 seconds
> >>>
> >>> Failed building libpng
> >>>
> >>>
> >>> f_buildrpms() returned an error, exiting
> >>> traceback:
> >>>  main:561
> >>>
> >>>
> >>> Started: Thu Nov 19 10:56:11 2009
> >>> Ended:   Thu Nov 19 11:41:07 2009
> >>> Elapsed: 2696 seconds
> >>>
> >>> These packages failed to build:
> >>> libpng 
> >>>
> >>> Build Failed
> >>>
> >>> Exiting on error or interrupt
> >>>
> >>>
> > 
> > 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]