gold-plugin build errors

I tried to build the gold plugin and receive the errors posted below. I checked out the gold plugin using "cvs -z 9 -d :pserver:anoncvs@sourceware.org:/cvs/src co src," as documented on llvm.org. Is that version bleeding edge and perhaps not stable?

The first errors have to do with the libtool version. I have libtool 2.2.6 on my system, which is what the README-maintainer-mode file states I need. Do I need to upgrade to libtool 2.2.7a?

Hi Ryan,

I tried to build the gold plugin and receive the errors posted below. I
checked out the gold plugin using "cvs -z 9 -d
:pserver:anoncvs@sourceware.org:/cvs/src co src," as documented on
llvm.org. Is that version bleeding edge and perhaps not stable?

probably it is.

The first errors have to do with the libtool version. I have libtool
2.2.6 on my system, which is what the README-maintainer-mode file states
I need. Do I need to upgrade to libtool 2.2.7a?

You should probably ask the gold developers these questions. As far as I
know none hang out here.

Ciao,

Duncan.

/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../../.././rda/qe -I..
-I../../.././rda/qe -I../../.././rda/qe/../include -Wimplicit
-Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses
-Wpointer-arith -g -O2 -MT qe.o -MD -MP -MF .deps/qe.Tpo -c -o qe.o
../../.././rda/qe/qe.c
mv -f .deps/qe.Tpo .deps/qe.Po
/bin/bash ../libtool --tag=CC --mode=link /usr/bin/gcc-4.2
-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses
-Wpointer-arith -g -O2 -o qe inc-gdblog.o inc-gdbloop.o
inc-gdbsched.o inc-gdbserv.o inc-gdbserv-client.o inc-gdbserv-input.o
inc-gdbserv-log.o inc-gdbserv-output.o inc-gdbserv-target.o
inc-gdbserv-utils.o inc-gdbsocket.o inc-stdio-log.o inc-forward.o
inc-backwards.o qe.o -lresolv -lnsl
libtool: Version mismatch error. This is libtool 2.2.7a, but the
libtool: definition of this LT_INIT comes from libtool 2.2.6.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.7a
libtool: and run autoconf again.
make[4]: *** [qe] Error 63
make[4]: Leaving directory

This is when trying to build gold itself, right? Looks like it is
trying to build too much for some reason. I don't have any file named
inc-gdbserv-output.o in my build dir for example.

Cheers,