internal ld error when building gcc-4.2 snapshot (20060729) on CentOs 4.3 with all current updates. Building a native x86 compiler on an Athlon with 384Mb RAM and 4Gb swap.
[EMAIL PROTECTED] objdir]# ../gcc-4.2-20060513/configure --prefix=/usr/local/gcc-4.2 - -enable-shared --enable-threads=posix --disable-checking --with-system-zlib -- enable-__cxa_atexit --disable-libunwind-exceptions --host=i386-redhat-linux -- enable-languages=c,c++,fortran --program-suffix=42 --disable-libgcj [EMAIL PROTECTED] objdir]# make bootstrap ...snip... /bin/sh ../libtool --tag CXX --mode=link /root/objdir/./gcc/xgcc -shared- libgcc -B/root/objdir/./gcc -nostdinc++ -L/root/objdir/i386-redhat- linux/libstdc++-v3/src -L/root/objdir/i386-redhat-linux/libstdc++- v3/src/.libs -B/usr/local/gcc-4.2/i386-redhat-linux/bin/ -B/usr/local/gcc- 4.2/i386-redhat-linux/lib/ -isystem /usr/local/gcc-4.2/i386-redhat- linux/include -isystem /usr/local/gcc-4.2/i386-redhat-linux/sys-include -Wl,- O1 -Wl,-z,relro -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast- qual -fdiagnostics-show-location=once -ffunction-sections -fdata-sections - o libstdc++.la -rpath /usr/local/gcc-4.2/lib -version-info 6:9:0 -Wl,--version- script=libstdc++-symbols.ver -lm bitmap_allocator.lo pool_allocator.lo mt_allocator.lo codecvt.lo compatibility.lo complex_io.lo ctype.lo debug.lo debug_list.lo functexcept.lo globals_io.lo ios.lo ios_failure.lo ios_init.lo ios_locale.lo limits.lo list.lo locale.lo locale_init.lo locale_facets.lo localename.lo stdexcept.lo strstream.lo tree.lo allocator-inst.lo concept- inst.lo fstream-inst.lo ext-inst.lo ios-inst.lo iostream-inst.lo istream- inst.lo istream.lo locale-inst.lo misc-inst.lo ostream-inst.lo sstream-inst.lo streambuf-inst.lo streambuf.lo string-inst.lo valarray-inst.lo wlocale-inst.lo wstring-inst.lo atomicity.lo codecvt_members.lo collate_members.lo ctype_members.lo messages_members.lo monetary_members.lo numeric_members.lo time_members.lo basic_file.lo c++locale.lo ../libmath/libmath.la ../libsupc++/libsupc++convenience.la -lm /root/objdir/./gcc/xgcc -shared-libgcc -B/root/objdir/./gcc -nostdinc++ - L/root/objdir/i386-redhat-linux/libstdc++-v3/src -L/root/objdir/i386-redhat- linux/libstdc++-v3/src/.libs -B/usr/local/gcc-4.2/i386-redhat-linux/bin/ - B/usr/local/gcc-4.2/i386-redhat-linux/lib/ -isystem /usr/local/gcc-4.2/i386- redhat-linux/include -isystem /usr/local/gcc-4.2/i386-redhat-linux/sys- include -shared - nostdlib /usr/lib/crti.o /root/objdir/./gcc/crtbeginS.o .libs/bitmap_allocator .o .libs/pool_allocator.o .libs/mt_allocator.o .libs/codecvt.o .libs/compatibil ity.o .libs/complex_io.o .libs/ctype.o .libs/debug.o .libs/debug_list.o .libs/f unctexcept.o .libs/globals_io.o .libs/ios.o .libs/ios_failure.o .libs/ios_init. o .libs/ios_locale.o .libs/limits.o .libs/list.o .libs/locale.o .libs/locale_in it.o .libs/locale_facets.o .libs/localename.o .libs/stdexcept.o .libs/strstream .o .libs/tree.o .libs/allocator-inst.o .libs/concept-inst.o .libs/fstream- inst.o .libs/ext-inst.o .libs/ios-inst.o .libs/iostream-inst.o .libs/istream- inst.o .libs/istream.o .libs/locale-inst.o .libs/misc-inst.o .libs/ostream- inst.o .libs/sstream-inst.o .libs/streambuf- inst.o .libs/streambuf.o .libs/string-inst.o .libs/valarray- inst.o .libs/wlocale-inst.o .libs/wstring- inst.o .libs/atomicity.o .libs/codecvt_members.o .libs/collate_members.o .libs/ ctype_members.o .libs/messages_members.o .libs/monetary_members.o .libs/numeric _members.o .libs/time_members.o .libs/basic_file.o .libs/c++locale.o -Wl,-- whole- archive ../libmath/.libs/libmath.a ../libsupc++/.libs/libsupc++convenience.a - Wl,--no-whole-archive -L/root/objdir/i386-redhat-linux/libstdc++-v3/src - L/root/objdir/i386-redhat-linux/libstdc++-v3/src/.libs - lm ../libmath/.libs/libmath.a -lm ../libsupc++/.libs/libsupc++convenience.a - lm -L/root/objdir/./gcc -lgcc_s -lc -lgcc_s -lm -lgcc_s -lc - lgcc_s /root/objdir /./gcc/crtendS.o /usr/lib/crtn.o -Wl,-O1 -Wl,-z -Wl,relro -Wl,--version- script=libstdc++-symbols.ver -Wl,-soname -Wl,libstdc++.so.6 - o .libs/libstdc++.so.6.0.9/usr/bin/ld: BFD 2.15.92.0.2 20040927 internal error, aborting at ../../bfd/elf32-i386.c line 2262 in elf_i386_relocate_section /usr/bin/ld: Please report this bug. collect2: ld returned 1 exit status make[4]: *** [libstdc++.la] Error 1 make[4]: Leaving directory `/root/objdir/i386-redhat-linux/libstdc++-v3/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/root/objdir/i386-redhat-linux/libstdc++-v3' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/objdir/i386-redhat-linux/libstdc++-v3' make[1]: *** [all-target-libstdc++-v3] Error 2 make[1]: Leaving directory `/root/objdir' make: *** [bootstrap] Error 2 Compiler being built was obtained as a 20060513 snapshot plus the following diff snapshots. gcc-4.2-20060513.tar.bz2 gcc-4.2-20060513-4.2-20060520.diff gcc-4.2-20060520-4.2-20060527.diff gcc-4.2-20060527-4.2-20060603.diff gcc-4.2-20060603-4.2-20060610.diff gcc-4.2-20060610-4.2-20060617.diff gcc-4.2-20060617-4.2-20060624.diff gcc-4.2-20060624-4.2-20060701.diff gcc-4.2-20060701-4.2-20060708.diff gcc-4.2-20060708-4.2-20060715.diff gcc-4.2-20060715-4.2-20060722.diff gcc-4.2-20060722-4.2-20060729.diff Build compiler was the standard CentOs 4.3 gcc compiler [EMAIL PROTECTED] ~]# gcc -v Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.5/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man -- infodir=/usr/share/info --enable-shared --enable-threads=posix --disable- checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind- exceptions --enable-java-awt=gtk --host=i386-redhat-linux Thread model: posix gcc version 3.4.5 20051201 (Red Hat 3.4.5-2) Similarly for make and ld [EMAIL PROTECTED] ~]# ld -v GNU ld version 2.15.92.0.2 20040927 [EMAIL PROTECTED] ~]# make -v GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Glibc is 2.3.4-2.19 (again the current upto date version for CentOs 4.3). Other system details [EMAIL PROTECTED] ~]# uname -a Linux barn 2.6.9-34.0.2.EL #1 Fri Jul 7 19:24:57 CDT 2006 i686 athlon i386 GNU/Linux [EMAIL PROTECTED] proc]# more /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 4 model name : AMD Athlon(tm) Processor stepping : 2 cpu MHz : 908.358 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow bogomips : 1818.52 I've been able to build older snapshots on this machine previously. -- Summary: internal ld error building gcc 4.2 (20060729) snapshot on i386 CentOs 4.3 Product: binutils Version: 2.15 Status: NEW Severity: critical Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: andrew dot m dot roberts at tesco dot net CC: bug-binutils at gnu dot org GCC build triplet: i386-redhat-linux GCC host triplet: i386-redhat-linux GCC target triplet: i386-redhat-linux http://sourceware.org/bugzilla/show_bug.cgi?id=2979 ------- 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