From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id 60DC13892450 for ; Sat, 26 Jun 2021 19:17:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 60DC13892450 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=systematicsw.ab.ca Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTP id wysElydqsFRDpxDnfl3gRr; Sat, 26 Jun 2021 19:17:07 +0000 Received: from [192.168.1.104] ([68.147.0.90]) by cmsmtp with ESMTP id xDneleQitqevixDnel3Ixv; Sat, 26 Jun 2021 19:17:07 +0000 X-Authority-Analysis: v=2.4 cv=B4F8bMhM c=1 sm=1 tr=0 ts=60d77d33 a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17 a=IkcTkHD0fZMA:10 a=94nOnFI1EgyDtX4ev68A:9 a=QEXdDO2ut3YA:10 From: Brian Inglis Subject: Re: libtool with mingw hangs building openocd in func_convert_core_msys_to_w32 Reply-To: cygwin@cygwin.com To: cygwin@cygwin.com Cc: Dietmar May References: <355a97ed-2076-6756-8a5f-227e44537136@outlook.com> Organization: Systematic Software Message-ID: Date: Sat, 26 Jun 2021 13:17:05 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-CA Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfEdNPsNwmKP2cJW4YAaXdzC1XW/s0aTEozKwVwc5Vbp5I+bDrVOAVtFUhewMQF2HqrVSveHRJQ/SPBmblgmsfpjVMYg5zZAyHu+MdZsvSOThow1IALA/ BcU/cHdXoFY0N8n7cDxA0+ozoEDXPZAqRCp8lbwV5lhoZWlE3494MFwAy9H3DY+noULy+sWVpkXVovYbxXDXvJAT1IXcwSML3H3bOW/ctaeyjpMxIfrrQPU8 X-Spam-Status: No, score=-1160.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2021 19:17:08 -0000 On 2021-06-25 14:46, Dietmar May via Cygwin wrote: > The build completes successfully by replacing the "cmd /c | sed" > construct with simply: > > func_convert_core_msys_to_w32_result=$1 > > so no path translation takes place. > > The function then becomes: > > func_convert_core_msys_to_w32 () > { >   $debug_cmd > > func_convert_core_msys_to_w32_result=$1 > > } >> SUMMARY >> >> func_convert_core_msys_to_w32 in >> >> /usr/share/libtool/build-aux/ltmain.sh >> >> has an extraneous '/' in the call to >> >> ( cmd //c echo "$1" ) >> >> causing make to hang indefinitely >> >> when configured with >> >> --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 Which you don't need to change if you configure properly, as JonY replied on the list to your earlier post: On 2021-06-25 09:27, Jonathan Yong via Cygwin wrote: > > Don't set --build, you are building on Cygwin, not MSYS. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.]