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=UwF hSsdjT6DWKNbGVBCbtEUIuJLHsVhkf5YiXONGAD6gdNgC61ciIUceZEKK/ZYwUci nd5iWxlzB/nT2qIvsmMwFvhsH2lxu95f2eJEUKscOLNjf1ItUdzkpl7KzV3fupLt lOswBe5WSCIQjQ/TjHYQrYFqR2A5tezWQZTyLgas= 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=eWRnZ1Imz shk60qX8s+BJEAYt0c=; b=cfla0YkgwEqp+I6hkeuYOcZ0iGOQsYBMdveDu2TtX sMs0ejBUV4zXGJ9BXRgbdUfo/5q1KEF+coxLWQrcVLrKnBlZWVdiVTzImzKYX+tD aJGz3ou2ColGS/3BNy2TSz8Ld2I7fTwH6JMKXx+1NjUf9snadCMeb0YqRKaDrbwv yw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=0.8 required=5.0 tests=BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=sk:Wstrict, sk:wstrict, era, mcmodel X-HELO: mailout10.t-online.de To: cygwin AT cygwin DOT com From: =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= Subject: Native build fails in winsup/cygwin/libc/strptime.cc because of strtou?l_l() Message-ID: <930c2619-1e9e-7275-c245-0a8c4bd92e6c@t-online.de> Date: Wed, 24 Aug 2016 00:19:14 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Hello everyone, building the git version of cygwin natively on Cygwin-2.5.3, I'm running into a problem with strtoul_l / strtol_l. winsup/cygwin/libc/strptime.cc fails to build: hbbro AT NB4 ~/prg/cygwin/bld/x86_64-unknown-cygwin/winsup/cygwin $ make c++wrap -O2 -g -fno-rtti -fno-exceptions -fno-use-cxa-atexit -Wall -Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin -fmessage-length=0 -MMD -Werror -fmerge-constants -ftracer -mcmodel=small -c -o strptime.o ../../../../newlib-cygwin/winsup/cygwin/libc/strptime.cc ../../../../newlib-cygwin/winsup/cygwin/libc/strptime.cc: In function 'era_info_t* get_era_info(const char*, locale_t)': ../../../../newlib-cygwin/winsup/cygwin/libc/strptime.cc:125:53: error: 'strtol_l' was not declared in this scope ei[cur].offset = strtol_l (era, &c, 10, locale); ^ ../../../../newlib-cygwin/winsup/cygwin/libc/strptime.cc: In function 'char* __strptime(const char*, const char*, tm*, era_info_t**, alt_digits_t**, locale_t)': ../../../../newlib-cygwin/winsup/cygwin/libc/strptime.cc:390:50: error: 'strtoul_l' was not declared in this scope width = strtoul_l (fmt - 1, &end, 10, locale); ^ make: *** [../../../../newlib-cygwin/winsup/cygwin/../Makefile.common:41: strptime.o] Fehler 1 Looking at the .ii file, it appears __GNU_VISIBLE is not active for this C++ source file? -- 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