public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Hans-Bernhard Bröker" <HBBroeker@t-online.de>
To: cygwin@cygwin.com
Subject: GIT source build failure: wcwidth.c::_wcwidth misses __locale_cjk_lang()
Date: Sun, 21 Aug 2016 04:01:00 -0000	[thread overview]
Message-ID: <9cd85e4f-ac3a-cd76-71bf-445d7676a312@t-online.de> (raw)

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

             reply	other threads:[~2016-08-20 22:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-21  4:01 Hans-Bernhard Bröker [this message]
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

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=9cd85e4f-ac3a-cd76-71bf-445d7676a312@t-online.de \
    --to=hbbroeker@t-online.de \
    --cc=cygwin@cygwin.com \
    /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 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).