From: Bernhard Fischer <rep.dot.nop@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Fontconfig
Date: Wed, 17 Jan 2007 16:30:02 +0100 [thread overview]
Message-ID: <20070117153002.GB28672@aon.at> (raw)
In-Reply-To: <1169038154.6702.5.camel@localhost>
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
>
prev parent reply other threads:[~2007-01-17 15:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-17 12:49 [Buildroot] Fontconfig Julien Vermillard
2007-01-17 15:30 ` Bernhard Fischer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070117153002.GB28672@aon.at \
--to=rep.dot.nop@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox