X-Loop: help-debbugs@HIDDEN Subject: bug#10949: bug in ltmain.m4sh (cygwin/mingw environment) Resent-From: "Glenn Ganz" <glenn.ganz@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-libtool@HIDDEN Resent-Date: Mon, 05 Mar 2012 17:06:02 +0000 Resent-Message-ID: <handler.10949.B.133096713723894 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 10949 X-GNU-PR-Package: libtool X-GNU-PR-Keywords: To: 10949 <at> debbugs.gnu.org X-Debbugs-Original-To: <bug-libtool@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.133096713723894 (code B ref -1); Mon, 05 Mar 2012 17:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Mar 2012 17:05:37 +0000 Received: from localhost ([127.0.0.1]:34387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1S4bLs-0006D6-Lz for submit <at> debbugs.gnu.org; Mon, 05 Mar 2012 12:05:37 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33094) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <glenn.ganz@HIDDEN>) id 1S4b9F-0005uE-Bl for submit <at> debbugs.gnu.org; Mon, 05 Mar 2012 11:52:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <glenn.ganz@HIDDEN>) id 1S4b8N-0007ye-SV for submit <at> debbugs.gnu.org; Mon, 05 Mar 2012 11:51:44 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:58652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <glenn.ganz@HIDDEN>) id 1S4b8N-0007ya-PJ for submit <at> debbugs.gnu.org; Mon, 05 Mar 2012 11:51:39 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <glenn.ganz@HIDDEN>) id 1S4b8I-0003pP-QK for bug-libtool@HIDDEN; Mon, 05 Mar 2012 11:51:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <glenn.ganz@HIDDEN>) id 1S4b8C-0007wo-9M for bug-libtool@HIDDEN; Mon, 05 Mar 2012 11:51:34 -0500 Received: from bernina.uptime.ch ([77.109.141.10]:34275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <glenn.ganz@HIDDEN>) id 1S4b8B-0007wI-W4 for bug-libtool@HIDDEN; Mon, 05 Mar 2012 11:51:28 -0500 Received: from localhost (localhost [127.0.0.1]) by bernina.uptime.ch (Postfix) with ESMTP id 4C8123EB78B for <bug-libtool@HIDDEN>; Mon, 5 Mar 2012 17:51:25 +0100 (CET) X-Virus-Scanned: amavisd-new at uptime.ch Received: from bernina.uptime.ch ([127.0.0.1]) by localhost (bernina.uptime.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id un0HrEzsf-vz for <bug-libtool@HIDDEN>; Mon, 5 Mar 2012 17:51:25 +0100 (CET) x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CCFAF0.3348F14B" Date: Mon, 5 Mar 2012 17:51:22 +0100 Message-ID: <FDF3267FD9D6EB43A7E00BE0243DDEBCEE4B7C@HIDDEN> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: bug in ltmain.m4sh (cygwin/mingw environment) thread-index: Acz68DIzvTUZl4A3QOehO3V0vZgxiA== From: "Glenn Ganz" <glenn.ganz@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Mailman-Approved-At: Mon, 05 Mar 2012 12:05:14 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -6.9 (------) This is a multi-part message in MIME format. ------_=_NextPart_001_01CCFAF0.3348F14B Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi =20 In the function func_convert_core_msys_to_w32 the command cmd will be = invoked wrong. =20 =20 There should be only 1 slash in the argument. =20 The line=20 func_convert_core_msys_to_w32_result=3D`( cmd //c echo "$1" ) = 2>/dev/null | =20 should be=20 func_convert_core_msys_to_w32_result=3D`( cmd /c echo "$1" ) = 2>/dev/null | =20 =20 =F0 with two slashes the linking will hang (on windows xp) =20 Regards=20 Glenn =20 ________________________________ UPTIME services AG Glenn Ganz MAS in Software Engineering FH Software Architect Brauerstrasse 4, CH-8004 Z=FCrich T +41 44 560 75 12 glenn.ganz@HIDDEN <mailto:glenn.ganz@HIDDEN> , www.uptime.ch = <http://www.uptime.ch>=20 =20 ------_=_NextPart_001_01CCFAF0.3348F14B Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta = http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"><meta name=3DGenerator content=3D"Microsoft Word = 12 (filtered medium)"><!--[if !mso]><style>v\:* = {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style><![endif]--><style><!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {mso-style-priority:34; margin-top:0cm; margin-right:0cm; margin-bottom:0cm; margin-left:36.0pt; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} span.E-MailFormatvorlage17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 2.0cm 70.85pt;} div.WordSection1 {page:WordSection1;} /* List Definitions */ @list l0 {mso-list-id:40597881; mso-list-type:hybrid; mso-list-template-ids:-1991840756 55371480 67567619 67567621 67567617 = 67567619 67567621 67567617 67567619 67567621;} @list l0:level1 {mso-level-start-at:0; mso-level-number-format:bullet; mso-level-text:\F0F0; mso-level-tab-stop:none; mso-level-number-position:left; text-indent:-18.0pt; font-family:Wingdings; mso-fareast-font-family:Calibri; mso-bidi-font-family:"Times New Roman";} ol {margin-bottom:0cm;} ul {margin-bottom:0cm;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DDE link=3Dblue = vlink=3Dpurple><div class=3DWordSection1><p = class=3DMsoNormal>Hi<o:p></o:p></p><p = class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>In the = function <b>func_convert_core_msys_to_w32</b> the command cmd will be = invoked wrong.<o:p></o:p></p><p = class=3DMsoNormal><o:p> </o:p></p><p = class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>There should = be only 1 slash in the argument.<o:p></o:p></p><p = class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>The line = <o:p></o:p></p><p = class=3DMsoNormal>=A0=A0func_convert_core_msys_to_w32_result=3D`( cmd = /<b><span style=3D'color:red'>/</span></b>c echo "$1" ) = 2>/dev/null |<o:p></o:p></p><p = class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>should be = <o:p></o:p></p><p = class=3DMsoNormal>=A0=A0func_convert_core_msys_to_w32_result=3D`( cmd /c = echo "$1" ) 2>/dev/null |<o:p></o:p></p><p = class=3DMsoNormal><o:p> </o:p></p><p = class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoListParagraph = style=3D'text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if = !supportLists]><span style=3D'font-family:Wingdings'><span = style=3D'mso-list:Ignore'>=F0<span style=3D'font:7.0pt "Times New = Roman"'> </span></span></span><![endif]>with two slashes the = linking will hang (on windows xp)<o:p></o:p></p><p = class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>Regards = <o:p></o:p></p><p class=3DMsoNormal>Glenn<o:p></o:p></p><p = class=3DMsoNormal><o:p> </o:p></p><div class=3DMsoNormal = align=3Dcenter style=3D'text-align:center'><span lang=3DDE-CH = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'><hr size=3D2 = width=3D"100%" align=3Dcenter></span></div><p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>UPTIME = services AG<br>Glenn Ganz<br>MAS in Software Engineering FH</span><span = lang=3DDE-CH = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'><br>Software = Architect<br>Brauerstrasse 4, CH-8004 Z=FCrich<br>T +41 44 560 75 = 12<br><a href=3D"mailto:glenn.ganz@HIDDEN"><span = style=3D'color:blue'>glenn.ganz@HIDDEN</span></a>, <a = href=3D"http://www.uptime.ch"><span = style=3D'color:blue'>www.uptime.ch</span></a></span><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p><p = class=3DMsoNormal><o:p> </o:p></p></div></body></html> ------_=_NextPart_001_01CCFAF0.3348F14B--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: "Glenn Ganz" <glenn.ganz@HIDDEN> Subject: bug#10949: Acknowledgement (bug in ltmain.m4sh (cygwin/mingw environment)) Message-ID: <handler.10949.B.133096713723894.ack <at> debbugs.gnu.org> References: <FDF3267FD9D6EB43A7E00BE0243DDEBCEE4B7C@HIDDEN> X-Gnu-PR-Message: ack 10949 X-Gnu-PR-Package: libtool Reply-To: 10949 <at> debbugs.gnu.org Date: Mon, 05 Mar 2012 17:06:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-libtool@HIDDEN If you wish to submit further information on this problem, please send it to 10949 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 10949: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D10949 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#10949: bug in ltmain.m4sh (cygwin/mingw environment) Resent-From: Peter Rosin <peda@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-libtool@HIDDEN Resent-Date: Mon, 05 Mar 2012 19:53:02 +0000 Resent-Message-ID: <handler.10949.B10949.13309771819498 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 10949 X-GNU-PR-Package: libtool X-GNU-PR-Keywords: To: Glenn Ganz <glenn.ganz@HIDDEN> Cc: 10949 <at> debbugs.gnu.org Received: via spool by 10949-submit <at> debbugs.gnu.org id=B10949.13309771819498 (code B ref 10949); Mon, 05 Mar 2012 19:53:02 +0000 Received: (at 10949) by debbugs.gnu.org; 5 Mar 2012 19:53:01 +0000 Received: from localhost ([127.0.0.1]:34598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1S4dxt-0002Sz-27 for submit <at> debbugs.gnu.org; Mon, 05 Mar 2012 14:53:01 -0500 Received: from mail.lysator.liu.se ([130.236.254.3]:49406) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <peda@HIDDEN>) id 1S4dxg-0002SX-9P for 10949 <at> debbugs.gnu.org; Mon, 05 Mar 2012 14:52:49 -0500 Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 8A5F340003; Mon, 5 Mar 2012 20:51:55 +0100 (CET) Received: from [192.168.0.150] (h57n3fls301o1095.telia.com [81.230.178.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 0AFA640002; Mon, 5 Mar 2012 20:51:54 +0100 (CET) Message-ID: <4F55195D.3080102@HIDDEN> Date: Mon, 05 Mar 2012 20:51:57 +0100 From: Peter Rosin <peda@HIDDEN> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 References: <FDF3267FD9D6EB43A7E00BE0243DDEBCEE4B7C@HIDDEN> In-Reply-To: <FDF3267FD9D6EB43A7E00BE0243DDEBCEE4B7C@HIDDEN> Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: ClamAV using ClamSMTP Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.9 (-) tags 10949 + notabug close 10949 Hi Glenn! Thanks for your report. Glenn Ganz skrev 2012-03-05 17:51: > Hi > =20 > In the function func_convert_core_msys_to_w32 the command cmd will be i= nvoked wrong. > =20 > =20 > There should be only 1 slash in the argument. > =20 > The line=20 > func_convert_core_msys_to_w32_result=3D`( cmd //c echo "$1" ) 2>/dev/= null | > =20 > should be=20 > func_convert_core_msys_to_w32_result=3D`( cmd /c echo "$1" ) 2>/dev/n= ull | > =20 > =20 > =F0 with two slashes the linking will hang (on windows xp) > =20 > Regards=20 > Glenn The double slash is intentional. In MSYS, you need the double slash in order to differentiate from an absolute POSIX path. My guess is that you are trying to use a native MinGW tool chain from a Cygwin environment= , in which case func_convert_core_msys_to_w32_result is not what you want. Please study the Cygwin to MinGW Cross chapter in the manual. If I'm right, you are in the case that needs export lt_cv_to_host_file_cmd=3Dfunc_convert_file_cygwin_to_w32 export lt_cv_to_tool_file_cmd=3Dfunc_convert_file_cygwin_to_w32 But, this is a mine field if you don't know what you are doing so please read through the entire section in the manual to check if there is any option that makes more sense than the "fake cross compiler case". Please reopen the bug if I have misunderstood things. Cheers, Peter
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.