Cross compilation error in X11R6.7.0

JM Ibanez jm at orangeandbronze.com
Mon Mar 26 22:51:32 PDT 2007


"Shyjumon N." <shyjumon.n at ttec.soc-soft.com> writes:

> Dear Mughilan Ramajayam,
>    Thanks for your help.
> I have ft2build.h in my include path and also i have installed freetype.
> Let me show you my error while that i am getting while cross compiling fontconfig.
> Please read the following. Something related to hardwarefp and softwarefp i am not sure about this things.
> arm-linux-gcc -shared  .libs/fcatomic.o .libs/fcblanks.o .libs/fccache.o .libs/fccfg.o .libs/fccharset.o .libs/fcdbg.o .libs/fcdefault.o .libs/fcdir.o .libs/
> fcfreetype.o .libs/fcfs.o .libs/fcinit.o .libs/fclang.o .libs/fclist.o .libs/fcmatch.o .libs/fcmatrix.o .libs/fcname.o .libs/fcpat.o .libs/fcstr.o .libs/fcxml.o
> .libs/ftglue.o  -L/opt/tinyx-gtk/lib /opt/tinyx-gtk/lib/libfreetype.a -lz  -Wl,-soname -Wl,libfontconfig.so.1 -o .libs/libfontconfig.so.1.0.4
> /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: ERROR: /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/crtendS.o
> uses FPA instructions, whereas .libs/libfontconfig.so.1.0.4 does not
> /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: ERROR: /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/crtendS.o
> uses hardware FP, whereas .libs/libfontconfig.so.1.0.4 uses software FP
> File format not recognized: failed to merge target specific data of file /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/crtendS.o
> /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: ERROR: /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../..
> /arm-linux/lib/crtn.o uses FPA instructions, whereas .libs/libfontconfig.so.1.0.4 does not
> /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: ERROR: /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../..
> /arm-linux/lib/crtn.o uses hardware FP, whereas .libs/libfontconfig.so.1.0.4 uses software FP
> File format not recognized: failed to merge target specific data of file /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/lib/crtn.o
> collect2: ld returned 1 exit status
> gmake[2]: *** [libfontconfig.la] Error 1
> gmake[2]: Leaving directory `/root/softwares/tinyx_gtk+res/fontconfig-2.3.93/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/root/softwares/tinyx_gtk+res/fontconfig-2.3.93'
> gmake: *** [all] Error 2

FP --> floating point maybe?

One side of the code is using floating-point assembly instructions,
while another side is using software emulation or an incompatible
floating-point instructions set.


-- 
JM Ibanez
Senior Software Engineer
Orange & Bronze Software Labs, Ltd. Co.

jm at orangeandbronze.com
http://software.orangeandbronze.com/



More information about the xorg mailing list