GNU bug report logs - #21137
typo in libtool.m4 ( _LT_SYS_HIDDEN_LIBDEPS)

Previous Next

Package: libtool;

Reported by: Gilles Gouaillardet <gilles.gouaillardet <at> gmail.com>

Date: Mon, 27 Jul 2015 06:19:01 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


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

From: Clement Foyer <cfoyer <at> cray.com>
To: "bug-libtool <at> gnu.org" <bug-libtool <at> gnu.org>
Subject: Follow up on bug#21137: typo in libtool.m4 ( _LT_SYS_HIDDEN_LIBDEPS)
Date: Tue, 4 Sep 2018 10:10:42 +0000
[Message part 1 (text/plain, inline)]
Dear libtool maintainers,

Sorry to dig this bug up, but it seems like it is not solved yet in master. Gilles provided a patch that may not have reached you.

I ended up digging this out because we faced a strange behaviour that is related to the same part of the code. For some fortran code linking, we end up with couple empty -l pending in the command line, that get mixed up with the following -L/some/path ending up in a faulty link command. From my understanding, it may be some trivial library that get removed because added by default (or added multiple times), but the trimming is either too much or not enough.
One work around (provided in https://github.com/open-mpi/ompi/issues/751 ) is to add a test to -l in the first if statement to set the $prev variable properly.

It seems to work well as this work around have been used in the autogen process for Open MPI for many years now, but I did not check each sub-function to see if it would unexpectedly break anything.

Thanks you very much,
Best regards,
Clement
--
Clément Foyer |  Research Engineer – PhD Student
Mobile +44 (0) 771 179 9985 | Office +44 (0) 117 992 6790 |  cfoyer <at> cray.com
Broad Quay House | Broad Quay  |  Bristol  |  BS1 4DJ  |  http://www.cray.com/

Cray U.K. Limited is a limited company registered in England and Wales.
Company Registration No. 03941275. Registered Offices: 5 Fleet Place, London, EC4M 7RD, UK

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

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

Previous Next


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