I think I have the specs right (I copy pasted the command the first time I did it):
http://tinypaste.com/be1ea9 The file also exists on disk: /mnt/main/usr/include$ ls /tools/include/c++/4.6.0/bits/exception_defines.h /tools/include/c++/4.6.0/bits/exception_defines.h I can't tell from the compile lines: g++ -B/sources/binutils-build/ld/tmpdir/gas/ -I/sources/binutils-2.21/ld/testsuite/ld-elf -g -O2 -c -g -O2 -fPIC -c /sources/binutils-2.21/ld/testsuite/ld-elf/new.cc -o tmpdir/new.o Executing on host: sh -c {g++ -B/sources/binutils-build/ld/tmpdir/gas/ -I/sources/binutils-2.21/ld/testsuite/ld-elf -g -O2 -c -g -O2 -fPIC -c /sources/binutils-2.21/ld/testsuite/ld-elf/new.cc -o tmpdir/new.o 2>&1} /dev/null ld.tmp (timeout = 300) spawn [open ...]^M /sources/binutils-2.21/ld/testsuite/ld-elf/new.cc:2:31: fatal error: exception_defines.h: No such file or directory compilation terminated. /sources/binutils-2.21/ld/testsuite/ld-elf/new.cc:2:31: fatal error: exception_defines.h: No such file or directory compilation terminated. Where the include path is, but it apparently isn't set up right. Ideas? Thanks, --Chris On Mon, Apr 11, 2011 at 9:41 AM, Andrew Benton <b3n...@gmail.com> wrote: > On Mon, 11 Apr 2011 08:40:47 -0500 > Chris Hamons <chris.ham...@gmail.com> 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? > > I think exception_defines.h should have been installed > into /tools/include/c++/4.6.0/bits/exception_defines.h during the > second pass of gcc. I'm guessing that that went OK or you wouldn't have > got to chapter 6, so it's probably that something went wrong on page > 6.10, `Re-adjusting the Toolchain'. Maybe the gcc -dumpspecs bit? (Copy > and paste from a browser helps to avoid typos). > > Andy > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page