[patch] cxxtest compilation/test fix

Andreas Tobler toa@pop.agri.ch
Sun May 9 18:46:00 GMT 2004


Hi Bryce,

as mentioned on IRC, the cxxtest fails for me on ppclinux and solaris. 
Well on solaris it did only fail halfway :)
(on solaris I had a LD_LIBRARY_PATH set to an old libstdc++)

The reason is, afaics, this statement:

..
foreach arg [split [libjava_find_lib libstdc++-v3/src stdc++] " "
..
..
# Strip the `.libs' directory; we link with libtool which
# doesn't need it.
..

Here we find the libstdc++.la, the libtool wrapper for libstdc++.so. In 
my environment this .la points to /var/tmp/lib where I would install my 
gcc build if I did :) But I did not. So it does not find any suitable 
libstdc++. It would find it, if I ever installed a gcc build into 
install path. (tested as well)

So now I have the question, do we have to install a build before testing 
it?

If not, I could make the test successful on both, linuxppc and solaris 
multilib with the appended patch.

Any thoughts/corrections?


Regards,
Andreas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libjava-testsuite.diff
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040509/221bf89f/attachment.ksh>


More information about the Java-patches mailing list