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: Kevin Wells
Subject: RE: Toolchain issue on LPC3250 (was Re: [Ltib] Building problems)
Date: Thu, 19 Nov 2009 17:55:29 +0100

Yes, that is a toolchain issue. GCC 4.3.2 seems to have some issues with
segmentation faults when building some packages. The GCC 4.1.2 EABI
toolchain is the way to go and is the preferred toolchain for that device
due to it's VFP and EABI support.

The only caveat is that GCC 4.1.2 won't build u-boot due to some issues
with EABI (libs, u-boot ARM code, ??). I usually build u-boot with
GCC 3.4.5 and then install u-boot on the board. Then switch over to
GCC 4.1.2 and turn off the u-boot build option with ./ltib --config.
Once u-boot is installed on the board, you never need to build it again.

Kevin

> -----Original Message-----
> From: address@hidden [mailto:ltib-
> address@hidden On Behalf Of Stuart Hughes
> Sent: Thursday, November 19, 2009 3:14 AM
> To: Paolo Cremonese
> Cc: address@hidden
> Subject: Toolchain issue on LPC3250 (was Re: [Ltib] Building problems)
> 
> 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
> >
> >
> 
> 
> _______________________________________________
> LTIB home page: http://ltib.org
> 
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib

reply via email to

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