[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Cairo fails to build
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] Cairo fails to build |
Date: |
Tue, 01 Apr 2008 11:35:08 +0100 |
Hi Phillipe,
Which version of LTIB are you using? the one from Savannah CVS? you
need this version.
Peter is right, the first thing to figure out is why you're
getting /usr/include files pulled in, I don't get this. One thing that
can cause this is .la files being present in your rootfs area. Can you
do:
$ find rootfs -name \*.la
If you have any of these, can you figure out where they're coming from.
You can do this with:
$ rpm --dbpath `pwd`/rpmdb -qif rootfs/.filepath..
If you find any initially you can delete them, but I'd like to know so I
can make sure that the offending package specfile gets fixed so they
don't get back.
Regards, Stuart
On Mon, 2008-03-31 at 18:25 +0200, Philippe Normand wrote:
> Hi!
>
> I get the following build error:
>
> make[2]: Entering directory
> `/home/phil/mx31/ltib/rpm/BUILD/cairo-1.4.10/src'
> if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I. -I.. -I. -I../pixman/src
> -I/home/phil/mx31/ltib/rootfs/usr/include/freetype2
> -I/home/phil/mx31/ltib/rootfs/usr/include
> -I/home/phil/mx31/ltib/rootfs/usr/include/libpng12 -I/usr/include
> -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration
> -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum
> -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self
> -Wunsafe-loop-optimizations -Wdeclaration-after-statement
> -Wold-style-definition -Wno-missing-field-initializers
> -Wno-unused-parameter -Wno-attributes -fno-strict-aliasing -g -O2 -MT
> cairo-gstate.lo -MD -MP -MF ".deps/cairo-gstate.Tpo" -c -o
> cairo-gstate.lo cairo-gstate.c; \
> then mv -f ".deps/cairo-gstate.Tpo" ".deps/cairo-gstate.Plo";
> else rm -f ".deps/cairo-gstate.Tpo"; exit 1; fi
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src
> -I/home/phil/mx31/ltib/rootfs/usr/include/freetype2
> -I/home/phil/mx31/ltib/rootfs/usr/include
> -I/home/phil/mx31/ltib/rootfs/usr/include/libpng12 -I/usr/include -Wall
> -Wextra -Wsign-compare -Werror-implicit-function-declaration
> -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum
> -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self
> -Wunsafe-loop-optimizations -Wdeclaration-after-statement
> -Wold-style-definition -Wno-missing-field-initializers
> -Wno-unused-parameter -Wno-attributes -fno-strict-aliasing -g -O2 -MT
> cairo-gstate.lo -MD -MP -MF .deps/cairo-gstate.Tpo -c cairo-gstate.c
> -fPIC -DPIC -o .libs/cairo-gstate.o
> cairo-gstate.c: In function '_cairo_gstate_set_dash':
> /usr/include/bits/mathinline.h:548: error: impossible constraint in
> 'asm'
> make[2]: *** [cairo-gstate.lo] Error 1
> make[2]: Leaving directory
> `/home/phil/mx31/ltib/rpm/BUILD/cairo-1.4.10/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/phil/mx31/ltib/rpm/BUILD/cairo-1.4.10'
> make: *** [all] Error 2
> error: Bad exit status from /home/phil/mx31/ltib/tmp/rpm-tmp.30997 (%
> build)
>
>
> My version of gcc is:
>
> LTIB> gcc -v
> Using built-in specs.
> Target: arm-none-linux-gnueabi
> Configured
> with: /usr/src/redhat/BUILD/cross-mlib/source/gcc-4.1.2/configure
> --target=arm-none-linux-gnueabi --host=i686-host_pc-linux-gnu
> --prefix=/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi
>
> --with-sysroot=/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/arm-none-linux-gnueabi/sysroot
> --enable-threads --enable-shared --disable-libssp --disable-libgomp
> --disable-libmudflap --enable-languages=c,c++ --enable-__cxa_atexit
> --disable-nls
> Thread model: posix
> gcc version 4.1.2
>
> I'm new to LTIB and don't really know how to debug this failure. Tried
> some googling without much success... Can anyone help me please?
>
> Philippe
>
>
>
> _______________________________________________
> LTIB home page: http://bitshrine.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib
- Re: [Ltib] Cairo fails to build,
Stuart Hughes <=