Error when building binutils

Benson Muite benson.muite@ut.ee
Sun Sep 23 07:37:00 GMT 2018


On 09/22/2018 08:46 PM, H.J. Lu wrote:
> On Sat, Sep 22, 2018 at 10:05 AM, Benson Muite <benson.muite@ut.ee> wrote:
>> Hi,
>>
>> Am trying to build binutils on cent os 7. My configuration command is:
> Which version of binutils?  I have no problems with master nor 2.31 branch
> on CentOS 7.
>
Thanks for the confirmation. Both 2.31 and master fail when building own 
gmp, mpc, mpfr, isl, zlib, flex,  bison and texinfo using gcc 5.2.0:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/storage/software/gcc-5.2.0/libexec/gcc/x86_64-unknown-linux-gnu/5.2.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix=/storage/software/gcc-5.2.0
Thread model: posix
gcc version 5.2.0 (GCC)

The default compiler on the computer is gcc 4.8-5:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info 
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap 
--enable-shared --enable-threads=posix --enable-checking=release 
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions 
--enable-gnu-unique-object --enable-linker-build-id 
--with-linker-hash-style=gnu 
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto 
--enable-plugin --enable-initfini-array --disable-libgcj 
--with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install 
--with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install 
--enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 
--build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC)

With gcc 4.8.5, binutils-2.24, binutils-2.26, binutils-2.28, 
binutils-2.30, binutils-2.31 and master build. binutils-2.30, 
binutils-2.31 and master require texinfo. Probably some linking issue 
when using gcc 5.2.0



More information about the Binutils mailing list