GNU bug report logs - #21445
LIBS not passed for creating a wrapper for cygwin/mingw

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: libtool; Reported by: Damian Bogel <kele@HIDDEN>; dated Wed, 9 Sep 2015 15:42:01 UTC; Maintainer for libtool is bug-libtool@HIDDEN.

Message received at 21445 <at> debbugs.gnu.org:


Received: (at 21445) by debbugs.gnu.org; 9 Sep 2015 20:48:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 09 16:48:11 2015
Received: from localhost ([127.0.0.1]:54240 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZZmHq-0000kD-Cj
	for submit <at> debbugs.gnu.org; Wed, 09 Sep 2015 16:48:10 -0400
Received: from mail.lysator.liu.se ([130.236.254.3]:36609)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <peda@HIDDEN>) id 1ZZmHn-0000k0-Iz
 for 21445 <at> debbugs.gnu.org; Wed, 09 Sep 2015 16:48:08 -0400
Received: from mail.lysator.liu.se (localhost [127.0.0.1])
 by mail.lysator.liu.se (Postfix) with ESMTP id 1CEB940040;
 Wed,  9 Sep 2015 22:48:06 +0200 (CEST)
Received: from [192.168.0.68] (217-210-101-82-no95.business.telia.com
 [217.210.101.82])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mail.lysator.liu.se (Postfix) with ESMTPSA id BA8374002C;
 Wed,  9 Sep 2015 22:48:05 +0200 (CEST)
Subject: Re: bug#21445: LIBS not passed for creating a wrapper for cygwin/mingw
To: Damian Bogel <kele@HIDDEN>, 21445 <at> debbugs.gnu.org
References: <CAAxku4aJvegtG1UO39p0b7v6Ouyq_3Tb6XSRTekZGAECjBc=sQ@HIDDEN>
From: Peter Rosin <peda@HIDDEN>
Message-ID: <55F09B04.4040502@HIDDEN>
Date: Wed, 9 Sep 2015 22:48:04 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101
 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <CAAxku4aJvegtG1UO39p0b7v6Ouyq_3Tb6XSRTekZGAECjBc=sQ@HIDDEN>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 21445
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

On 2015-09-09 16:35, Damian Bogel wrote:
> Hi,
> 
> It seems that whenever a wrapper executable is built for cygwin/mingw, libraries passed to libtool are ignored.
> 
> In my libtool there's a command:
> 
> # The wrapper executable is built using the $host compiler,
> # because it contains $host paths and files. If cross-
> # compiling, it, like the target executable, must be
> # executed on the $host or under an emulation environment.
> $opt_dry_run || {
>   $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
> $STRIP $cwrapper
> }
> 
> and clearly there's something missing after cwrappersource. In my project, I'm currently just using sed to patch the libtool, but a variable like LTLIBS would be useful.

Hi!

I don't understand why you would need any extra libraries to build the
cwrapper? It is not supposed to need any user-provided libraries, it's
a very simple C program that sets up the environment for the real
program and the execs that, no fancy libs needed for that. What is it
that you think should be added with $LTLIBS?

I wonder what the underlying problem is that you are apparently trying
to work around?

Cheers,
Peter





Information forwarded to bug-libtool@HIDDEN:
bug#21445; Package libtool. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 Sep 2015 15:41:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 09 11:41:16 2015
Received: from localhost ([127.0.0.1]:53997 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZZhUp-0006ae-KU
	for submit <at> debbugs.gnu.org; Wed, 09 Sep 2015 11:41:16 -0400
Received: from eggs.gnu.org ([208.118.235.92]:34375)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <kele@HIDDEN>) id 1ZZgTe-0004rW-Fk
 for submit <at> debbugs.gnu.org; Wed, 09 Sep 2015 10:35:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <kele@HIDDEN>) id 1ZZgTd-0004lH-EU
 for submit <at> debbugs.gnu.org; Wed, 09 Sep 2015 10:35:58 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,HTML_MESSAGE,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:56031)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <kele@HIDDEN>) id 1ZZgTd-0004lD-Bd
 for submit <at> debbugs.gnu.org; Wed, 09 Sep 2015 10:35:57 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44368)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <kele@HIDDEN>) id 1ZZgTZ-0002DI-FV
 for bug-libtool@HIDDEN; Wed, 09 Sep 2015 10:35:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <kele@HIDDEN>) id 1ZZgTT-0004ie-SU
 for bug-libtool@HIDDEN; Wed, 09 Sep 2015 10:35:53 -0400
Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:36970)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <kele@HIDDEN>) id 1ZZgTT-0004iG-9y
 for bug-libtool@HIDDEN; Wed, 09 Sep 2015 10:35:47 -0400
