GNU bug report logs - #10949
bug in ltmain.m4sh (cygwin/mingw environment)

Previous Next

Package: libtool;

Reported by: "Glenn Ganz" <glenn.ganz <at> uptime.ch>

Date: Mon, 5 Mar 2012 17:06:02 UTC

Severity: normal

Done: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10949 in the body.
You can then email your comments to 10949 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-libtool <at> gnu.org:
bug#10949; Package libtool. (Mon, 05 Mar 2012 17:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Glenn Ganz" <glenn.ganz <at> uptime.ch>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Mon, 05 Mar 2012 17:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Glenn Ganz" <glenn.ganz <at> uptime.ch>
To: <bug-libtool <at> gnu.org>
Subject: bug in ltmain.m4sh (cygwin/mingw environment)
Date: Mon, 5 Mar 2012 17:51:22 +0100
[Message part 1 (text/plain, inline)]
Hi

 

In the function func_convert_core_msys_to_w32 the command cmd will be invoked wrong.

 

 

There should be only 1 slash in the argument.

 

The line 

  func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |

 

should be 

  func_convert_core_msys_to_w32_result=`( cmd /c echo "$1" ) 2>/dev/null |

 

 

ð  with two slashes the linking will hang (on windows xp)

 

Regards 

Glenn

 

________________________________

UPTIME services AG
Glenn Ganz
MAS in Software Engineering FH
Software Architect
Brauerstrasse 4, CH-8004 Zürich
T +41 44 560 75 12
glenn.ganz <at> uptime.ch <mailto:glenn.ganz <at> uptime.ch> , www.uptime.ch <http://www.uptime.ch> 

 

[Message part 2 (text/html, inline)]

Information forwarded to bug-libtool <at> gnu.org:
bug#10949; Package libtool. (Mon, 05 Mar 2012 19:53:02 GMT) Full text and rfc822 format available.

Message #8 received at 10949 <at> debbugs.gnu.org (full text, mbox):

From: Peter Rosin <peda <at> lysator.liu.se>
To: Glenn Ganz <glenn.ganz <at> uptime.ch>
Cc: 10949 <at> debbugs.gnu.org
Subject: Re: bug#10949: bug in ltmain.m4sh (cygwin/mingw environment)
Date: Mon, 05 Mar 2012 20:51:57 +0100
tags 10949 + notabug
close 10949

Hi Glenn!

Thanks for your report.

Glenn Ganz skrev 2012-03-05 17:51:
> Hi
>  
> In the function func_convert_core_msys_to_w32 the command cmd will be invoked wrong.
>  
>  
> There should be only 1 slash in the argument.
>  
> The line 
>   func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
>  
> should be 
>   func_convert_core_msys_to_w32_result=`( cmd /c echo "$1" ) 2>/dev/null |
>  
>  
> ð  with two slashes the linking will hang (on windows xp)
>  
> Regards 
> 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=func_convert_file_cygwin_to_w32
     export lt_cv_to_tool_file_cmd=func_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




Reply sent to Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>:
You have taken responsibility. (Wed, 14 Aug 2024 15:47:01 GMT) Full text and rfc822 format available.

Notification sent to "Glenn Ganz" <glenn.ganz <at> uptime.ch>:
bug acknowledged by developer. (Wed, 14 Aug 2024 15:47:02 GMT) Full text and rfc822 format available.

Message #13 received at 10949-done <at> debbugs.gnu.org (full text, mbox):

From: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
To: 10949-done <at> debbugs.gnu.org
Subject: Re: bug#10949: bug in ltmain.m4sh (cygwin/mingw environment)
Date: Wed, 14 Aug 2024 18:44:51 +0300
[Message part 1 (text/plain, inline)]
This should have been closed in 2012.

-- 
Ileana Dumitrescu

GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354
[OpenPGP_0x6570EA01146F7354.asc (application/pgp-keys, attachment)]
[OpenPGP_signature.asc (application/pgp-signature, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 12 Sep 2024 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.