GNU bug report logs - #36762
libtool.m4 bug (spaces detection in compiler's output after -L/-R)

Previous Next

Package: libtool;

Reported by: Igor Rondarev <d_garry <at> mail.ru>

Date: Mon, 22 Jul 2019 14:04:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#36762: closed (libtool.m4 bug (spaces detection in compiler's
 output after -L/-R))
Date: Tue, 22 Oct 2024 17:51:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 22 Oct 2024 20:49:07 +0300
with message-id <bfc0ea77-0177-41df-92af-ef54976eb6a6 <at> gmail.com>
and subject line bug#36762: libtool.m4 bug (spaces detection in compiler's output after -L/-R)
has caused the debbugs.gnu.org bug report #36762,
regarding libtool.m4 bug (spaces detection in compiler's output after -L/-R)
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
36762: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36762
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Igor Rondarev <d_garry <at> mail.ru>
To: bug-libtool <at> gnu.org
Subject: libtool.m4 bug (spaces detection in compiler's output after -L/-R)
Date: Mon, 22 Jul 2019 16:53:34 +0300
Hi!

There is probaby a bug in 'm4/libtool.m4' that prevents correct 
detection of all the library paths provided by compiler (comparison is 
always FALSE). Here is a small patch:

> diff -ruN orig/m4/libtool.m4 patched/m4/libtool.m4
> --- orig/m4/libtool.m4   2019-04-18 16:57:12.487507441 +0300
> +++ patched/m4/libtool.m4        2019-04-18 16:57:29.503424063 +0300
> @@ -7537,8 +7537,8 @@
>      -L* | -R* | -l*)
>         # Some compilers place space between "-{L,R}" and the path.
>         # Remove the space.
> -       if test x-L = "$p" ||
> -          test x-R = "$p"; then
> +       if test x-L = "x$p" ||
> +          test x-R = "x$p"; then
>          prev=$p
>          continue
>         fi
Regards,
Igor.




[Message part 3 (message/rfc822, inline)]
From: Ileana Dumitrescu <ileanadumitrescu95 <at> gmail.com>
To: 36762-done <at> debbugs.gnu.org
Cc: Igor Rondarev <d_garry <at> mail.ru>
Subject: bug#36762: libtool.m4 bug (spaces detection in compiler's output
 after -L/-R)
Date: Tue, 22 Oct 2024 20:49:07 +0300
[Message part 4 (text/plain, inline)]
Thank you for your bug report and patch. A separate set of patches have
been applied to libtool.

https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=4da5b57531bc2db0131bb26ad017792688674890
https://git.savannah.gnu.org/cgit/libtool.git/commit/?id=fb617e2ba0809218486323823b74f706cedd9aac

-- 
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)]

This bug report was last modified 206 days ago.

Previous Next


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