From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Brodkin Date: Tue, 19 Aug 2014 02:03:25 +0400 Subject: [Buildroot] [PATCH 0/2] Make sure WCHAR is enabled if native binutils will be build Message-ID: <1408399407-23604-1-git-send-email-abrodkin@synopsys.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net binutils starting at least from 2.23 when build for target require uClibc configured with UCLIBC_HAS_WCHAR otherwise: ========== libtool: link: [...] -o as-new [...] read.o: In function `read_symbol_name': read.c:(.text+0x3634): undefined reference to `mbstowcs' collect2: error: ld returned 1 exit status ========== because "mbstowcs" won't be compiled in. That's why we need to make sure WCHAR is enabled in toolchain for all packages that require native binutils. Alexey Brodkin (2): binutils: troubleshoot native binutils building (add WCHAR dependency) packages: add WCHAR dependency for packages that select native binutils package/binutils/Config.in | 1 + package/dropwatch/Config.in | 1 + package/oprofile/Config.in | 1 + 3 files changed, 3 insertions(+) -- 1.9.3