Re: fun with libtool for masochistic guys

2012-07-13 Thread Marc Espie
Okay, current decision is to actually pass options we do not understand to cc, and to look harder at options. So far, this is actually finding problems in ports. Stuff that would be completely ignored, or miscompiled. Check ports-changes@ for details.

Re: fun with libtool for masochistic guys

2012-07-12 Thread Joerg Sonnenberger
On Thu, Jul 12, 2012 at 12:33:18AM +0200, Marc Espie wrote: > On Wed, Jul 11, 2012 at 11:24:37PM +0200, Joerg Sonnenberger wrote: > > On Wed, Jul 11, 2012 at 03:13:19PM +0200, Marc Espie wrote: > > > On Wed, Jul 11, 2012 at 01:08:43PM +0200, Joerg Sonnenberger wrote: > > > > On Wed, Jul 11, 2012 at

Re: fun with libtool for masochistic guys

2012-07-11 Thread Marc Espie
On Wed, Jul 11, 2012 at 11:24:37PM +0200, Joerg Sonnenberger wrote: > On Wed, Jul 11, 2012 at 03:13:19PM +0200, Marc Espie wrote: > > On Wed, Jul 11, 2012 at 01:08:43PM +0200, Joerg Sonnenberger wrote: > > > On Wed, Jul 11, 2012 at 10:57:21AM +0200, Marc Espie wrote: > > > > 1/ Turns out GNU libtoo

Re: fun with libtool for masochistic guys

2012-07-11 Thread Joerg Sonnenberger
On Wed, Jul 11, 2012 at 03:13:19PM +0200, Marc Espie wrote: > On Wed, Jul 11, 2012 at 01:08:43PM +0200, Joerg Sonnenberger wrote: > > On Wed, Jul 11, 2012 at 10:57:21AM +0200, Marc Espie wrote: > > > 1/ Turns out GNU libtool simply *removes* stuff it doesn't understand > > > while > > > linking. >

Re: fun with libtool for masochistic guys

2012-07-11 Thread Jan Stary
On Jul 11 10:57:21, Marc Espie wrote: > Lots of fun last night and this morning. > > 1/ Turns out GNU libtool simply *removes* stuff it doesn't understand while > linking. > > Case in point: libdns/ldns. It does link with > libtool link cc -o somelib --export-symbols lib.def someobj.o > > notice

Re: fun with libtool for masochistic guys

2012-07-11 Thread Marc Espie
On Wed, Jul 11, 2012 at 01:08:43PM +0200, Joerg Sonnenberger wrote: > On Wed, Jul 11, 2012 at 10:57:21AM +0200, Marc Espie wrote: > > 1/ Turns out GNU libtool simply *removes* stuff it doesn't understand while > > linking. > > I find that no more buggy than GCC passing all unknown junk to ld... >

Re: fun with libtool for masochistic guys

2012-07-11 Thread Joerg Sonnenberger
On Wed, Jul 11, 2012 at 10:57:21AM +0200, Marc Espie wrote: > 1/ Turns out GNU libtool simply *removes* stuff it doesn't understand while > linking. I find that no more buggy than GCC passing all unknown junk to ld... Joerg

fun with libtool for masochistic guys

2012-07-11 Thread Marc Espie
Lots of fun last night and this morning. 1/ Turns out GNU libtool simply *removes* stuff it doesn't understand while linking. Case in point: libdns/ldns. It does link with libtool link cc -o somelib --export-symbols lib.def someobj.o notice the --export-symbols, that's not a valid gnu libtool