1 |
Hello! |
2 |
|
3 |
One problem forgotten about LOCALE |
4 |
if you are trying to build the locale stuff (not using the pregenerated |
5 |
data), then it has problems after building gen_wctype and running |
6 |
./gen_wctype en_US. If I run make in extra/locale from the command prompt |
7 |
it works, but if I try to build it through rpm, it segfaults (the segfault |
8 |
is caught by grsec as RLIMIT_STACK resource overstep) after the message |
9 |
"optimizing is* table..". I think that it is due to the background |
10 |
processing, it could also be a problem for gentoo. |
11 |
|
12 |
Some other thoughts about locale: |
13 |
If locale is not builtin, uClibc provides support for an UTF-8 |
14 |
mini-locale, as I remember (if WCHAR support is enabled) |
15 |
If locale is builtin, then, as I remember, the language specific messages |
16 |
are not supported. It rumored, that the support will be ready for |
17 |
dec-jan, who knows. |
18 |
|
19 |
The libraries get 135kB bigger if full locale is added. We gain bits/bytes |
20 |
from the binaries only if disable-nls is consistently used. There are |
21 |
some packages that won't even build w/o locale support and if they do not |
22 |
find it they will use the integrated one, which means static libintl.a, so |
23 |
they will get bigger then built against a uClibc provided shared libintl. |
24 |
Somehow it should be evaluated (maybe based on a glibc version), what |
25 |
costs less/more bytes: |
26 |
a. to build the special cases that need locale against a static library |
27 |
and build the rest without locale support |
28 |
b. build all the stuff against the shared libintl from uClibc (although |
29 |
there are some packages, that require the full gettext release to build) |
30 |
|
31 |
I tend to believe on the long run the locale support should be in. |
32 |
|
33 |
One big advantage of having locale support in, is that we can build many |
34 |
packages w/o problems, if we do not have locale in, then we need full |
35 |
gettext, but then the question arises, should be deliver libintl.so and |
36 |
depend also on the gettext version (0.12.1 was unusable w/ uClibc - |
37 |
maybe only for me ;-( ), or provide libintl.a and produce bigger binaries. |
38 |
|
39 |
All the problems mentioned in this and earlier mail were already reported |
40 |
to the uclibc developers, but they are planning to make incompat changes, |
41 |
so they fix minimally problems in 0.9.23 and get 0.9.24 out, after that |
42 |
we have to start from the beginning, so do not build too many packages ;-) |
43 |
|
44 |
Peter |
45 |
|
46 |
-- |
47 |
Peter S. Mazinger <ps.m@×××.net> ID: 0xA5F059F2 NIC: IXUYHSKQLI |
48 |
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2 |
49 |
|
50 |
|
51 |
____________________________________________________________________ |
52 |
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol. |
53 |
Probald ki most! http://www.freestart.hu |
54 |
|
55 |
-- |
56 |
gentoo-embedded@g.o mailing list |