Hello All,

I think, there's an error in the instructions how to build glibc-2.7:

The book says:

cp config.make.in{,.orig}
sed '/ldd-rewrite-script/s:@:${objdir}/&:' config.make.in.orig < config.make.in

to "cause Glibc to use an absolute path to the ldd-rewrite-script instead of a
relative path."

On my build machine, this leads to the following error:

LC_ALL=C sed -e '[EMAIL PROTECTED]@%/tools/lib/ld.so.1%g' -e '[EMAIL 
PROTECTED]@%2.7%g' -e '[EMAIL PROTECTED]
[EMAIL PROTECTED]/bin/bash%g' -e '[EMAIL PROTECTED]@%/tools/share/locale%g' < 
ldd.bash.in | LC
_ALL=C sed -f ../glibc-2.7/ports/sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite
.sed > /mips64/glibc-2.7_build/elf/ldd.new
sed: couldn't open file ../glibc-2.7/ports/sysdeps/unix/sysv/linux/mips/mips64/l
dd-rewrite.sed: No such file or directory
make[2]: *** [/mips64/glibc-2.7_build/elf/ldd] Error 4
make[2]: Leaving directory `/mips64/glibc-2.7/elf'
make[1]: *** [elf/others] Error 2
make[1]: Leaving directory `/mips64/glibc-2.7'
make: *** [all] Error 2
[EMAIL PROTECTED]:/mips64/glibc-2.7_build>

Changing the sed command to:

sed '/ldd-rewrite-script/s:@:${objdir}/&:' config.make.in.orig > config.make.in

fixed the problem (config.make.in is NOT changed by the original command).

Please could someone check my observation?

Greetings,  Karin





_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org

Reply via email to