[Buildroot] [PATCH v2 2/2] libglib2: the system PCRE needs to have UTF and UCP enabled
Sven Neumann
neumann at teufel.de
Mon Nov 25 09:54:42 UTC 2013
Hi Peter,
On Mo, 2013-11-25 at 10:17 +0100, Peter Korsgaard wrote:
> >>>>> "Sven" == Sven Neumann <neumann at teufel.de> writes:
>
> > Hello,
> > On Fr, 2013-11-22 at 23:33 +0100, Peter Korsgaard wrote:
> >> >>>>> "Sven" == Sven Neumann <neumann at teufel.de> writes:
> >>
> >> > If glib2 is compiled with the system PCRE instead of the included
> >> > copy, then that system PCRE needs to have support for UTF-8 and
> >> > Unicode properties enabled. Otherwise you will get such warnings
> >> > at run-time:
> >>
> >> > GLib-CRITICAL **: PCRE library is compiled without UTF8 support
> >> > GLib-CRITICAL **: PCRE library is compiled without UTF8 properties support
> >>
> >> > Signed-off-by: Sven Neumann <neumann at teufel.de>
> >>
> >> Committed to next, thanks.
>
> > May I suggest that you also merge this to the stable tree. Otherwise
> > glib2 will be unusable on any system that also has pcre selected (which
> > is for example pulled in by gnutls).
>
> Hmm, ok - That wasn't completely clear to me. So even though it's just a
> warning, this is something critical?
Any functionality that use GRegex won't work if the system PCRE is not
compiled with UTF-8 and UCP support. There might be glib-based
applications that won't be affected by this, but there is a good chance
that people will run into unexpected problems because of this.
> When was this introduced? By the 2.36.1 -> 2.36.3 bump or is 2013.08
> also affected?
As far as I can see this was introduced with commit fe192908a4e:
commit fe192908a4e3195b6f724310fe83fadaf18b66e7
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date: Sat Mar 9 08:21:30 2013 +0000
libglib2: use system pcre when available
Regards,
Sven
--
Sven Neumann
Senior System Architect
Lautsprecher Teufel GmbH
Gewerbehof Bülowbogen - Aufgang D1
Bülowstr. 66 - 10783 Berlin - Germany
Registernummer HRB 20271 beim Amtsgericht Berlin-Charlottenburg
Geschäftsführer: Edgar van Velzen
Tel. +49 (0)30 - 300 930 - 0, Direkt -153
neumann at teufel.de
www.teufel.de www.teufelaudio.com http://blog.teufel.de
More information about the buildroot
mailing list