> Date: Tue, 27 May 2014 14:28:28 -0400
> From: Nathan Bibb <[email protected]>
> To: [email protected]
> Subject: [lfs-support] Error in compiling Binutils-2.24 Pass 2 - eval -r:
>       invalid option
>
> I received the error detailed below while trying to build ("make")
> binutils-2.24 pass 2 as part of section 5.9 of LFS version 7.5.
>
> I have tried searching the mailing list archives, reviewed the errors hint,
> and did a general google search, but I am stumped on this one.
>
> Please note that I am purposefully building LFS on a very low powered
> machine (pentium-mmx 166MHz, 64MB ram, 1G+ swap), but I have met all host
> system requirements to the best of my knowledge as detailed below.
>
> Pertinent information:
> - LFS Version: 7.5
> - Host distribution: Debian 5.0.10
> - Output from version-check.sh below:
>
> bash, version 3.2.39(1)-release
> /bin/sh -> /bin/bash
> Binutils: (GNU Binutils for Debian) 2.18.0.20080103
> bison (GNU Bison) 2.3
> /usr/bin/yacc -> /usr/bin/bison.yacc
> bzip2,  Version 1.0.5, 10-Dec-2007.
> Coreutils:  6.10
> diff (GNU diffutils) 2.8.1
> find (GNU findutils) 4.4.0
> GNU Awk 4.0.1
> /usr/bin/awk -> /usr/bin/gawk
> gcc (Debian 4.3.2-1.1) 4.3.2
> g++ (Debian 4.3.2-1.1) 4.3.2
> (GNU libc) 2.7
> GNU grep 2.5.3
> gzip 1.3.12
> Linux version 2.6.32-bpo.5-486 (Debian 2.6.32-35~bpo50+1) (


Two long-shots, but maybe worth bearing in mind:
--
* Not sure offhand what the '-bpo...' stuff stands for.
* The kernel version is kindof near to the 'threshhold' 'Linux
  Kernel-2.6.32'.
--


> [email protected]) (gcc version 4.3.2 (Debian 4.3.2-1.1) ) #1 Mon Jul
> 25 20:38:32 UTC 2011
> m4 (GNU M4) 1.4.11
> GNU Make 3.81
> patch 2.5.9
> Perl version='5.10.0';
> GNU sed version 4.1.5
> tar (GNU tar) 1.20
> xz (XZ Utils) 5.0.0
> g++ compilation OK
> libgmp.la: not found
> libmpfr.la: not found
> libmpc.la: not found
>
> - Error occurred in: Section 5.9 Binutils-2.24 Pass 2, during "make"
> - Exact error below:
>
> libtool: link: i586-lfs-linux-gnu-ar rc .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
> verilog.o elf32-i386.o elf-ifunc.o elf-nacl.o elf-vxworks.o elf32.o elf.o
> elflink.o elf-attrs.o elf-strtab.o elf-eh-frame.o dwarf1.o i386linux.o
> aout32.o
> pei-i386.o peigen.o cofflink.o elf32-gen.o cpu-i386.o trad-core.o
> libtool: link: -ranlib .libs/libbfd.a
> ./libtool: line 1118: eval: -r: invalid option
> eval: usage: eval [arg ...]


A starting point might be, that the above error seems to indicate that
around about line 1118 of the relevant './libtool', there's code thus:

  .... eval ...something... -r....

; and the '...something...' has ended up being an empty string; and so
the code that's trying to be executed is:

  .... eval -r....

; and it gets thought that the '-r' is meant to be a command-line flag for
'eval', and so an error is generated.

The '-r....' might be the '-ranlib ...' that's shown in the preceding
error line.

Haven't looked at the package code, though; just the errmsg above.


akh


> make[4]: *** [libbfd.la] Error 2
> make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/mnt/lfs/sources/binutil-build/bfd'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/mnt/lfs/sources/binutil-build/bfd'
> make[1]: *** [all-bfd] Error 2
> make[1]: Leaving directory `/mnt/lfs/sources/binutil-build'
> make: *** [all] Error 2
>
> - No known deviations to the LFS book.
>
> No errors up to this point, other than out of memory errors during "make"
> of
> gcc, which were corrected (system is pentium-mmx 166MHz 64MB RAM, over 1GB
> swap
> fixed the issue).  Verified that /bin/sh links to /bin/bash, version is
> 3.2.39.
>
> Any help you can provide or pointing out any errors I may have made would
> be greatly appreciated.  Please let me know if I need to provide more
> information.
>
> Thanks,
> Nathan


--
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to