[Buildroot] [PATCH 0/2] Make sure WCHAR is enabled if native binutils will be build
Alexey Brodkin
Alexey.Brodkin at synopsys.com
Mon Aug 18 22:03:25 UTC 2014
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
More information about the buildroot
mailing list