On Sat, Jul 22, 2006 at 01:11:05AM +0100, Ken Moffat wrote: > > 2. I've finally got around around to looking at the binutils test > failures (again, they've always been there, 18 failures in ld > visibility). Looking at ld/testsuite/ld-elfvsb/elfvsb.exp I'm > totally confused > [...] > > Does anybody here understand 'expect', and if so can they please > supply me with pointers to debugging this script, even simple things > like how to get it to print variables, or to print that a test is > passed, would be useful to me. > Never mind, I found a patch from Jakub Jelinek at http://sourceware.org/ml/binutils/2004-08/msg00030.html which seems to fix the problem. Interesting. Dunno if he later changed his mind (his patch fixed only some of the problems he saw when going to gcc-3.4 from 3.3), or if the patch just got lost in the dust. So, it seems to be a problem with the testsuite itself. I'll commit the patch shortly, and add it to the book.
I'm really glad I didn't have to try to work out what the tests are doing in detail! Mostly, I don't look at ld.log because it gets deleted after I install binutils, but what a mess - best of luck to anybody who has to look at it in the future and try to work out if the compile and link errors matter or not. Ken -- das eine Mal als Tragödie, das andere Mal als Farce _______________________________________________ Clfs-dev mailing list [email protected] http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev
