[sr #111406] overlinking dependency_libs when linking against a libtool library
anonymous <[email protected]> Wed, 6 May 2026 17:20:39 -0400 (EDT)
| Newsgroups | gmane.comp.gnu.libtool.general |
|---|---|
| Message-ID | <[email protected]> |
--8323329-846930886-1778102439=:2621855
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline
URL:=0A <https://savannah.gnu.org/support/?111406>=0A=0A S=
ummary: overlinking dependency_libs when linking against a=0Alibtool librar=
y=0A Group: GNU Libtool=0A Submitter: None=
=0A Submitted: Wed 06 May 2026 09:20:33 PM UTC=0A =
Category: None=0A Priority: 5 - Normal=0A =
Severity: 4 - Important=0A Status: None=0A =
Privacy: Public=0A Assigned to: None=0A Originator Ema=
il: [email protected]=0A Open/Closed: Open=0A Disc=
ussion Lock: Unlocked=0A Operating System: *BSD=0A=0A=0A ________=
_______________________________________________=0A=0AFollow-up Comments:=0A=
=0A=0A-------------------------------------------------------=0ADate: Wed 0=
6 May 2026 09:20:33 PM UTC By: Anonymous=0AHi,=0A=0AOn NetBSD, linking a sh=
ared lib A with a libtool shared library B always adds=0AB's dependency to =
the dependencies of A. This is wrong on ELF systems.=0A=0AThis is fixed wit=
h the attached patch. It seems to me that the moved bit of=0Acode in the pa=
tch was initially misplaced, as it always adds the contents of=0A'dependenc=
y_libs' to 'deplibs' no matter what, and in the context of the=0A'conv' pas=
s that is supposed to only consider convenience libraries.=0A=0ANote that t=
his corresponds to a Debian patch that also fixes this for Linux,=0Awhere t=
he problem therefore does not appear.=0A=0A=0A=0A=0A=0A=0A=0A __________=
_____________________________________________=0AFile Attachments:=0A=0AName=
: libtool-deplibs.patch Size: 1.1KiB=0A <https://file.savannah.=
gnu.org/file/libtool-deplibs.patch?file_id=3D58561>=0A=0A=0A=0A AGPL NOT=
ICE=0A=0AThese attachments are served by Savane. You can download the corre=
sponding=0Asource code of Savane at=0Ahttps://savannah.gnu.org/source/savan=
e-c36938be85ff6c1b727bc7dd7fd30e48f9142870.tar.gz=0A=0A ________________=
_______________________________________=0A=0AReply to this item at:=0A=0A =
<https://savannah.gnu.org/support/?111406>=0A=0A___________________________=
____________________=0AMessage sent via Savannah=0Ahttps://savannah.gnu.org=
/=0A
--8323329-846930886-1778102439=:2621855
Content-Type: APPLICATION/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCafuwpwAKCRCqLAuaBUf3
TnuLAQDPQASN+ftZrqMCX4X8ixZAZ1qNU9NyTtS6iienCQoqggEA7ivOqSrqivsU
Gs05+lFhFLu9siFvs3K3ABtsoEo5EgM=
=bDdM
-----END PGP SIGNATURE-----
--8323329-846930886-1778102439=:2621855--