I'm trying to compile binutils-2.19.1 with gcc-4.4.0. It fails with the following error message:
checking size of off_t... configure: error: in `/home/booleandomain/tmp/lfs/sources/binutils-build/bfd': configure: error: cannot compute sizeof (off_t), 77 See `config.log' for more details. make[1]: *** [configure-bfd] Error 1 make[1]: Leaving directory `/home/booleandomain/tmp/lfs/sources/binutils-build' make: *** [all] Error 2 I configured binutils as follows: --prefix=/tools --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu Looking at bfd/config.log it seems the problem is due to the fact binutils is looking in /tools for libz.so.1 (it doesn't exist there). If I install zlib in /tools and then try again building binutils, everything works. I think this is a bug because binutils should look at /lib64/libz.so.1 instead. -- Summary: configure: error: cannot compute sizeof (off_t), 77 Product: binutils Version: 2.19 Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: booleandomain at gmail dot com CC: bug-binutils at gnu dot org GCC build triplet: x86_64-pc-linux-gnu GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=10376 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils