[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.

Re: [PATCH] libtool: fix ABI detection for freebsd-amd64.

2016-11-02 Thread Tijl Coosemans
On Wed, 2 Nov 2016 16:54:35 +0500 Mihail Konev wrote: > Fixes _LT_ENABLE_LOCK. > Untested. > > BugLink: https://github.com/libffi/libffi/pull/79 > --- > m4/libtool.m4 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/m4/libtool.m4 b/m4/libtool.m4 > index

[patch] Use GNU ld --version-script also on non-Linux systems

2016-02-18 Thread Tijl Coosemans
To implement -export-symbols(-regex) on non-Linux systems with GNU ld(1) libtool currently uses the linker flag --retain-symbols-file but this is more like a fine-grained strip(1) (.symtab table) and does not affect what symbols are exported (.dynsym table). On Linux libtool uses --version-script

[patch] Use --version-script also on non-Linux systems

2015-11-30 Thread Tijl Coosemans
To implement -export-symbols(-regex) on non-Linux systems with GNU ld(1) libtool currently uses the linker flag --retain-symbols-file but this is more like a fine-grained strip(1) (.symtab table) and does not affect what symbols are exported (.dynsym table). On Linux libtool uses --version-script

Re: [PATCH] make freebsd-elf version type similar to linux version type

2014-12-04 Thread Tijl Coosemans
On Thu, 27 Nov 2014 18:59:56 +0100 Tijl Coosemans t...@freebsd.org wrote: On FreeBSD we have switched from using .so.$current as library extension to .so.$major.$age.$revision where $major is $current-$age. Our package of libtool has been patched similar to the patch below which you can see

Re: [PATCH] make freebsd-elf version type similar to linux version type

2014-12-04 Thread Tijl Coosemans
On Thu, 4 Dec 2014 13:55:54 + Gary V. Vaughan g...@vaughan.pe wrote: On Dec 4, 2014, at 9:00 AM, Tijl Coosemans t...@freebsd.org wrote: On Thu, 27 Nov 2014 18:59:56 +0100 Tijl Coosemans t...@freebsd.org wrote: --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -2543,7 +2543,8 @@ freebsd

[PATCH] libtoolize.in: remove two umask 0

2014-11-27 Thread Tijl Coosemans
libtoolize --ltdl -c creates some files with write permissions for everybody because it sets umask 0 in two places. This patch removes the umask commands. --- libtoolize.in | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/libtoolize.in b/libtoolize.in index

[PATCH] make freebsd-elf version type similar to linux version type

2014-11-27 Thread Tijl Coosemans
On FreeBSD we have switched from using .so.$current as library extension to .so.$major.$age.$revision where $major is $current-$age. Our package of libtool has been patched similar to the patch below which you can see here: https://svnweb.freebsd.org/ports/head/devel/libtool/files/ The

Re: [PATCH] make freebsd-elf version type similar to linux version type

2014-11-27 Thread Tijl Coosemans
On Thu, 27 Nov 2014 18:35:00 + Gary V. Vaughan g...@gnu.org wrote: On 27 Nov 2014, at 17:59, Tijl Coosemans t...@freebsd.org wrote: On FreeBSD we have switched from using .so.$current as library extension to .so.$major.$age.$revision where $major is $current-$age. Our package of libtool

[PATCH] libtoolize.in: remove two umask 0

2014-10-11 Thread Tijl Coosemans
libtoolize --ltdl -c creates some files with write permissions for everybody because it sets umask 0 in two places. This patch removes the umask commands. --- libtoolize.in | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/libtoolize.in b/libtoolize.in index

[PATCH] make freebsd-elf version type similar to linux version type

2014-10-11 Thread Tijl Coosemans
On FreeBSD we have switched from using .so.$current as library extension to .so.$major.$age.$revision where $major is $current-$age. Our package of libtool has been patched similar to the patch below which you can see here: https://svnweb.freebsd.org/ports/head/devel/libtool/files/ The

Status of link_all_deplibs=no

2013-08-29 Thread Tijl Coosemans
Hi, Back in 2007 there was a discussion on this list about setting link_all_deplibs=no on FreeBSD (like Debian does). It was mentioned there were some subtle issues with that. I was wondering if what was said there is still valid or if things have changed.