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

2024-01-23 Thread Ileana Dumitrescu
On 23/01/2024 03:38, Mike Frysinger wrote: 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 s

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

2024-01-22 Thread Mike Frysinger
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

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

2024-01-22 Thread Tijl Coosemans
On Mon, 22 Jan 2024 15:34:38 +0100 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 > alt

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

2024-01-22 Thread Tijl Coosemans
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