The latest trunk version of glibc marks mallinfo as depreciated, which
breaks the gold build. Apparently the difference between them is that
the newer function uses size_t instead of int in the returned structure,
so using mallinfo2 is definitely better if it exists.
FYI autoconf 2.69 does not
I configured binutils with
$../binutils/src/configure -C --prefix=/usr --enable-shared --enable-gold
--with-sysroot=/ --enable-lto
--enable-targets=x86_64-unknown-linux-gnu,i686-unknown-linux-gnu,i686-sun-solaris2
and the built version nm says
$./nm-new --help says
supported targets: elf64-x86
At least with my configuration gcc 4.6.0 complains about the initialisation
but non-use of hasdebug in coff_write_object_contents (defined in
bfd/coffcode.h). Since -Werror is in effect this stops the build.
The attached oatch fixes this problem by adding hasdebug=hasdebug; if the
only use of has