On my Ubuntu 10.04 machine, I am failing to build the cross compiler with this command: ./bld-all.sh --force --prefix /opt/openrisc --or1ksim-dir /opt/or1ksim --no-uclibc --no-or32-linux
or1ksim built fine.
Machine Info: ptracton@ptracton-Linux:~/src/software/CrossCompilers/or32/gnu-src$ uname -a Linux ptracton-Linux 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 23:42:43 UTC 2011 x86_64 GNU/Linux ptracton@ptracton-Linux:~/src/software/CrossCompilers/or32/gnu-src$ gcc -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
Bug Info:
checking whether ffs is declared... yes
checking whether free is declared... yes
checking whether getenv is declared... gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../../../unisrc/fixincludes -I../include -I../../../unisrc/fixincludes/../include ../../../unisrc/fixincludes/fixopts.c
make1: No rule to make target ../../../unisrc/fixincludes/../gcc/BASE-VER', needed by
mkheaders'. Stop.
make1: Waiting for unfinished jobs....
yes
checking whether malloc is declared... yes
checking whether realloc is declared... make1: Leaving directory `/home/ptracton/src/software/CrossCompilers/or32/gnu-src/bd-elf/build-x86_64-unknown-linux-gnu/fixincludes'
make: all-build-fixincludes Error 2
make: Waiting for unfinished jobs....
yes
checking whether stpcpy is declared... yes
checking whether strstr is declared... yes
checking whether snprintf is declared... yes
checking whether vsnprintf is declared... yes
checking for library containing zlibVersion... -lz
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking linker --as-needed support... yes
checking for cos in -lm... yes
checking for gcc version with buggy 64-bit support... no
checking for ftello... yes
checking for ftello64... yes
checking for fseeko... yes
checking for fseeko64... yes
checking for fopen64... yes
checking size of off_t... 8
checking file_ptr type... BFD_HOST_64_BIT
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for madvise... yes
checking for mprotect... yes
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating bfd-in3.h
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing bfd_stdint.h commands
config.status: executing default commands
make: INTERNAL: Exiting with 4 jobserver tokens available; should be 3!
make (all-build all-binutils all-gas all-ld) failed.
ptracton@ptracton-Linux:~/src/software/CrossCompilers/or32/gnu-src$
Jeremy-
Thanks for the quick response. I did the update and a lot of files came down. Your fix worked. Since I started with nothing for this build, do you know why the svn checkout did not get all the needed files?
Phil