This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld testsuite problem
- From: "Ralf Habacker" <Ralf dot Habacker at freenet dot de>
- To: "Binutils" <binutils at sources dot redhat dot com>
- Date: Tue, 17 Dec 2002 13:42:01 +0100
- Subject: Re: ld testsuite problem
> while working on a testcase for cygwin , I recognized that some
> testcase linking error, which says that the lib user32 couldn't be found.
>
there are still another problems in the ld-bootstrap test, but I couldn't find
the reason. Perhaps someone else could fix this.
compare (tail of) tmpdir/ld2 tmpdir/ld3
cmp tmpdir/ld2 tmpdir/ld3
tmpdir/ld2 tmpdir/ld3 differ: char 137, line 2
child process exited abnormally
FAIL: bootstrap
It seems that the relating code has some problems I can't see.
exec tail +140 tmpdir/ld2 >tmpdir/ld2tail
exec tail +140 tmpdir/ld3 >tmpdir/ld3tail
catch "exec cmp tmpdir/ld2tail tmpdir/ld3tail" exec_output
exec rm tmpdir/ld2tail tmpdir/ld3tail
} else {
send_log "cmp tmpdir/ld2 tmpdir/ld3\n"
verbose "cmp tmpdir/ld2 tmpdir/ld3"
catch "exec cmp tmpdir/ld2 tmpdir/ld3" exec_output
}
set exec_output [prune_warnings $exec_output]
The above mentioned code suggest me, that if there are difference, the cmp
should print
tmpdir/ld2tail tmpdir/ld3tail differ: char 137, line 2
instead of
tmpdir/ld2 tmpdir/ld3 differ: char 137, line 2
So at least the xxtail stuff seems not to work.
Regards
Ralf