* testsuite problem: warning: `-no-install' is ignored for i686-pc-cygwin
@ 2002-05-02 19:51 Billinghurst, David (CRTS)
2002-05-03 13:24 ` Tom Tromey
0 siblings, 1 reply; 3+ messages in thread
From: Billinghurst, David (CRTS) @ 2002-05-02 19:51 UTC (permalink / raw)
To: java
Following up on my cygwin testsuite post, the compilation tests
fail because libtool issues warnings
libtool: link: warning: `-no-install' is ignored for i686-pc-cygwin
libtool: link: warning: assuming `-no-fast-install' instead
A nasty work around is to patch libtool, like so
$ diff -u libtool.orig libtool
--- libtool.orig Fri May 3 10:26:28 2002
+++ libtool Fri May 3 10:28:22 2002
@@ -1772,8 +1772,8 @@
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
# The PATH hackery in wrapper scripts is required on Windows
# in order for the loader to find any dlls it needs.
- $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
- $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
+ #$echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
+ #$echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
fast_install=no
;;
*) no_install=yes ;;
It would be better to fix the testsuite flags. Ideas welcome.
With this in place, you see the problem with executable filenames,
which is fixed by my libjava.exp patch sent to java-patches@
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: testsuite problem: warning: `-no-install' is ignored for i686-pc-cygwin
2002-05-02 19:51 testsuite problem: warning: `-no-install' is ignored for i686-pc-cygwin Billinghurst, David (CRTS)
@ 2002-05-03 13:24 ` Tom Tromey
2002-05-04 2:36 ` Christian Jönsson
0 siblings, 1 reply; 3+ messages in thread
From: Tom Tromey @ 2002-05-03 13:24 UTC (permalink / raw)
To: Billinghurst, David (CRTS); +Cc: java
>>>>> "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?
Tom
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: testsuite problem: warning: `-no-install' is ignored for i686-pc-cygwin
2002-05-03 13:24 ` Tom Tromey
@ 2002-05-04 2:36 ` Christian Jönsson
0 siblings, 0 replies; 3+ messages in thread
From: Christian Jönsson @ 2002-05-04 2:36 UTC (permalink / raw)
To: Tom Tromey; +Cc: Billinghurst, David (CRTS), java
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-05-04 9:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-02 19:51 testsuite problem: warning: `-no-install' is ignored for i686-pc-cygwin Billinghurst, David (CRTS)
2002-05-03 13:24 ` Tom Tromey
2002-05-04 2:36 ` Christian Jönsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).