* [Buildroot] Issue with iconv_open and Linaro toolchain
@ 2013-07-11 9:20 Thierry Bultel
2013-07-11 10:56 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Thierry Bultel @ 2013-07-11 9:20 UTC (permalink / raw)
To: buildroot
Hi,
My problem was first to find out why my QT (forX11) applications reported
the famous errors at startup:
QIconvCodec::convertFromUnicode: using Latin-1 for conversion,
iconv_open failed
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open
failed
After some diving into the code and some qemu strace stuff, too, I found
out that the
problem is due to the fact that iconv_open tries to open :
/usr/lib/arm-linux-gnueabihf/gconv/gconv-modules.cache
The /usr/lib/arm-linux-gnueabihf does not exist at all on the target,
but only in the sysroot.
Copying it manually solves the issue, but I do not feel comfortable with
having a piece
of the toolchain path on my system...
What is your point of view about this ? What would be the right way to do ?
Thanks
Thierry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130711/3b404969/attachment.html>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Issue with iconv_open and Linaro toolchain
2013-07-11 9:20 [Buildroot] Issue with iconv_open and Linaro toolchain Thierry Bultel
@ 2013-07-11 10:56 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2013-07-11 10:56 UTC (permalink / raw)
To: buildroot
Dear Thierry Bultel,
On Thu, 11 Jul 2013 11:20:52 +0200, Thierry Bultel wrote:
> The /usr/lib/arm-linux-gnueabihf does not exist at all on the target,
> but only in the sysroot.
> Copying it manually solves the issue, but I do not feel comfortable with
> having a piece
> of the toolchain path on my system...
>
> What is your point of view about this ? What would be the right way to do ?
The right way is to add a Buildroot option that copies certain gconv
modules, which are needed on (e)glibc toolchains to make iconv work
properly, and maybe generates the gconv-modules.cache (this is done
using iconvconfig, we'd have to see how to get this tool, or package
it).
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-11 10:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-11 9:20 [Buildroot] Issue with iconv_open and Linaro toolchain Thierry Bultel
2013-07-11 10:56 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox