Gentoo Archives: gentoo-embedded

From: Ed W <lists@××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] glibc+iconv
Date: Fri, 21 Oct 2011 21:03:22
Message-Id: 4EA1DDF9.2070803@wildgooses.com
In Reply to: Re: [gentoo-embedded] glibc+iconv by Mike Frysinger
1 >> Some experimentation with latest uclibc suggests that it has some
2 >> working iconv capability, although it appears to also cause a limited
3 >> locale implementation to be pulled in (which I really don't have a
4 >> requirement for). I haven't tried to use it in anger, but for example
5 >> it allows a bunch of ebuilds to compile which previously moaned about
6 >> missing iconv implementations (admitedly those with tests claiming that
7 >> the uclibc iconv is incomplete...)
8 > this is iconv() from the C library, not the `iconv` binary.
9 >
10 > i wish locale support in uClibc was more feature complete ...
11
12 On my uclibc box (no libiconv)
13
14 root@localhost $ ls -al /usr/bin/iconv
15 -rwxr-xr-x 1 root root 10878 Oct 19 19:22 /usr/bin/iconv
16
17 root@localhost $ ldd /usr/bin/iconv
18 libc.so.0 => /lib/libc.so.0 (0x9ff12000)
19 ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x9ff75000)
20
21
22 I would really like to get some proxy developer to help me get uclibc
23 updated and also some patches to a few ebuilds (we hardly need any with
24 latest uclibc, at least on x86)
25
26 See here:
27 https://bugs.gentoo.org/show_bug.cgi?id=308477#c21
28 ...for some notes on building uclibc iconv *under* a uclibc build root
29 (needs some tweaking to help the build succeed - would like to see those
30 tweaks hit upstream, but ...). The main snag is that you get iconv
31 *and* locale... I don't yet have a use for locale, but setting it to
32 build only en_gb.utf8 seems to work and I think total incremental
33 library install size was around 40-50KB
34
35 (I also noticed a plausible implementation of a functioning gettext
36 libintl.h ... ?)
37
38 Seems like uclibc has *near* correct working iconv and could do with
39 word getting out so it gets more exposure and hopefully soon a fully
40 working implementation..
41
42 Cheers
43
44 Ed W