delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/20/18:10:12

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=plu
OMxsEidIGLm7vnvEj6JDDcb65a3dm5YPT88v93Jw3IKr1UWzK3NLf6huT7ylyesN
eY+ZZko81MvqUTKwiQDi/oEFXY/uGR1j+s4r6o64lzW3Rdt5R7QwraPFkJUdG+sM
R0ipV+OtDYD6onhNX3tuk723TGRDqFCrm2rAcbiI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=oavBXrYPw
vORvV/QZGbbIVY9sSQ=; b=Kq5BX5nPRX7UlaI3rtV5i13ic5nIFDnINZRJX6AR1
xAweEkivpIEn8gAC4XqKYqjlwcHAacUpiiB2oK+vdEqO/QungCZOXLoXs448bwIm
WSJKDJWiR5xcDlVRaJjnUn+o82FGlQUWpDV3OLEq162uWh4L/1P5u6h++mzStuiO
hE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*MI:online, Hx-languages-length:921, H*F:D*t-online.de
X-HELO: mailout05.t-online.de
To: cygwin AT cygwin DOT com
From: =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= <HBBroeker AT t-online DOT de>
Subject: GIT source build failure: wcwidth.c::_wcwidth misses __locale_cjk_lang()
Message-ID: <9cd85e4f-ac3a-cd76-71bf-445d7676a312@t-online.de>
Date: Sun, 21 Aug 2016 00:09:44 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019