MZ wrote: > Hello, to everyone. > > I'm trying build CLFS multilib system, processing regarding Version > 1.1.0-x86_64-Multilib. > I stopped in step 6.4 building GCC-4.2.4 > > > config.status: creating Makefile > config.status: creating testsuite/Makefile > config.status: creating config.h > config.status: config.h is unchanged > config.status: executing default commands > make[2]: Entering directory > `/mnt/zilil/sources/gcc-build/build-x86_64-cross-linux-gnu/libiberty' > rm -f ./libiberty.a pic/./libiberty.a > ar rc ./libiberty.a \ > ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o > ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o > ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o > ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o > ./lbasename.o ./lrealpath.o ./make-relative-prefix.o > ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o > ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o > ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o > ./ternary.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o > ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./mkstemps.o > ar: error while loading shared libraries: libgcc_s.so.1: cannot open > shared object file: No such file or directory > make[2]: *** [libiberty.a] Error 127 > make[2]: Leaving directory > `/mnt/zilil/sources/gcc-build/build-x86_64-cross-linux-gnu/libiberty' > make[1]: *** [all-build-libiberty] Error 2 > make[1]: Leaving directory `/mnt/zilil/sources/gcc-build' > make: *** [all] Error 2 > > > slocate libgcc_s.so.1 > /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/32/libgcc_s.so.1 > /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/libgcc_s.so.1 > /usr/lib64/openoffice/ure/lib/libgcc_s.so.1 > /lib32/libgcc_s.so.1 > /lib64/libgcc_s.so.1 > /cross-tools/x86_64-unknown-linux-gnu/lib32/libgcc_s.so.1 > /cross-tools/x86_64-unknown-linux-gnu/lib64/libgcc_s.so.1 > > echo $PATH > /tools/bin:/bin:/usr/bin:/cross-tools/bin:/cross-tools/x86_64-unknown-linux-gnu/lib64:/cross-tools/x86_64-unknown-linux-gnu/lib32:/tools/lib64 > > > Host system: > > 2.6.27-gentoo-r7 x86_64 AMD > > Can you advice me please? Yes, Fix your path. /cross-tools/bin:/bin:/usr/bin should be all you have. Having /tools/bin in your path is going to a disaster. You're problem is probably due to the fact that you're attempting to link with the binutils in /tools rather then the binutils in /cross-tools, which has the proper search paths.
_______________________________________________ Clfs-support mailing list [email protected] http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
