GNU bug report logs - #31900
typo in libtool.m4 file (wrong -L/-R detection)

Previous Next

Package: libtool;

Reported by: Igor Rondarev <igor.rondarev <at> gmail.com>

Date: Tue, 19 Jun 2018 13:39:02 UTC

Severity: normal

Done: Mike Frysinger <vapier <at> gentoo.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Igor Rondarev <igor.rondarev <at> gmail.com>
To: 31900 <at> debbugs.gnu.org
Subject: bug#31900: typo in libtool.m4 file (wrong -L/-R detection)
Date: Tue, 19 Jun 2018 15:23:31 +0300
[Message part 1 (text/plain, inline)]
Dear libtool maintenance team!

Please note that m4/libtool.m4 file (starting from 2.4.2.418) has incorrect
string comparition that leads to wrong behaviour related to default library
paths.

See m4/libtool.m4 at string 7559 (
http://git.savannah.gnu.org/cgit/libtool.git/tree/m4/libtool.m4#n7559)

# Some compilers place space between "-{L,R}" and the path.
       # Remove the space.
       if test x-L = "$p" ||
          test x-R = "$p"; then
	 prev=$p
	 continue


Both tests are being performed without 'x' in right parts (i.e. "$p"
instead of "x$p"), what makes them always false.

Hope this information is helpful.

Best regards,
Igor.
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 183 days ago.

Previous Next


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