Re: [libtool 2.2] testsuite: 55 failed with as-needed

2008-03-08 Thread Alexis Ballier
Hi,

> First, how did you stumble over this failure?  Did you explicitly
> configure with LDFLAGS=-Wl,--as-needed?  

Yes, something like 'LDFLAGS="-Wl,--as-needed" ./configure'
(in fact, at first, I've done this a different way because it's
automated with the package manager, but that's more or less what it
does in the end)

> If yes, is that the only
> failure you get with that setting

Well, test 64 fails too but I thought this was due to test 55 failing:
64: Run tests with low max_cmd_len FAILED(cmdline_wrap.at:43) 

[...]
ERROR: 63 tests were run,
5 failed (3 expected failures).
1 test was skipped.


> and if no, does gentoo set that
> by default now in some way (which)?

not really; it's not even officially supported that people set this
on their own ;) [1]

Regards,

Alexis.

[1] http://www.gentoo.org/proj/en/qa/asneeded.xml


signature.asc
Description: PGP signature
___
Bug-libtool mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: [libtool 2.2] testsuite: 55 failed with as-needed

2008-03-08 Thread Ralf Wildenhues
Hi Alexis,

* Alexis Ballier wrote on Sat, Mar 08, 2008 at 02:50:09PM CET:
> 
> Perhaps it's the desired behavior, but I get a failure on test 55 when
> using -Wl,--as-needed in LDFLAGS (and its ok if I remove it).
> From my poor understanding of template.at, the test is run for the case
> when libb does not depend on liba and when linking the main program
> against both libb and liba, liba gets dropped but libb needs it, thus
> the linking failure. Anyway, I thought it was worth reporting it.

Thank you for the report.  That's interesting, for several reasons.

First, how did you stumble over this failure?  Did you explicitly
configure with LDFLAGS=-Wl,--as-needed?  If yes, is that the only
failure you get with that setting, and if no, does gentoo set that
by default now in some way (which)?

Second, this corresponds to a failure Markus Duft had with his w32
patch series.  More data points are always helpful

Cheers,
Ralf


___
Bug-libtool mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-libtool