Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Fontconfig
@ 2007-01-17 12:49 Julien Vermillard
  2007-01-17 15:30 ` Bernhard Fischer
  0 siblings, 1 reply; 2+ messages in thread
From: Julien Vermillard @ 2007-01-17 12:49 UTC (permalink / raw)
  To: buildroot

Hello,

Look like fontconfig got a problem :

make[4]: Entering directory
`/opt/buildroot/buildroot/build_i586/fontconfig-2.4.2/fc-case'
gcc  -Os -pipe     -o fc-case  fc-case.o  
fc-case.o: In function `main':
fc-case.c:(.text+0x3e6): undefined reference to `__ctype_b'
collect2: ld returned 1 exit status
make[4]: *** [fc-case] Error 1
make[4]: Leaving directory
`/opt/buildroot/buildroot/build_i586/fontconfig-2.4.2/fc-case'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/opt/buildroot/buildroot/build_i586/fontconfig-2.4.2/fc-case'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/opt/buildroot/buildroot/build_i586/fontconfig-2.4.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/opt/buildroot/buildroot/build_i586/fontconfig-2.4.2'
make: *** 
[/opt/buildroot/buildroot/build_i586/fontconfig-2.4.2/.compiled] Error 2

Any idea ?

Julien

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Fontconfig
  2007-01-17 12:49 [Buildroot] Fontconfig Julien Vermillard
@ 2007-01-17 15:30 ` Bernhard Fischer
  0 siblings, 0 replies; 2+ messages in thread
From: Bernhard Fischer @ 2007-01-17 15:30 UTC (permalink / raw)
  To: buildroot

On Wed, Jan 17, 2007 at 01:49:14PM +0100, Julien Vermillard wrote:
>Hello,
>
>Look like fontconfig got a problem :

fontconfig is completely broken:
1)
It passes the TARGET_CFLAGS down to the HOSTCC which just works out of
pure luck for you.
2) It builds the host-tools fc-cache, fc-cat etc that is ment to be used
on the _host_ against the target libraries and headers.

I have a patch that adds a BUILD_CFLAGS for the host-compiler, but
that's only half of the story; Fontconfig does not distinguish between
freetype-config for the host vs. target, so fontconfig is essentially
b0rked for cross-compilation (at least IMHO).

I did not look if the CVS version on freedesktop.org fixes these obvious
bugs. If it does, we should use that version instead of the release, if
it doesn't than someone should better fix fontconfig to cleanly
cross-compile upstream..

HTH,
>
>make[4]: Entering directory
>`/opt/buildroot/buildroot/build_i586/fontconfig-2.4.2/fc-case'
>gcc  -Os -pipe     -o fc-case  fc-case.o  
>fc-case.o: In function `main':
>fc-case.c:(.text+0x3e6): undefined reference to `__ctype_b'
>collect2: ld returned 1 exit status
>make[4]: *** [fc-case] Error 1
>make[4]: Leaving directory
>`/opt/buildroot/buildroot/build_i586/fontconfig-2.4.2/fc-case'
>make[3]: *** [all] Error 2
>make[3]: Leaving directory
>`/opt/buildroot/buildroot/build_i586/fontconfig-2.4.2/fc-case'
>make[2]: *** [all-recursive] Error 1
>make[2]: Leaving directory
>`/opt/buildroot/buildroot/build_i586/fontconfig-2.4.2'
>make[1]: *** [all] Error 2
>make[1]: Leaving directory
>`/opt/buildroot/buildroot/build_i586/fontconfig-2.4.2'
>make: *** 
>[/opt/buildroot/buildroot/build_i586/fontconfig-2.4.2/.compiled] Error 2
>
>Any idea ?
>
>Julien
>
>_______________________________________________
>buildroot mailing list
>buildroot at uclibc.org
>http://busybox.net/mailman/listinfo/buildroot
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-17 15:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-17 12:49 [Buildroot] Fontconfig Julien Vermillard
2007-01-17 15:30 ` Bernhard Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox