From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] buildroot-2011.08, crosstool-ng-1.12.1, and Samba
Date: Fri, 2 Sep 2011 09:07:39 +0200 [thread overview]
Message-ID: <20110902090739.373ab82f@skate> (raw)
In-Reply-To: <4E600F20.7010606@telesoft.com>
Hello Scott,
Thanks for your report!
Le Thu, 01 Sep 2011 16:02:56 -0700,
Scott Dudley <scott@telesoft.com> a ?crit :
> I've been using buildroot + crosstool-ng targeted for i486 and glibc
> successfully for some time.
>
> I was asked today to include Samba in my target build. Simple
> enough. Compiled without issue however both nmbd and smbd segfault on
> execution. If I run them interactively via the -i flag, I see much
> of the following:
>
> init_iconv: Conversion from UTF-16LE to CP850 not supported
> init_iconv: Attempting to replace with conversion from UTF-16LE to
> ASCII init_iconv: Conversion from UTF-8 to CP850 not supported
> init_iconv: Attempting to replace with conversion from ASCII to ASCII
> init_iconv: Conversion from ANSI_X3.4-1968 to CP850 not supported
> init_iconv: Attempting to replace with conversion from ASCII to ASCII
> init_iconv: Conversion from CP850 to UTF-16LE not supported
> init_iconv: Attempting to replace with conversion from ASCII to
> UTF-16LE init_iconv: Conversion from CP850 to UTF-8 not supported
> init_iconv: Attempting to replace with conversion from ASCII to ASCII
> ...
>
> I see no option in buildroot to build libiconv.
I guess your system lacks the gconv libraries. For example, in the
CodeSourcery toolchains, there are :
thomas at skate:~/x-tools/arm-2011.03$ find . | grep gconv
[...]
./arm-none-linux-gnueabi/libc/usr/include/gconv.h
./arm-none-linux-gnueabi/libc/usr/lib/gconv
./arm-none-linux-gnueabi/libc/usr/lib/gconv/IBM939.so
./arm-none-linux-gnueabi/libc/usr/lib/gconv/CP1257.so
./arm-none-linux-gnueabi/libc/usr/lib/gconv/ISO8859-13.so
./arm-none-linux-gnueabi/libc/usr/lib/gconv/GBK.so
./arm-none-linux-gnueabi/libc/usr/lib/gconv/EBCDIC-DK-NO.so
./arm-none-linux-gnueabi/libc/usr/lib/gconv/ISO8859-6.so
./arm-none-linux-gnueabi/libc/usr/lib/gconv/CP1258.so
./arm-none-linux-gnueabi/libc/usr/lib/gconv/MAC-UK.so
./arm-none-linux-gnueabi/libc/usr/lib/gconv/LATIN-GREEK-1.so
[...]
And Buildroot does not copy those files to the target automatically.
Maybe we need to extend the toolchain mechanism a bit to provide an
option to copy those files. Copying them all unconditionally is
unfortunately not really an option: the complete gconv directory
contains ~9 MB of libraries.
Which toolchain are you using ?
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2011-09-02 7:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-01 23:02 [Buildroot] buildroot-2011.08, crosstool-ng-1.12.1, and Samba Scott Dudley
2011-09-02 7:07 ` Thomas Petazzoni [this message]
2011-09-02 15:30 ` Scott Dudley
2011-09-05 6:54 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110902090739.373ab82f@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.