From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 46349 invoked by alias); 19 Jun 2018 10:18:31 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 46193 invoked by uid 89); 19 Jun 2018 10:18:29 -0000 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,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=nov, Nov, 19062018, mingw X-HELO: smtp.mail.uni-mannheim.de Received: from smtp.mail.uni-mannheim.de (HELO smtp.mail.uni-mannheim.de) (134.155.96.80) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 19 Jun 2018 10:18:27 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp.mail.uni-mannheim.de (Postfix) with ESMTP id A3D0610576C for ; Tue, 19 Jun 2018 12:18:24 +0200 (CEST) Received: from smtp.mail.uni-mannheim.de ([134.155.96.80]) by localhost (mail-r83.rz.uni-mannheim.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pz6KuXmlow05 for ; Tue, 19 Jun 2018 12:18:24 +0200 (CEST) Received: from [134.155.36.73] (edv13.bib.uni-mannheim.de [134.155.36.73]) by smtp.mail.uni-mannheim.de (Postfix) with ESMTPSA id 82C2E105607 for ; Tue, 19 Jun 2018 12:18:24 +0200 (CEST) Subject: Re: [BUG] Package mingw64-x86_64-icu is broken To: cygwin@cygwin.com References: <63d2b80c-42ce-7aa2-dcb2-2fb5f821b96a@weilnetz.de> From: Stefan Weil Openpgp: preference=signencrypt Message-ID: <7cf87ba8-c298-cacb-63d7-54ff2c50da2c@weilnetz.de> Date: Tue, 19 Jun 2018 23:46:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg00226.txt.bz2 Am 19.06.2018 um 11:53 schrieb JonY: > On 06/18/2018 12:12 PM, Stefan Weil wrote: >> Am 06.06.2018 um 21:13 schrieb Stefan Weil: >>> Both mingw64-x86_64-icu-57.1-1 and mingw64-x86_64-icu-57.1-2 are broken: >>> >>> This code always fails: >>> >>> icu::Normalizer2::getInstance(nullptr, "nfkc", UNORM2_COMPOSE, error_code); >>> >>> The problem was detected when comparing Tesseract for Windows >>> executables: while the 32 bit version worked fine, the 64 bit version >>> failed. The failure could be localized, and the mingw64-x86_64-icu >>> package was identified to be causing it. >>> >>> https://github.com/tesseract-ocr/tesseract/issues/1625#issuecomment-395161152 >>> contains details and also a short test code which can be used to >>> reproduce the problem. >>> >>> The 32 bit package mingw64-i686-icu-57.1-2 works fine. >>> >>> Kind regards >>> Stefan Weil >> >> Ping. How can I help to get this issue fixed? > > I noticed cygport is using llvm version of binutils, not sure if that > broke things. > > Was the issue there if you built it yourself with gcc/binutils? No, a local build with x86_64-w64-mingw32-gcc works fine. Tested with 57.1-2, but also with recent versions of icu. A good indicator of a broken installation is a small icudata57.dll: $ ls -l /usr/*/sys-root/mingw/bin/icudata57.dll -rwxr-xr-x 1 25680896 Nov 10 2016 /usr/i686-w64-mingw32/sys-root/mingw/bin/icudata57.dll -rwxr-xr-x 1 15872 Nov 10 2016 /usr/x86_64-w64-mingw32/sys-root/mingw/bin/icudata57.dll The (good) file for 32 bit is much larger than the (broken) file for 64 bit. Stefan -- 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