On Mon, 11 Apr 2011, Chris Hamons wrote: > I am at this step in my LFS build (Building and installing Binutils in > chroot): > > http://www.linuxfromscratch.org/lfs/view/development/chapter06/binutils.html > > I am seeing four test failures: > > root:/sources/binutils-build/ld# for summary in $(find . -name > '*.sum'); do echo $summary; grep FAIL $summary; done > ./ld.sum > FAIL: Build libdnew1a.so with --Bsymbolic-functions --dynamic-list-cpp-new > FAIL: Build libdnew1b.so with --dynamic-list-data --dynamic-list-cpp-new > FAIL: Run with libnew1a.so > FAIL: Run with libnew1b.so > > Here is what ld.log tells me (Pastebin'ed for length) > > http://tinypaste.com/bac6e8 > > Google and searching the mailing lists have not found anything. It appears > that > > fatal error: exception_defines.h: No such file or directory > > is the interesting part. > > Any idea what is going wrong? > > Thank You, > --Chris Hamons
This is a bug in the binutils testsuite and has been fixed upstream. Apparently gcc folks decided that exception_defines.h is now a private header and should not be directly included. Heres the upstream patch that fixed this one for me. =================================================================== RCS file: /cvs/src/src/ld/testsuite/ld-elf/new.cc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/ld/testsuite/ld-elf/new.cc 2007/01/16 14:56:32 1.1 +++ src/ld/testsuite/ld-elf/new.cc 2011/02/23 22:37:48 1.2 @@ -1,5 +1,4 @@ #include <new> -#include <exception_defines.h> using std::bad_alloc; -- Steve Jones [email protected] -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