Received: by wicfx3 with SMTP id fx3so24294757wic.0
 for <bug-libtool@HIDDEN>; Wed, 09 Sep 2015 07:35:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113;
 h=mime-version:date:message-id:subject:from:to:content-type;
 bh=6wiNT0Ob71HfGZt0PFib/pzxf6tn+4YIHbAEul3jozU=;
 b=QlEM790kzYF4f/xI8/SjHFlqK4JTmhNmeq0+5pj8EiW/v16980hhtbrbxPA8P1So+s
 zzuqLUMG1zPGQXAh4dslUON0deaU/mN+FiQtNxREECLlEWHHEneOluSFo62QeLNzgaiv
 yKaePayDZehhHxibcXE2CZ9vcmKk7j/XGMuMkkbQr/C0AhGZLAMOHD2/iNHzYs7u3uTO
 LLlyyPdHuM28s3wpWWEr4ys8Tg8QICQzj748AYIfG2gtF/o1DIWQ0TEyok0mis8SnWic
 +vf8c0tWdlQnnKrYNoSxV+Bv8R08l2UR2UPCIJ7/rGste8bmy1hdi9b7paXmKOIhxZOP
 batw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:date:message-id:subject:from:to
 :content-type;
 bh=6wiNT0Ob71HfGZt0PFib/pzxf6tn+4YIHbAEul3jozU=;
 b=m5p9SycN7EgCQ31VaSUdizVwfCxHtRxoETsn8+ppVImnUihFJwHz4Aw12L0mYOS+63
 Cb7Bwg/FvbOaOC20DCEklarIamTTak/RVj9xWEFFMcZHhWY2ReCDMe1E4jFdJ2LMqSdf
 +mqkz2itMEPOpM1imsndqLgkY07Oe7cKngdCdQrQITwLOKNyDijTnMpl2Wu1jVRHw8jD
 N6m6SL5gDSSmDVUPYKBf1zka3JZKReUih7M4+r73uPkkEjl+3wvVOpmDa28uMy2syyGK
 DHxhKqXOFH1us4as1/NoYGNvFuD4WAuU9MqLVPCuFYF2ddxzC7DM7qmo9wYkcPftewm5
 J93Q==
X-Gm-Message-State: ALoCoQnSbuSmHmI+NhNmVXJhURYiEk2LS+EVYL3MgbPEoN+4ZMX0+6eAt3FqcAcJkS97oKd+zE3w
MIME-Version: 1.0
X-Received: by 10.180.84.225 with SMTP id c1mr19783661wiz.92.1441809345794;
 Wed, 09 Sep 2015 07:35:45 -0700 (PDT)
Received: by 10.194.61.204 with HTTP; Wed, 9 Sep 2015 07:35:45 -0700 (PDT)
Date: Wed, 9 Sep 2015 10:35:45 -0400
Message-ID: <CAAxku4aJvegtG1UO39p0b7v6Ouyq_3Tb6XSRTekZGAECjBc=sQ@HIDDEN>
Subject: LIBS not passed for creating a wrapper for cygwin/mingw
From: Damian Bogel <kele@HIDDEN>
To: bug-libtool@HIDDEN
Content-Type: multipart/alternative; boundary=f46d0418282ee409e5051f516580
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 09 Sep 2015 11:41:14 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

--f46d0418282ee409e5051f516580
Content-Type: text/plain; charset=UTF-8

Hi,

It seems that whenever a wrapper executable is built for cygwin/mingw,
libraries passed to libtool are ignored.

In my libtool there's a command:

# The wrapper executable is built using the $host compiler,
# because it contains $host paths and files. If cross-
# compiling, it, like the target executable, must be
# executed on the $host or under an emulation environment.
$opt_dry_run || {
  $LTCC $LTCFLAGS -o $cwrapper $cwrappersource
$STRIP $cwrapper
}

and clearly there's something missing after cwrappersource. In my project,
I'm currently just using sed to patch the libtool, but a variable like
LTLIBS would be useful.


-- 
Best,
Damian

--f46d0418282ee409e5051f516580
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>It seems that whenever a wrapper ex=
ecutable is built for cygwin/mingw, libraries passed to libtool are ignored=
.</div><div><br></div><div>In my libtool there&#39;s a command:</div><div><=
br></div><div><div><font face=3D"monospace, monospace"># The wrapper execut=
able is built using the $host compiler,</font></div><div><font face=3D"mono=
space, monospace"># because it contains $host paths and files. If cross-</f=
ont></div><div><font face=3D"monospace, monospace"># compiling, it, like th=
e target executable, must be</font></div><div><font face=3D"monospace, mono=
space"># executed on the $host or under an emulation environment.</font></d=
iv><div><font face=3D"monospace, monospace">$opt_dry_run || {</font></div><=
div><font face=3D"monospace, monospace">=C2=A0 $LTCC $LTCFLAGS -o $cwrapper=
 $cwrappersource</font></div><div><font face=3D"monospace, monospace"><span=
 class=3D"" style=3D"white-space:pre">  </span>$STRIP $cwrapper</font></div=
><div><font face=3D"monospace, monospace">}</font></div><div><br></div><div=
>and clearly there&#39;s something missing after cwrappersource. In my proj=
ect, I&#39;m currently just using sed to patch the libtool, but a variable =
like LTLIBS would be useful.</div><div><br></div><div><br></div>-- <br><div=
 class=3D"gmail_signature"><div dir=3D"ltr">Best,<div>Damian</div></div></d=
iv>
</div></div>

--f46d0418282ee409e5051f516580--




Acknowledgement sent to Damian Bogel <kele@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-libtool@HIDDEN. Full text available.
Report forwarded to bug-libtool@HIDDEN:
bug#21445; Package libtool. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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