Re: [PATCH] libtool.m4: Fix -export-symbols for GNU ld on non-Linux

Mike Frysinger <[email protected]> Mon, 22 Jan 2024 20:38:46 -0500
Newsgroups gmane.comp.gnu.libtool.patches
Message-ID <Za8YpspaUG5R_kJa@vapier>
On 22 Jan 2024 15:34, Tijl Coosemans wrote:
> Apply the fix for Linux from fb5e6cda96bd9dcae9e4f62ec8b6b3e572a32743
> to the non-Linux cases.
> 
> -export-symbols was implemented using --retain-symbols-file. For
> non-exported symbols this flag tries to remove symbol information
> altogether which it can only do if a symbol isn't referenced
> anywhere. So, often this flag doesn't do anything. With a version
> script non-exported symbols can be marked local instead of removed.

this looks fine, but i kind of think we should wait to kick out the current
release and then merge it
-mike
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmWvGKYACgkQQWM7n+g3
9YEfXBAAz9EP3ehRTuYqfzYb5c7qSGE9dDBejwfO1364rc4OTusvrs4nles6AAym
AZesDrSHER+Ay4t2whuShdJreYVfi8hZdnw9RxAoI/ZMCgDchr6xyqe5OpJlpxmx
9Pt61QlOCfRvdznMHUeYxRgCHqaLYP/nsWhQgOP2W58eKZ3hjDkyRFMjgk+ROnBS
MRqIIZuhnEEZsrqJC2LCq+6sijzpJ3MCQQBRKq7+REGr9ss8V2mTBP0RWjxy212Q
saModKMaRUTkXbcxiLC2m4R6pGsB3IFE63u5UA9+BaURDKbdbakBw+KMXj8f94BE
H2m4G6BHygLTbxTHPfqzZO5J9j8gvKSq8P+Ro2InTrGOdhoEePquAM09G4Cftyxh
bvre1Ng6rpQ9ffQ4tgjxSH0Mxdg2CT5evk3NRAOln2CSK0CpTt82oC7l6j7HpTZr
l5JmnyY5Q6P0E4E+pPV/T1VpJGquCtM+dbeS37Gj/EgRaR40h3FVd0fvFyn8EK0W
QSJp0Yypi+1Stt+AtHMdef+QbgGFd6lxftsMZV1a9TjWPuKEBYotHYfSxnxfe0eP
TepKGLpjHgrL/I/n8tZt8u+kLfLcsP/EmBgBzCPSBhjDdm/rLPQpJhCLp1XRZDrP
j3VhndIaskit04wW3rWG9jCsM5CRKp19yWZ4Z6Drk7JequzwXwg=
=wnie
-----END PGP SIGNATURE-----