ltib
[Top][All Lists]
Advanced

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

RE: [Ltib] ltib. add GTK+ packet


From: Kevin Wells
Subject: RE: [Ltib] ltib. add GTK+ packet
Date: Wed, 8 Jul 2009 02:54:13 +0200

 

Hi Dimitry,

 

It looks like there may be an issue with those build tools and that package. I'll try building it and see if I can resolve the issue.

Try deleting the fontconfig directory in ./ltib/rpm/BUILD and rebuilding once more with that toolchain.

If it still fails, you can fall back on the GCC3.4 toolchain selectable from the LTIB config menu. (You won't get VFP support with that toolchain).

 

Kevin

 

 

From: Dmitry [mailto:address@hidden
Sent: Tuesday, July 07, 2009 3:55 AM
To: Kevin Wells
Subject: Re: [Ltib] ltib. add GTK+ packet

 


Hi Kevin and Stuart,

I has change gcc compiler to:
 
Toolchain (ARMv5te gcc-4.1.2,Multi-lib,gnueabi/glibc-2.5-nptl-3)
(-O2 -fsigned-char -mfpu=vfp -msoft-float) Enter any CFLAGS for gcc/g++


Kernel Features:
 [*] Preemptible Kernel (EXPERIMENTAL)                                                        
 [*] Use the ARM EABI to compile the kernel                                                    
 [*]   Allow old ABI binaries to run with this kernel (EXPERIMENTAL)

see ERROR below


Making all in fc-cache
make[2]: Entering directory `/home/dima/ltib_install_2/ltib/rpm/BUILD/fontconfig-2.4.2/fc-cache'
/bin/bash ../libtool --tag=CC --mode=link gcc  -g -O2   -o fc-cache  fc-cache.o -lfreetype -lz  -lexpat ../src/libfontconfig.la
gcc -g -O2 -o .libs/fc-cache fc-cache.o  -lfreetype -lz -lexpat ../src/.libs/libfontconfig.so
/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/../../../../arm-none-linux-gnueabi/bin/ld: ERROR: Source object fc-cache.o has EABI version 0, but target .libs/fc-cache has EABI version 4
/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/../../../../arm-none-linux-gnueabi/bin/ld: failed to merge target specific data of file fc-cache.o
collect2: ld returned 1 exit status
make[2]: *** [fc-cache] Error 1
make[2]: Leaving directory `/home/dima/ltib_install_2/ltib/rpm/BUILD/fontconfig-2.4.2/fc-cache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dima/ltib_install_2/ltib/rpm/BUILD/fontconfig-2.4.2'
make: *** [all] Error 2
error: Bad exit status from /home/dima/ltib_install_2/ltib/tmp/rpm-tmp.84041 (%build)


RPM build errors:
    Bad exit status from /home/dima/ltib_install_2/ltib/tmp/rpm-tmp.84041 (%build)
Build time for fontconfig: 38 seconds

Failed building fontconfig


f_buildrpms() returned an error, exiting
traceback:
 main:558


Started: Tue Jul  7 13:38:17 2009
Ended:   Tue Jul  7 13:39:59 2009
Elapsed: 102 seconds

These packages failed to build:
fontconfig

Build Failed

address@hidden:~/ltib_install_2/ltib$






2009/7/6 Kevin Wells <address@hidden>


Hi Dimitri,

Your building on the PHY3250 board using GCC 4.3.2 with hw VFP support?

If so, GCC 4.3.2 builds most packages but has that segmentation fault error
for a few...including libpng. I am working on getting this specific toolchain
out of the PHY3250 tool selection menu. (Stuart - maybe we can reclaim the
used space for this from the GPP if no one else is using it once I get it
removed?)

If you don't need hardware VFP support, you can use the GCC3 toolchain with
soft float only support. Better yet, the latest release allows you to use
an existing GCC4 EABI version of the GNU tools which supports VFP and seems
to generate better optimized code for everything including VFP support. All
you need to do is select one of these version on the main LTIB menu.
(./ltib --config)

If you go with the EABI toolchain, u-boot will not currently build under that
toolchain, so just keep the version you have now and select no bootloader from
the LTIB menu. Also don't forget to enable EABI support in the kernel config
menu.

Kevin


> -----Original Message-----
> Sent: Monday, July 06, 2009 7:59 AM
> To: Dmitry
> Subject: Re: [Ltib] ltib. add GTK+ packet
>
> Hi Dmitry,
>
> Please keep these questions on the list or I can't answer you.
>
> It looks like you have some compiler problem (maybe).  Can you:
>
> * run: cat .config | grep ^CONFIG_PLATFORM_DIR and then send me the
> .config file from the indicated directory so I can see what platform and
> config you have.
>
> * tell me which copy of LTIB you're running (CVS or from Freescale, the
> version etc).
>
> Regards, Stuart
>
> Dmitry wrote:
> > Hi, Stuart,
> >
> > Thank you for support!
> >
> > I work with Ubuntu 9.04. I have added by apt-get following packets:
> > 1. libfreetype6 and  libfreetype6-dev
> > 2. libpng12-dev
> >
> > see my log below
> >
> >
> >
> > Processing: freetype
> > ======================
> >
> > Processing: fontconfig
> > ========================
> > Build path taken because: directory build,
> > checking if sources have been updated: *no*
> >
> > Processing: libpng
> > ====================
> > Build path taken because: directory build, no prebuilt rpm,
> > scbuild/scdeploy already unpacked package
> >
> > Processing: libpng
> > ====================
> > Build path taken because: directory build, build key set, no prebuilt
> rpm,
> >
> > rpmbuild --dbpath /home/dima/ltib_install_2/ltib/rootfs//var/lib/rpm
> > --target arm --define '_unpackaged_files_terminate_build 0' --define
> > '_target_cpu arm' --define '__strip strip' --define '_topdir
> > /home/dima/ltib_install_2/ltib/rpm' --define '_prefix /usr' --define
> > '_tmppath /home/dima/ltib_install_2/ltib/tmp' --define '_rpmdir
> > /home/dima/ltib_install_2/ltib/rpm/RPMS'  --define '_mandir
> > /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir
> > /var' -bc --short-circuit
> > /home/dima/ltib_install_2/ltib/dist/lfs-5.1/libpng/libpng.spec
> > Building target platforms: arm
> > Building for target arm
> > Executing(%build): /bin/sh -e
> > /home/dima/ltib_install_2/ltib/tmp/rpm-tmp.72326
> > + umask 022
> > + cd /home/dima/ltib_install_2/ltib/rpm/BUILD
> > + cd libpng-1.2.8
> > + make prefix=/usr -f scripts/makefile.linux
> > gcc -I../zlib -Wall -O3 -funroll-loops     -c -o pngrutil.o pngrutil.c
> > gcc -c -I../zlib -Wall -O3 -funroll-loops   -fPIC -o pngwtran.pic.o
> > pngwtran.c
> > gcc -c -I../zlib -Wall -O3 -funroll-loops   -fPIC -o pngmem.pic.o
> pngmem.c
> > gcc -c -I../zlib -Wall -O3 -funroll-loops   -fPIC -o pngerror.pic.o
> > pngerror.c
> > gcc -c -I../zlib -Wall -O3 -funroll-loops   -fPIC -o pngpread.pic.o
> > pngpread.c
> > gcc -I../zlib -Wall -O3 -funroll-loops     -c -o pngtest.o pngtest.c
> > cat scripts/libpng.pc.in <http://libpng.pc.in> | sed -e
> > address@hidden@!/usr! > libpng.pc
> > ( cat scripts/libpng-config-head.in <http://libpng-config-head.in>; \
> >     echo prefix=\"/usr\"; \
> >     echo I_opts=\"-I/usr/include/libpng12\"; \
> >     echo L_opts=\"-L/usr/lib\"; \
> >     echo R_opts=\"-Wl,-rpath,/usr/lib\"; \
> >     echo libs=\"-lpng12\"; \
> >     cat scripts/libpng-config-body.in <http://libpng-config-body.in> )
> >
> > libpng-config
> > chmod +x libpng-config
> > 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/dima/ltib_install_2/ltib/tmp/rpm-tmp.72326 (%build)
> >
> >
> > RPM build errors:
> >     Bad exit status from
> > /home/dima/ltib_install_2/ltib/tmp/rpm-tmp.72326 (%build)
> > Build time for libpng: 4 seconds
> >
> > Failed building libpng
> >
> >
> > f_buildrpms() returned an error, exiting
> > traceback:
> >  main:558
> >
> >
> > Started: Mon Jul  6 17:23:30 2009
> > Ended:   Mon Jul  6 17:24:32 2009
> > Elapsed: 62 seconds
> >
> > These packages failed to build:
> > libpng
>
>

> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib




--
Best Regards,
Dmitry.
Embedded Development Engineer
Israel.
Mobile:
  052 6 144 338
  0507 63 53 10


reply via email to

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