Discussion:
binutils-2_30-branch build failed.
zhipeng wan
2018-05-05 09:24:37 UTC
Permalink
1. git clone git://sourceware.org/git/binutils-gdb.git
2. git checkout binutils-2_30-branch
3. cd binutils; mkdir out; cd out/
4. ../configure --prefix=/lenge/gnu/binutils-gdb/install
--target=aarch64-wzp-linux-gnu
5. make -j2

build log see file failed.log

thanks.
Alan Modra
2018-05-06 07:00:34 UTC
Permalink
../../doc/binutils.texi:56: warning: undefined flag: VERSION
../../doc/binutils.texi:58: warning: undefined flag: UPDATED
../../doc/binutils.texi:83: warning: undefined flag: VERSION
Makefile:402: recipe for target 'binutils.info' failed
You are building in the wrong directory. Run configure from the
directory containing bfd, opcodes, binutils, gas, ld and other dirs.
If you don't want to build gdb and sim, then you can configure with
--disable-gdb --disable-sim --disable-readline --disable-libdecnumber
--
Alan Modra
Australia Development Lab, IBM
lenge
2018-05-06 09:30:05 UTC
Permalink
Thank you for the clarification.
Post by Alan Modra
../../doc/binutils.texi:56: warning: undefined flag: VERSION
../../doc/binutils.texi:58: warning: undefined flag: UPDATED
../../doc/binutils.texi:83: warning: undefined flag: VERSION
Makefile:402: recipe for target 'binutils.info' failed
You are building in the wrong directory. Run configure from the
directory containing bfd, opcodes, binutils, gas, ld and other dirs.
If you don't want to build gdb and sim, then you can configure with
--disable-gdb --disable-sim --disable-readline --disable-libdecnumber
--
Alan Modra
Australia Development Lab, IBM
Loading...