Ticket #222 (closed defect: worksforme)

Opened 8 years ago

Last modified 7 years ago

SVN-20090706-PowerPC: final cross compiler refuse to build

Reported by: etienne Owned by: clfs-commits@…
Priority: major Milestone:
Component: BOOK Version:
Keywords: Cc:

Description

Hello,

I think I followed all the steps of the book, just excluding the creation of special devices at the beginning because I just want to work on local directories. I have the list of exact commands I did (basically extracted from the "history" command, with the log of: "source history 2>&1 | tee history_log". I attach them to this ticket. I retried multiple times on an up to date debian 5 ia32 PC, and always get to:

make[2]: Leaving directory `/home/clfs/gcc-build/libcpp'
make[2]: Entering directory `/home/clfs/gcc-build/libdecnumber'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/home/clfs/gcc-build/libdecnumber'
make[2]: Entering directory `/home/clfs/gcc-build/libiberty'
make[3]: Entering directory `/home/clfs/gcc-build/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/clfs/gcc-build/libiberty/testsuite'
/bin/sh ../../gcc-4.4.0/libiberty/../mkinstalldirs /cross-tools/lib/`gcc -g -O2 -print-multi-os-directory`
/usr/bin/install -c -m 644 ./libiberty.a /cross-tools/lib/`gcc -g -O2 -print-multi-os-directory`/./libiberty.an
( cd /cross-tools/lib/`gcc -g -O2 -print-multi-os-directory` ; chmod 644 ./libiberty.an ;ranlib ./libiberty.an )
mv -f /cross-tools/lib/`gcc -g -O2 -print-multi-os-directory`/./libiberty.an /cross-tools/lib/`gcc -g -O2 -print-multi-os-directory`/./libib
erty.a
if test -n ""; then \
          case "" in \
            /*)    thd=;; \
            *)     thd=/cross-tools/include/;; \
          esac; \
          /bin/sh ../../gcc-4.4.0/libiberty/../mkinstalldirs ${thd}; \
          for h in ../../gcc-4.4.0/libiberty/../include/ansidecl.h ../../gcc-4.4.0/libiberty/../include/demangle.h ../../gcc-4.4.0/libiberty
/../include/dyn-string.h ../../gcc-4.4.0/libiberty/../include/fibheap.h ../../gcc-4.4.0/libiberty/../include/floatformat.h ../../gcc-4.4.0/l
ibiberty/../include/hashtab.h ../../gcc-4.4.0/libiberty/../include/libiberty.h ../../gcc-4.4.0/libiberty/../include/objalloc.h ../../gcc-4.4
.0/libiberty/../include/partition.h ../../gcc-4.4.0/libiberty/../include/safe-ctype.h ../../gcc-4.4.0/libiberty/../include/sort.h ../../gcc-
4.4.0/libiberty/../include/splay-tree.h; do \
            /usr/bin/install -c -m 644 $h ${thd}; \
          done; \
        fi
make[3]: Entering directory `/home/clfs/gcc-build/libiberty/testsuite'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/home/clfs/gcc-build/libiberty/testsuite'
make[2]: Leaving directory `/home/clfs/gcc-build/libiberty'
/bin/sh: line 3: cd: powerpc-unknown-linux-gnu/libstdc++-v3: No such file or directory
make[1]: *** [install-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/home/clfs/gcc-build'
make: *** [install] Error 2

Unlike the stable book, we are trying to compile a C and C++ cross compiler there.

Thanks for any pointers, Etienne.

Attachments

history Download (6.5 KB) - added by etienne 8 years ago.
list of commands from scratch
history_log_aa.gz Download (238.4 KB) - added by etienne 8 years ago.
start of log, to verify .bashrc and first builds
history_log_ab.gz Download (215.8 KB) - added by etienne 8 years ago.
end of log with the error message

Change History

Changed 8 years ago by etienne

list of commands from scratch

Changed 8 years ago by etienne

start of log, to verify .bashrc and first builds

Changed 8 years ago by etienne

end of log with the error message

comment:1 Changed 8 years ago by jim

  • Status changed from new to closed
  • Resolution set to worksforme

The error message that is listed is that a directory is missing during the build. I have not been able to recreate this error at all. Closing as Worksforme.

Note: See TracTickets for help on using tickets.