Binutils (2.18) chokes on install, due to a missing 'libiberty.an'. I searched all over, and tried to self-troubleshoot, but no luck.
These are the last ten lines of output from 'make tooldir=/usr install'. Everything above here is normal.
Code:
/bin/sh ../../binutils-2.18/libiberty/../mkinstalldirs /usr/lib64/`gcc -m64 -g -O2 -print-multi-os-directory`
/tools/bin/install -c -m 644 ./libiberty.a /usr/lib64/`gcc -m64 -g -O2 -print-multi-os-directory`/./libiberty.an
( cd /usr/lib64/`gcc -m64 -g -O2 -print-multi-os-directory` ; chmod 644 ./libiberty.an ;ranlib ./libiberty.an )
chmod: cannot access `./libiberty.an': No such file or directory
ranlib: './libiberty.an': No such file
make[2]: *** [install_to_libdir] Error 1
make[2]: Leaving directory `/sources/todo/binutils/binutils-build/libiberty'
make[1]: *** [install-libiberty] Error 2
make[1]: Leaving directory `/sources/todo/binutils/binutils-build'
make: *** [install] Error 2
I don't know where it's coming from, because grep can't find 'libiberty.an' mentioned anywhere in the build directory, and the file doesn't exist at any point in the build process.