Re: [OE-core] [PATCH] icu: Add knobs to generate a subset of ICU data

Khem Raj
2020-04-03T21:34:33Z

On Fri, Apr 3, 2020 at 10:47 AM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> On Fri, 2020-04-03 at 08:55 -0700, Khem Raj wrote:
> > On Fri, Apr 3, 2020 at 8:26 AM Richard Purdie
> > <richard.purdie@linuxfoundation.org> wrote:
> > > On Thu, 2020-04-02 at 18:53 -0700, Khem Raj wrote:
> > > > Recent versions of ICU (64+) provides a tool for configuring ICU
> > > > locale data file with finer granularity [1]
> > > >
> > > > Default generated size for libicudata.so.66.1 is ~27M, which is
> > > > quite
> > > > large for embedded systems and all of them may not even need all
> > > > locale
> > > > data.
> > > >
> > > > This patch calls the icudata buildtool during configure on the
> > > > icudata
> > > > and utilizes a filter called 'filter.json` ( empty by default) to
> > > > create the data, default behavior should remain same but someone
> > > > can
> > > > add a filter.json in own layer to configure this data, e.g.
> > >
> > > Nice idea, fails on ppc:
> > >
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/107/builds/411
> > >
> >
> > yeah looking into it. Are there any other arch failures ?
>
> mips:
> https://autobuilder.yoctoproject.org/typhoon/#/builders/60/builds/1749
> mips64:
> https://autobuilder.yoctoproject.org/typhoon/#/builders/74/builds/1753
> edgerouter:
> https://autobuilder.yoctoproject.org/typhoon/#/builders/111/builds/414
>

Thanks, I think I understand the problem, its when target endianness
is bigendian
and the host is little-endian, I have sent a v2 which should fix it.
Give v2 a shot.

> Cheers,
>
> Richard
>
>