public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* GIT source build failure: wcwidth.c::_wcwidth misses __locale_cjk_lang()
@ 2016-08-21  4:01 Hans-Bernhard Bröker
  2016-08-21 15:04 ` Corinna Vinschen
  0 siblings, 1 reply; 5+ messages in thread
From: Hans-Bernhard Bröker @ 2016-08-21  4:01 UTC (permalink / raw)
  To: cygwin

Hello everyone,

FWIW, I can't get the current may git clone of Cygwin to build on the 
current release version of itself: (64-bit "Current" on Win10):

/home/hbbro/prg/cygwin/bld/x86_64-unknown-cygwin/newlib/libc/libc.a(lib_a-wcwidth.o): 
In function `__wcwidth':
/home/hbbro/prg/cygwin/bld/x86_64-unknown-cygwin/newlib/libc/string/../../../../../newlib-cygwin/newlib/libc/string/wcwidth.c:301: 
undefined reference to `__locale_cjk_lang'
/home/hbbro/prg/cygwin/bld/x86_64-unknown-cygwin/newlib/libc/citrin/../../../../../newlib-cygwin/newlib/libc/string/wcwidth.c:301:(.text+0xa4):relocation 
truncated to fit: R_X86_64_PC32 against undefined symbol `__locale_cjk_lang'
collect2: error: ld returned 1 exit status
make: *** [Makefile:670: cygwin0.dll] Error 1


Adding

	#include "../locale/setlocale.h"
	
in libc/string/wcwidth.c appears to fix this.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2016-08-21 22:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-21  4:01 GIT source build failure: wcwidth.c::_wcwidth misses __locale_cjk_lang() Hans-Bernhard Bröker
2016-08-21 15:04 ` Corinna Vinschen
2016-08-21 15:25   ` Hans-Bernhard Bröker
2016-08-21 22:03     ` Corinna Vinschen
2016-08-22  1:31       ` Hans-Bernhard Bröker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).