[oe] AVR32 segfaults / Disablng virtual/libintl?

Geoffrey Wossum geoffrey at pager.net
Mon May 19 14:07:50 UTC 2008


On Friday 16 May 2008 04:24:54 pm Koen Kooi wrote:
> Geoffrey Wossum wrote:

> > I don't need any i18n any these types of applications.  As a workaround,
> > can I keep gettext from being built and use the libintl stubs provided by
> > uClibc? How do I do this?  PREFERRED_PROVIDER_virtual/libintl = ""?
> > PREFERRED_PROVIDER_virtual/libintl = "uclibc"?
>
> That should work as long as you have wchar and intl stubs in uclibc. I
> would *very* much like to use the uclibc ones instead of the gettext
> ones, if only to get cleaner builds :)

Adding PREFFERRED_PROVIDER_virtual/libintl = "" makes it continue to default 
to pick gettext.  Making the PREFERRED_PROVIDER uclibc makes it go haywire, 
because uClibc doesn't provide virtual/libintl, so it ends up trying to use 
external-toolchain and binutils-cross/gcc-cross/uClibc at the same time.  OK, 
add patch to make uclibc provide virtual/libintl.  Oops, 
uclibc-initial-0.9.29 fails on do_stage for the AVR32 if UCLIBC_HAS_LOCALE == 
y.

I can't look into this any further right, because I have to finish proving the 
sound out so we can spin a new board.  As soon as I'm done with that, I'll 
continue the crusade against gettext.

---
Geoffrey




More information about the Openembedded-devel mailing list