GNU bug report logs - #37032
Make libtool prefer response files over linker script, for lld

Previous Next

Package: libtool;

Reported by: Martin Storsjö <martin <at> martin.st>

Date: Wed, 14 Aug 2019 20:59: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 37032 in the body.
You can then email your comments to 37032 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#37032; Package libtool. (Wed, 14 Aug 2019 20:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Martin Storsjö <martin <at> martin.st>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Wed, 14 Aug 2019 20:59:02 GMT) Full text and rfc822 format available.

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

From: Martin Storsjö <martin <at> martin.st>
To: bug-libtool <at> gnu.org
Subject: Make libtool prefer response files over linker script, for lld
Date: Wed, 14 Aug 2019 23:58:24 +0300 (EEST)
[Message part 1 (text/plain, inline)]
When linking for mingw with libtool, with lld as linker (where lld 
impersonates GNU ld and implements the subset of commonly used GNU ld 
features), libtool will use a linker script for passing long lists of 
object files to the linker.

This fails with lld, where the mingw/coff part of lld doesn't support 
linker script. It does support response files (which also GNU ld does) 
though, so by making libtool check for support for response files before 
linker script (which is assumed to be supported if with_gnu_ld is set), 
this issue can be avoided. The attached patch accomplishes this. Are there 
any drawbacks to this approach, other than being less tested than the 
current status quo?

This patch has been carried in msys2's copy of libtool since late last 
year, with no reported issues to my knowledge.

// Martin
[0001-Prefer-response-files-over-linker-scripts-for-mingw-.patch (text/x-diff, attachment)]

Information forwarded to bug-libtool <at> gnu.org:
bug#37032; Package libtool. (Thu, 03 Mar 2022 12:33:02 GMT) Full text and rfc822 format available.

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

From: Martin Storsjö <martin <at> martin.st>
To: alex.ameen.tx <at> gmail.com
Cc: 37032 <at> debbugs.gnu.org
Subject: Re: bug#37032: Acknowledgement (Make libtool prefer response files
 over linker script, for lld)
Date: Thu, 3 Mar 2022 14:32:25 +0200 (EET)
Hi Alex,

Can you have a look at this libtool bug 
(http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37032)? The attached patch 
has been used downstream in MSYS2 since a couple years:

https://github.com/msys2/MSYS2-packages/blob/master/libtool/0012-Prefer-response-files-over-linker-scripts-for-mingw-.patch

// Martin

On Wed, 14 Aug 2019, GNU bug Tracking System wrote:

> 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 <at> gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 37032 <at> debbugs.gnu.org.
>
> Please do not send mail to help-debbugs <at> gnu.org unless you wish
> to report a problem with the Bug-tracking system.
>
> -- 
> 37032: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37032
> GNU Bug Tracking System
> Contact help-debbugs <at> gnu.org with problems
>




Reply sent to Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>:
You have taken responsibility. (Fri, 25 Oct 2024 16:51:02 GMT) Full text and rfc822 format available.

Notification sent to Martin Storsjö <martin <at> martin.st>:
bug acknowledged by developer. (Fri, 25 Oct 2024 16:51:02 GMT) Full text and rfc822 format available.

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

From: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
To: 37032-done <at> debbugs.gnu.org
Cc: Martin Storsjö <martin <at> martin.st>
Subject: bug#37032: Make libtool prefer response files over linker script, for
 lld
Date: Fri, 25 Oct 2024 19:48:26 +0300
[Message part 1 (text/plain, inline)]
Thank you for forwarding this patch from msys2! It has been applied to
the development branch:

https://git.savannah.gnu.org/cgit/libtool.git/commit/?h=development&id=5fa7a3b50506cb7ba9e82d77140f4958fb534127

-- 
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. (Sat, 23 Nov 2024 12:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 166 days ago.

Previous Next


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