Binghoo Dang wrote: > hello, > I build the clfs-sysroot ARM on gentoo x86_64 host and get failed. > this is the message: > > libtool: link: (cd ".libs" && rm -f "libbfd.so" && ln -s "libbfd-2.19.1.so" > "libbfd.so") > libtool: link: ar cru .libs/libbfd.a archive.o archures.o bfd.o bfdio.o > bfdwin.o cache.o coffgen.o corefile.o format.o init.o libbfd.o opncls.o > reloc.o section.o syms.o targets.o hash.o linker.o srec.o binary.o > tekhex.o ihex.o stabs.o stab-syms.o merge.o dwarf2.o simple.o > compress.o elf32-arm.o elf32.o elf-vxworks.o elf.o elflink.o elf-attrs.o > elf-strtab.o elf-eh-frame.o dwarf1.o elf32-gen.o cpu-arm.o archive64.o > ar: can't set BFD default target to `x86_64-pc-linux-gnu': Invalid bfd > target > make[4]: *** [libbfd.la] error 1 > make[4]: Leaving directory `/media/develope/build/work/binutils- > work/binutils-build/bfd' > make[3]: *** [all-recursive] error 1 > make[3]: Leaving directory `/media/develope/build/work/binutils- > work/binutils-build/bfd' > make[2]: *** [all] error 2 > make[2]: Leaving directory `/media/develope/build/work/binutils- > work/binutils-build/bfd' > make[1]: *** [all-bfd] error 2 > make[1]: Leaving directory `/media/develope/build/work/binutils- > work/binutils-build' > make: *** [all] error 2 > > my configuration is : > /media/develope/build/work/binutils-work/binutils-2.19.1/configure -- > prefix=/media/develope/b uild/cross_tool --target=arm-9tdmi-linux- > uclibceabi --with-sysroot=/media/develope/build/target_root -- > enable-shared --disable-multilib --disable-nls > > host: > gcc: target x86_64-pc-linux-gnu version 4.3.3 (Gentoo 4.3.3-r2 p1.1, > pie-10.1.5) > > I'm sure I patched the source with binutils-2.19.1- > branch_update-5.patch > ,but it did not work. > > > So, anybody can help me please? > What is your CLFS_TARGET set to. also what part of the build are you on. is this binutils for cross-tools or binutils for the final system. I can guess based on the configure command, but I don't like to guess.
_______________________________________________ Clfs-dev mailing list [email protected] http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
