binutils pass1 ld-new not there?

Karen Karenslfs karenslfs at
Sun Feb 25 16:41:37 PST 2007

Novice apologies.

Host fc6 with later than recommended gcc & gnu c (don't know how to
put in older versions)

bash-3.1$ make -C ld clean
make: Entering directory `/mnt/lfs/sources/binutils-build/ld'
Making clean in .
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/ld'
test -z "ld-new" || rm -f ld-new
rm -rf .libs _libs
test -z "dep.sed DEP DEPA DEP1 DEP2" || rm -f dep.sed DEP DEPA DEP1 DEP2
rm -f *.o core *.core
rm -f *.o
rm -f *.lo
rm -f ld.aux ld.cp ld.cps ld.dvi ld.fn ld.fns ld.kys \
         ld.log ld.toc ld.tps ld.vr ld.vrs ld.op \
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/ld/po'
make: Leaving directory `/mnt/lfs/sources/binutils-build/ld'

"This seems to have gone OK?? I note it rm -f "ld-new" but I guess
this is intended?? - then"

bash-3.1$ make -C ld LIB_PATH=/tools/lib
"I seem to have a problem here?? lots of eg"
gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.16.1/ld -I. -D_GNU_SOURCE
-DLOCALEDIR="\"/tools/share/locale\""   -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2 -c ../../binutils-2.16.1/ld/ldemul.c
gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.16.1/ld -I. -D_GNU_SOURCE
DLOCALEDIR="\"/tools/share/locale\""   -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2 -c ../../binutils-2.16.1/ld/ldver.c
gcc -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_i386.o
ei386linux.o  ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
/tools/bin/ld: unrecognized option '--hash-style=gnu'
/tools/bin/ld: use the --help option for usage information
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'

" & of course if I try"
bash-3.1$ cp -v ld/ld-new /tools/bin
cp: cannot stat `ld/ld-new': No such file or directory

Many Thanks

More information about the lfs-support mailing list