When running make -C ld LIB_PATH=/tools/lib on the first pass of binutils under fedora 4 x86_64
patch does nothing to reslove the error here. Ive also attempted to build with gcc32 witch is gcc 3.2 instead of the 4.0 that is installed in fedora nothing stops the syntax error. here is the snytax error im getting gcc32 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o ld-new ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf_x86_64.o eelf_i386.o ei386linux.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a -ldl /tools/bin/ld:/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/../../../../lib64/libc.so: file format not recognized; treating as linker script /tools/bin/ld:/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/../../../../lib64/libc.so:5: syntax error collect2: ld returned 1 exit status make[2]: *** [ld-new] Error 1 make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/ld' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/ld' make: *** [all-recursive-am] Error 2 make: Leaving directory `/mnt/lfs/sources/binutils-build/ld' lfs:/mnt/lfs/sources/binutils-build$ im pretty sure this is a problem with redhat but im wondering if there is a work around. Primarly because there is a limited source of x86_64 operating systems. there are others but would be extensive to install. by the way the development versions of binutils dont have this issue but have other issues when trying to build glibc -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
