|
From: | Clement Foyer |
Subject: | bug#21137: Follow up on bug#21137: typo in libtool.m4 ( _LT_SYS_HIDDEN_LIBDEPS) |
Date: | Tue, 4 Sep 2018 10:10:42 +0000 |
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 | address@hidden 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 |
[Prev in Thread] | Current Thread | [Next in Thread] |