[lfs-dev] 6.13. Binutils-2.27 tests

DJ Lucas blfs-dev at lucasit.com
Tue Feb 28 20:05:31 PST 2017



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.
>
>
> from http://www.linuxfromscratch.org/lfs/build-logs/8.0/i7-4700MQ/test-logs/080-binutils-2.27
>
> make[6]: Leaving directory '/sources/binutils-2.27/build/gold/testsuite'
> make[5]: *** [Makefile:5520: check-am] Error 2
> make[5]: Leaving directory '/sources/binutils-2.27/build/gold/testsuite'
> make[4]: *** [Makefile:5524: check] Error 2
> make[4]: Leaving directory '/sources/binutils-2.27/build/gold/testsuite'
>
> Upon further investigation, it turns out that this is due to a missing static stdc++ file.
> There is a simple fix for this. In the Creating Essential Files and Symlinks
> change
> ln -sv /tools/lib/libstdc++.so{,.6} /usr/lib
> to
> ln -fsv /tools/lib/libstdc++.{a,so{,.6}} /usr/lib
>
> After this change the gold testsuite executed correctly with only one test failure.
> The test failure was with relro_test.
> 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.

--DJ




More information about the lfs-dev mailing list