[sr #111210] libtool.m4: Fix postdeps in NetBSD
anonymous <[email protected]> Sun, 23 Mar 2025 09:06:18 -0400 (EDT)
| Newsgroups | gmane.comp.gnu.libtool.general |
|---|---|
| Message-ID | <[email protected]> |
--8323329-1786966084-1742735178=:1023320
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline
URL:=0A <https://savannah.gnu.org/support/?111210>=0A=0A S=
ummary: libtool.m4: Fix postdeps in NetBSD=0A Group: GNU =
Libtool=0A Submitter: None=0A Submitted: Sun 23=
Mar 2025 01:06:14 PM UTC=0A Category: None=0A =
Priority: 5 - Normal=0A Severity: 4 - Important=0A =
Status: None=0A Privacy: Public=0A As=
signed to: None=0A Originator Email:=0A Open/Closed: Ope=
n=0A Discussion Lock: Any=0A Operating System: *BSD=0A=0A=0A=
_______________________________________________________=0A=0AFollow-up =
Comments:=0A=0A=0A-------------------------------------------------------=
=0ADate: Sun 23 Mar 2025 01:06:14 PM UTC By: Anonymous=0Acommit:4f7704015 a=
ddesses an issue with building C++ modules on=0ANetBSD, by removing -lgcc_s=
and -lgcc. This may sometimes not=0Awork correctly, depending on the archi=
tecture, as gcc_s and gcc=0Amay contain required code to properly link the =
shared object.=0AOn NetBSD, libgcc.a is compiled with -fPIC and can be link=
ed to=0Aa shared object without any issue.=0A=0AInstead, I suggest to use t=
he compiler frontend to do the right thing,=0Aremoving -nostdlib and settin=
g output_verbose_link_cmd=0Ato empty.=0A=0ASee attached patch for an implem=
entation of this proposal.=0A=0A=0A=0A=0A=0A=0A=0A _____________________=
__________________________________=0AFile Attachments:=0A=0A=0A------------=
-------------------------------------------=0AName: libtool.diff Size: 2Ki=
B=0A<https://file.savannah.gnu.org/file/libtool.diff?file_id=3D57053>=0A=0A=
AGPL NOTICE=0A=0AThese attachments are served by Savane. You can downlo=
ad the corresponding=0Asource code of Savane at=0Ahttps://savannah.gnu.org/=
source/savane-7003f86b5f007cfaaf0d8a76566740991567250e.tar.gz=0A=0A ____=
___________________________________________________=0A=0AReply to this item=
at:=0A=0A <https://savannah.gnu.org/support/?111210>=0A=0A_______________=
________________________________=0AMessage sent via Savannah=0Ahttps://sava=
nnah.gnu.org/=0A
--8323329-1786966084-1742735178=:1023320
Content-Type: APPLICATION/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZ+AHSgAKCRCqLAuaBUf3
TgxGAP97EJhWzEWIQrilCWi4it9Xdcdsn1Q6ai9iJBeDMJg5cgEAti4e6YxweSMs
/HE/oVu88ZW9yHX8tjGhHVwtbyWZkA0=
=P5Ku
-----END PGP SIGNATURE-----
--8323329-1786966084-1742735178=:1023320--