Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/2] Make sure WCHAR is enabled if native binutils will be build
@ 2014-08-18 22:03 Alexey Brodkin
  2014-08-18 22:03 ` [Buildroot] [PATCH 1/2] binutils: troubleshoot native binutils building (add WCHAR dependency) Alexey Brodkin
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alexey Brodkin @ 2014-08-18 22:03 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-09-23 11:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-18 22:03 [Buildroot] [PATCH 0/2] Make sure WCHAR is enabled if native binutils will be build Alexey Brodkin
2014-08-18 22:03 ` [Buildroot] [PATCH 1/2] binutils: troubleshoot native binutils building (add WCHAR dependency) Alexey Brodkin
2014-08-18 22:03 ` [Buildroot] [PATCH 2/2] packages: add WCHAR dependency for packages that select native binutils Alexey Brodkin
2014-09-23 11:05 ` [Buildroot] [PATCH 0/2] Make sure WCHAR is enabled if native binutils will be build Alexey Brodkin
2014-09-23 11:22   ` Thomas Petazzoni
2014-09-23 11:31     ` Alexey Brodkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox