testsuite problem: warning: `-no-install' is ignored for i686-pc-cygwin

Christian Jönsson christian@j-son.org
Sat May 4 02:36:00 GMT 2002


On Fri, May 03, 2002 at 02:33:22PM -0600, Tom Tromey wrote:
> >>>>> "David" == Billinghurst, David (CRTS) <David.Billinghurst@riotinto.com> writes:
> 
> David> Following up on my cygwin testsuite post, the compilation tests
> David> fail because libtool issues warnings 
> David> libtool: link: warning: `-no-install' is ignored for i686-pc-cygwin
> David> libtool: link: warning: assuming `-no-fast-install' instead
> 
> David> It would be better to fix the testsuite flags.  Ideas welcome.
> 
> Here's the code:
> 
>     # Avoid libtool wrapper scripts when possible.
>     if {$mode == "link"} {
>         lappend args "additional_flags=-no-install"
>     }
> 
> What if we change this to avoid the append when the target is some
> Windows variant, including Cygwin?

I can only confirm that I have the same behavior:


Executing on host: /usr/local/src/gcc-dev/objdir/i686-pc-cygwin/libjava/testsuite/../libtool --silent --tag=GCJ --mode=link /usr/local/src/gcc-dev/objdir/gcc/gcj -B/usr/local/src/gcc-dev/objdir/gcc/ --encoding=UTF-8 -B/usr/local/src/gcc-dev/objdir/i686-pc-cygwin/./libjava/ /usr/local/src/gcc-dev/gcc/libjava/testsuite/libjava.compile/ArrayClass.java   -no-install --main=ArrayClass -g  -L/usr/local/src/gcc-dev/objdir/i686-pc-cygwin/./libjava/.libs -L/usr/local/src/gcc-dev/objdir/i686-pc-cygwin/./boehm-gc/.libs    -o /usr/local/src/gcc-dev/objdir/i686-pc-cygwin/libjava/testsuite/ArrayClass    (timeout = 300)
spawn /usr/local/src/gcc-dev/objdir/i686-pc-cygwin/libjava/testsuite/../libtool --silent --tag=GCJ --mode=link /usr/local/src/gcc-dev/objdir/gcc/gcj -B/usr/local/src/gcc-dev/objdir/gcc/ --encoding=UTF-8 -B/usr/local/src/gcc-dev/objdir/i686-pc-cygwin/./libjava/ /usr/local/src/gcc-dev/gcc/libjava/testsuite/libjava.compile/ArrayClass.java -no-install --main=ArrayClass -g -L/usr/local/src/gcc-dev/objdir/i686-pc-cygwin/./libjava/.libs -L/usr/local/src/gcc-dev/objdir/i686-pc-cygwin/./boehm-gc/.libs -o /usr/local/src/gcc-dev/objdir/i686-pc-cygwin/libjava/testsuite/ArrayClass 

libtool: link: warning: `-no-install' is ignored for i686-pc-cygwin

libtool: link: warning: assuming `-no-fast-install' instead

output is:
libtool: link: warning: `-no-install' is ignored for i686-pc-cygwin

libtool: link: warning: assuming `-no-fast-install' instead


FAIL: ArrayClass compilation from source

etc...


Is the code snippet about to be incorporated in the trunk sources?


Cheers,

/ChJ



More information about the Java mailing list