------- Comment #3 from rob1weld at aol dot com 2009-02-27 01:29 ------- I'm running Debian Lenny 5.0 released 14 Feb 2009, with updates.
# ld --version GNU ld (GNU Binutils for Debian) 2.18.0.20080103 # as --version GNU assembler (GNU Binutils for Debian) 2.18.0.20080103 Simply tossing in an -m64 alerts us to another issue: # /usr/src/lto_build/./gcc/xgcc -B/usr/src/lto_build/./gcc/ -B/usr/local/lto/x86_64-unknown-linux-gnu/bin/ -B/usr/local/lto/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/lto/x86_64-unknown-linux-gnu/include -isystem /usr/local/lto/x86_64-unknown-linux-gnu/sys-include -o conftest -g -O2 -m64 test_delete.c /usr/bin/ld: crtbegin.o: No such file: No such file or directory collect2: ld returned 1 exit status but (with the default installation of Debian's gcc version 4.3.2 (Debian 4.3.2-1.1) ), a workaround is to add this to the file ../lto_trunk/libgcc/configure: -m64 -L/usr/lib/gcc/i486-linux-gnu/4.3/64 That ensures we can access crt*.o and libgcc*, etc., for Linking. Once I get it built, for the first time on this Platform, I will go back and determine correct fixes and try to produce cross-Platform compatible patches. Thanks, Rob -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39317