libtool searches '.' by default (was: unexpected emergence of --whole-archive)

2009-03-18 Thread Ralf Wildenhues
* Matěj Týč wrote on Wed, Mar 18, 2009 at 01:41:37PM CET: > >> Maybe one question towards libtool maintainers is left: > >> Is that detection of lib/libjpeg.la a desired behavior? I just pass > >> -ljpeg as an LDFLAGG, not as a LIBADD library... > > > > Yes, it is.  It is also intentional that .la

Re: -no-undefined support for GNU/Linux

2009-03-18 Thread Ralf Wildenhues
* Mike Frysinger wrote on Wed, Mar 18, 2009 at 10:31:22PM CET: > http://lists.gnu.org/archive/html/libtool-patches/2003-06/msg00023.html Ugh. Well, yes, that's what I feared: that this thing would be a lot more complicated than apparent at first. The above has certainly seen more testing than my

Re: -no-undefined support for GNU/Linux

2009-03-18 Thread Mike Frysinger
On Wednesday 18 March 2009 17:06:28 Ralf Wildenhues wrote: > * Mike Frysinger wrote on Wed, Mar 18, 2009 at 09:27:42AM CET: > > but a patch would be needed first ... there's the previous one in the > > archives that was ported to libtool-1.5 ... > > Do you have a URL handy? Anyway, should be littl

Re: -no-undefined support for GNU/Linux

2009-03-18 Thread Ralf Wildenhues
* Mike Frysinger wrote on Wed, Mar 18, 2009 at 09:27:42AM CET: > On Wednesday 18 March 2009 03:00:07 Ralf Wildenhues wrote: > > > > IIRC lots of things would break on Linux if we used -Wl,--no-undefined. > > I don't recall the details, but I'm sure glibc wasn't the only problem > > child in this ar

Re: unexpected emergence of --whole-archive

2009-03-18 Thread Matěj Týč
>> Maybe one question towards libtool maintainers is left: >> Is that detection of lib/libjpeg.la a desired behavior? I just pass >> -ljpeg as an LDFLAGG, not as a LIBADD library... > > Yes, it is.  It is also intentional that .la files are installed > (of course for non-convenience archives only),

Re: -no-undefined support for GNU/Linux

2009-03-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Mike Frysinger on 3/18/2009 2:27 AM: >> IIRC lots of things would break on Linux if we used -Wl,--no-undefined. >> I don't recall the details, but I'm sure glibc wasn't the only problem >> child in this area. > > rather than make it the d

Re: -no-undefined support for GNU/Linux

2009-03-18 Thread Mike Frysinger
On Wednesday 18 March 2009 03:00:07 Ralf Wildenhues wrote: > * Mike Frysinger wrote on Wed, Mar 18, 2009 at 06:22:18AM CET: > > in a project for a LD_PRELOAD module, i like to use -no-undefined because > > undefined symbols will not work in it at all. i would like to see a link > > error up front

Re: -no-undefined support for GNU/Linux

2009-03-18 Thread Ralf Wildenhues
Hi Mike, * Mike Frysinger wrote on Wed, Mar 18, 2009 at 06:22:18AM CET: > in a project for a LD_PRELOAD module, i like to use -no-undefined because > undefined symbols will not work in it at all. i would like to see a link > error up front rather than random runtime failures. googling around s