ld testsuite problem
Ralf Habacker
Ralf.Habacker@freenet.de
Tue Dec 17 06:21:00 GMT 2002
> 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
More information about the Binutils
mailing list