Re: libtool static libs and -fPIC

2010-11-06 Thread Landry Breuil
On Fri, Nov 05, 2010 at 09:01:34PM -0400, Brad wrote: On Friday 05 November 2010 20:48:57 Jacob Meuser wrote: On Fri, Nov 05, 2010 at 07:18:49PM -0400, Brad wrote: On Friday 05 November 2010 18:54:39 Stuart Henderson wrote: On 2010/11/05 15:37, Brad wrote: note that the static

libtool static libs and -fPIC

2010-11-05 Thread Stuart Henderson
here's a diff of an excerpt of build logs for libiconv, between libtool from a couple of weeks ago and -current. cc -I. -I/usr/obj/ports//libiconv-1.13/libiconv-1.13/libcharset/lib -I.. -I/usr/obj/ports//libiconv-1.13/libiconv-1.13/libcharset/lib/.. -I../include -O2 -pipe -fvisibility=hidden

Re: libtool static libs and -fPIC

2010-11-05 Thread Steven Mestdagh
Stuart Henderson [2010-11-05, 10:14:42]: here's a diff of an excerpt of build logs for libiconv, between libtool from a couple of weeks ago and -current. cc -I. -I/usr/obj/ports//libiconv-1.13/libiconv-1.13/libcharset/lib -I.. -I/usr/obj/ports//libiconv-1.13/libiconv-1.13/libcharset/lib/..

Re: libtool static libs and -fPIC

2010-11-05 Thread Stuart Henderson
On 2010/11/05 22:54, Stuart Henderson wrote: On 2010/11/05 15:37, Brad wrote: On Friday 05 November 2010 06:14:42 Stuart Henderson wrote: here's a diff of an excerpt of build logs for libiconv, between libtool from a couple of weeks ago and -current. cc -I.

Re: libtool static libs and -fPIC

2010-11-05 Thread Brad
On Friday 05 November 2010 18:54:39 Stuart Henderson wrote: On 2010/11/05 15:37, Brad wrote: note that the static library archive is now created from files in the build directory rather than .libs, and that only the version in .libs was built with -fPIC -DPIC. Maybe I am

Re: libtool static libs and -fPIC

2010-11-05 Thread Steven Mestdagh
Stuart Henderson [2010-11-05, 23:05:57]: I totally agree. (With freetds, that part got lost when regenerating from configure.ac, it's fixed now). But shouldn't linking with a static library work if required, even though we don't want to do that in ports? I should add, freetds was using

Re: libtool static libs and -fPIC

2010-11-05 Thread Jacob Meuser
On Fri, Nov 05, 2010 at 07:18:49PM -0400, Brad wrote: On Friday 05 November 2010 18:54:39 Stuart Henderson wrote: On 2010/11/05 15:37, Brad wrote: note that the static library archive is now created from files in the build directory rather than .libs, and that only the version in

Re: libtool static libs and -fPIC

2010-11-05 Thread Brad
On Friday 05 November 2010 20:48:57 Jacob Meuser wrote: On Fri, Nov 05, 2010 at 07:18:49PM -0400, Brad wrote: On Friday 05 November 2010 18:54:39 Stuart Henderson wrote: On 2010/11/05 15:37, Brad wrote: note that the static library archive is now created from files in the build

Re: libtool static libs and -fPIC

2010-11-05 Thread Brad
On Friday 05 November 2010 21:01:34 Brad wrote: Well ya, I added the _pic.a matching for GNU libtool. But that is barely OpenBSD in GNU libtool... -- This message has been scanned for viruses and dangerous content by