On Tue, Feb 28, 2017 at 10:05:31PM -0600, DJ Lucas wrote: > > > On 02/28/2017 02:41 PM, Wayne Blaszczyk wrote: > > Hi, > > > > I noticed that during the 'make -k check' the whole gold test suite (240+ > > tests) is skipped due to an error. > > [...] > > > > After this change the gold testsuite executed correctly with only one test > > failure. > > The test failure was with relro_test.
On a point of order, I think Wayne probably meant relro_test.sh : I had seen that failure before glibc-2.25, but never managed to save the log (my script assumes binutils will probably fail somewhere) and carries on, hoping there is enough info in the main output. > > After a quick Google search it turns out that this is due to a missing dc > > (bc) command. > > I personally just stubbed out the test without looking at it further. > > > > Regards, > > Wayne. > > > > Thanks Wayne. 2.28 should be out any day now, will address at that time. > From me too, "many thanks, Wayne". I knew about libstdc++.a and some of its friends, didn't realise the book omitted that symlink. But, everybody knows I'm paranoid about packages including static libs from another package - for me, the reason the tests got skipped with glibc-2.25 seems to be that it now needs libm-2.25.a and libmvec.a : those who keep those libs around probably won't care, and since they come from glibc, maybe I should just mentally tag them as "rebuild everything if these have a vulnerability". With an additional bc built at the end of chapter 5, all 243 and 3 tests from gold (indeed all the tests from binutils-2.27) passed on this old AMD machine - previously in 8.0, only the 3 tests were shown as passing, with Error 1 after that. I assume that my logs on other machines showed an ld error, but I didn't spot it ;) And again, what a mess the gold testsuite is! It looks as if every other line in the first gold part of my log from make -k check is make leaving or entering gold (enter, compile, move, leave; repeat) - a bit over 3500 lines of output for gold. Still, at least I have at last got all the tests passed. ĸen -- `I shall take my mountains', said Lu-Tze. `The climate will be good for them.' -- Small Gods -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
