On Dec 13, 2000, Robert Boehne <[EMAIL PROTECTED]> wrote:

> Currently I'm investigating 4 test failures (on IRIX and other Unicies)
> in the MLB by determining what date the failures begin to occur.
> Because the testsuite takes a while to run, I could adapt the patches
> in the down time.

I think I've found the problem in tests/quote.test.  It seems to be
failing on most Unix platforms, the reason is that for the three tests,
compile, link, install, the "link" testing sets the value of $preflag to
'-Wl,'
Then later in the test, libtool is executed with -n to see what commands
it produces, the libtool output command has removed '-Wl,' here is some
output:

= link mode
= trying: no quoting
= failed: mkdir .libs
xlc_r -o hell -g -O -someflag=test foo.o 

In this case (as all the link mode tests) the variables must satisfy
result = *"$match"*
for the test to pass.  The problem appears to be that '-Wl,' is removed
from $result.

result=mkdir .libs
xlc_r -o hell -g -O -someflag=test foo.o 

match=xlc_r -o hell -g -O -Wl,-someflag=test 
                          ^^^^

So, is the '-Wl,' supposed to be removed and the test is written wrong,
or
should the '-Wl,' appear in $result ?

_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to