This patch from Peter Collingbourne changes the libgo install to get
the version number from gccgo -dumpversion rather than looking at the
BASE-VER file in the gcc source directory. Bootstrapped on
x86_64-unknown-linux-gnu. Committed to mainline.
Ian
diff -r 21b8b46b67f2 libgo/Makefile.am
--- a/libgo/Makefile.am Tue Oct 28 15:56:23 2014 -0700
+++ b/libgo/Makefile.am Mon Nov 03 08:29:13 2014 -0800
@@ -15,7 +15,7 @@
SUBDIRS = ${subdirs}
-gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
+gcc_version := $(shell $(GOC) -dumpversion)
MAINT_CHARSET = latin1